Post showing up on naked domain URL but not microblog sub domain?

Hi, I just recently moved all my content to micro.blog from Wordpress via the Import function and I’ve switched the custom DNS to stevegio.net. I’ve also put a CNAME in for microblog.stevegio.net to point to stevegio.net. Yesterday I posted something via the mobile app. That post is visible if I visit stevegio.net but not visible if I visit microblog.stevegio.net. It also doesn’t seem to show up on the timeline.
Not sure if this is the same problem expressed here: Custom subdomain shows outdated version compared to custom root domain
But the fix had to be done by Manton? Doesn’t look like something I can address on my own.

I may have fixed the timeline issue by setting my feed to http://stevegio.net/feed.json. Now my new post does show up in the timeline. But there still seem to be two versions of my site.

Yes, this is something @manton needs to fix. He’ll probably see this thread, but feel free to email help@micro.blog as well.

Update: Maybe I was a little too quick with my reply and didn’t read your post carefully. :blush: What exactly are you trying to do? Do you want your blog to be accessible from two different custom domains (microblog.stevegio.net and stevegio.net)?

That’s not something Micro.blog supports. You should either:

  • Choose one domain over the other
  • Redirect one domain to the other
  • Use each domain for a separate blog or website

I followed the directions from the DNS help article.
I set up an A record for stevegio.net and then a CNAME for microblog.stevegio.net to gio.micro.blog. I think that should just be the same location, no?
If you browse to either stevegio.net or gio.micro.blog you’ll see the same content. But microblog.stevegio.net has no new posts.

@manton will have to correct me if I’m wrong, but I think Micro.blog is designed so that your blog lives on either a single domain (like stevegio.net) or a subdomain (like microblog.stevegio.net)—but not both. You choose one or the other.

There’s a special case with the www subdomain. If you choose to host your blog at stevegio.net, Micro.blog can automatically redirect users who type www.stevegio.net to stevegio.net (or the other way around, if you prefer).

It’s possible that @manton has a way to set up redirects for subdomains other than www, but as far as I know, we can’t do that ourselves inside Micro.blog (but your domain registrar might let you).

Stepping back a bit: where do you want your blog to live (what should its canonical address be)? And which other domains or subdomains should redirect to that address?

What I’d like is for my canonical blog to be at stevegio.net and for microblog.stevegio.net to basically point to the same blog.

Okay, thanks.

Is that something you can wire up, @manton? Redirecting microblog.stevegio.net to stevegio.net.

Just for clarity I have a CNAME entry in DNS on my side set for microblog.stevegio.net to point to gio.micro.blog. Which if I browse to gio.micro.blog it shows my updated content. If I understand what you’re saying there may be something else done on the server side to support that?

Yeah, if you want microblog.stevegio.net to redirect to your canonical domain stevegio.net, a CNAME entry is not enough. So either Manton will have to wire something up on the Micro.blog end of things. Or, if they support it, you could set up the redirect yourself at the registrar/DNS provider.

Sorry this is confusing! As @sod said, Micro.blog can automatically support a root domain and the www to be the same thing, but it can’t do that for a subdomain like microblog. If you use a subdomain, Micro.blog won’t know to also serve the root domain name.

If you’re using Micro.blog Premium, you can create multiple blogs so you could have stevegio.net and microblog.stevegio.net be separate blogs and then we could set one to redirect to the other.

I think we probably need some kind of domain name “alias” feature to just handle these kind of redirects without much extra config.

It looks like your registrar is Hover, is that right, @gio? If so, here’s how to set up redirects (they call it forwarding).

It’s ok if it’s not supported. For now I’ll remove the CNAME on my side and just drive everything via stevegio.net. Thanks @sod and @manton for taking the time to help me with this!

1 Like

Sounds good, thanks! Another advantage of using simply stevegio.net is that if you want to use the fediverse integration in Micro.blog, your handle can be short like yourname@stevegio.net.

And yes, setting up redirects at your DNS provider is another great way to go as @sod said. Not sure why I didn’t think of that.