• Resolved marketermatt

    (@marketermatt)


    I’ve been researching this for awhile now, but I can’t find an answer. I’m using the domain mapping plugin, and I’m trying to figure out how to do domain mapping when my MU install is itself an addon domain. For example:

    My MU install is located at public_html/mysite.com
    I’ve added an addon domain which is located at public_html/mysecondsite.com

    Should I redirect mysecondsite.com to mysite.com? Or should I the addon domain document root to be the same as the MU installation?

    Can someone please point me in the right direction?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there MM,

    Let’s just clarifying some things. So you have mysite.com as the the first domain that you set up on your cpanel. And then you added a second site as an addon domain. The secondsite.com domain is the one that is MultiSite, no longer referred to as MU by the way even if the plugin author hasn’t updated his instructions.

    Both domains have separate databases and different wp-config files, so I don’t think these days it matters which site is the Multisite, either one should work. The point here is that you need to point it to your Multisite network because in that wp-config the root blog and the database with the extra tables will be specified. And also in that wp-content directory, you’ll place your sunrise.php file.

    Does that make enough sense to make it happen?

    Thread Starter marketermatt

    (@marketermatt)

    Thanks for the help so far and the note on the terminology. The configuration is similar to what you’ve described. To be more accurate the setup is like this:

    First domain installed: whatever.com
    Multisite install: mysite.com
    Site I’m trying to map to a Multisite network site: mysecondsite.com

    So the multisite install is located at public_html/mysite.com and I’m trying to map mysecondsite.com to a network site. I’ve added mysecondsite as an addon domain, but I”m not sure what you mean by saying that I need to “point it to your multisite network” – that’s precisely what I’m trying to figure out how to do.

    Do I point it via a redirect? Or do I change the document root to be the same for mysecondsite as it is for mysite, that is, public_html/mysite.com?

    I’ve already set up the multisite along with several network sites located at mysite.com/site1, mysite.com/site2, mysite.com/sitee3, etc. So again, what I’m trying to do is map mysecondsite.com to mysite.com/site2.

    Can you help me with this?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Site I’m trying to map to a Multisite network site: mysecondsite.com

    If you use an add-on domain, yes, change the document root to be the same for mysecondsite as it is for mysite: public_html/mysite.com

    Hi there. Sorry that I missed understood. Looks like the A-team got back to you before I did. If your sites are on the same cPanel, you could just park it on mysite.com, but some hosts don’t have this option. Mika would know more about this than me.

    Thread Starter marketermatt

    (@marketermatt)

    Great that worked thanks for the help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Using MU in Non Root – public_html’ is closed to new replies.