• Hi folks,
    I have a multisite setup where my personal blog sits in a subfolder.

    Such that http://www.mysite.com/personalBlog/ is my setup.

    Is it possible to map a domain to a sub directory? I’m struggling to follow all the different posts on the subject as they all seem to relate to subdomains and not subdirectories.

    Any help would be much appreciated!

    Thanks,
    Richard

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/

    Yes, just the same way you do it for a subdomain

    Thread Starter richard.fortune

    (@richardfortune)

    Thanks for the walkthrough, nice and straightforward.

    I see this article was written in 2010 so the setup might be a little different now (menus in other locations etc). Not too worried about this. However should the lack of a Site ID column on my setup be cause for concern? When I mouseover my site I can see that they have id’s attached to them, so I simply used that ID to map a domain.

    I am currently seeing the following error when I hit the mapped URL :
    “There is no website configured at this address.

    You are seeing this page because there is nothing configured for the site you have requested.”

    As the error suggests my site(or site mapping) isn’t configured correctly. Is this error typical to a mapping issue or is there something more specific that I should be looking at given the context of what I’m trying to achieve?

    Cheers,
    – Richard

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Not different enough to matter, generally speaking.

    The site ID column is missing, but yes, you picked the ID the right way 🙂

    Is your mapped domain set up right on the DNS side of things?

    Thread Starter richard.fortune

    (@richardfortune)

    Um at the risk of sounding like an idiot – the DNS side of things will sit with my domain name provider? e.g. 123-Reg?

    If so here’s what I have setupDNS setup?

    Given that it is redirecting to the host (bluehost) I suspect things are ok on that side. But yeah, this all feels like a dark art, so I’ll have to ask for advice again.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    DNS is a dark art 😉 Yes, your domain name has to be pointed to the right place for all this to work.

    See if yourdomain.com/subfolder works from WordPress’ side, then you set it up right. Yay!

    But this:

    “There is no website configured at this address.

    You are seeing this page because there is nothing configured for the site you have requested.”

    implies that the domain name is pointing to the wrong place. It’s under section 4 of Otto’s tutorial.

    There’s a bit of a prerequisite here before you do this. When you buy a new domain, you will need to edit its DNS settings to actually point to your server IP or CNAME or whatever you do to make the domain connect to your server. For me, I just give it a new A record with my server IP in it. Easy.

    Update: Okay, so there may be more to it than just that, depending on your host. Every host is different, and you’ll have to talk to your host to make them able to point the domain name at your existing site. How to do this varies from host to host, but the important thing is that when you visit your new domain (before you do this!) then you want it to go to your main site, as is.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mapping a domain to a subdirectory’ is closed to new replies.