WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress MU Domain Mapping plugin - can't map domains (5 posts)

  1. Charybdis
    Member
    Posted 4 years ago #

    Hi,

    I have a fresh WordPress 3.0 install on my example.com domain, in Hostgator, with cpanel & Apache.

    I created a network, when I create new sites, they work fine. For example, when I create these new sites:

    something1.example.com
    something2.example.com
    something3.example.com

    etc. they all work, I see a new wordpress blog on these subdomains, I can also login to their backend.

    Now I installed the WordPress MU Domain Mapping plugin. I see the super admin - Domain mapping optin, that's okay.

    Now I want to map mydomain.com to something1.example.com. Mydomain.com has the correct nameservers, because it works as addon domain. And the example.com and the mydomain.com are on the same IP.

    I setup mydomain.com as a parked domain. It is not added as addon domain, just as a parked domain.

    Now I go to the backend of something1.example.com, then add the mydomain.com as primary domain. But after that if I go to mydomain.com, I only see the default cpanel page! something1.example.com redirects to mydomain.com.

    Why am I seeing the default cpanel page? The documentation of WordPress MU Domain Mapping plugin says this:

    From Cpanel, click on the "Parked Domains" under the "Domains" section:

    * Under "Create a New Parked Domain" enter the domain name you want to add to your network.
    * Click the "Add Domain" button.
    * It should add the domain to the list of parked domains and under "Redirect to" it will say "not redirected". That is OKAY.

    Yeah, I completed these steps, mydomain.com appears in the list of parked domains, the domain root is /public_html, and it is not redirected.

    I should add that the main domain of my cpanel account is not the example.com and not the mydomain.com domain.

    My Domain Mapping Configuration:

    I filled the Server IP Address.
    And I checked these options (the middle two):
    Permanent redirect (better for your blogger's pagerank)
    User domain mapping page

  2. I should add that the main domain of my cpanel account is not the example.com and not the mydomain.com domain.

    That's the problem as well as...

    Yeah, I completed these steps, mydomain.com appears in the list of parked domains, the domain root is /public_html, and it is not redirected.

    You've got two choices: make you network install the root domain on this web account.

    or

    instead of parking the domain on top of the install, you'll have to use the add-on domain area *EXCEPT* tell it to use the document root of your network install.

  3. Charybdis
    Member
    Posted 4 years ago #

    Thank you (again)! That is the solution:

    instead of parking the domain on top of the install, you'll have to use the add-on domain area and tell it to use the document root of your network install.

    I read the documentation of MU Domain Mapping plugin, and also numerous blog posts about this plugin, but NONE of them mentioned that I must install wordpress under my main cpanel domain, they just said to park the domain I want to add to my network.

    A (much) better documentation for MU Domain Mapping plugin is badly needed. If newbies follow the current documentation with cpanel, they will fail.

  4. hiramp
    Member
    Posted 3 years ago #

    Whew! I agree totally with Charybdis. I've been up nights trying to figure out why my domains are not mapping. The key is to set up an Add-on Domain that maps to the directory where the WP network is. I sure wish I had known that last week!

    I just hope I remember it the next time I add a new site to my network!

    Hiram

  5. Add-on domains or parked domains - it depends on where your install is and your control panel and how you have everything set up.

    If your install was right in public_html, then you;d Park.

    If not, add-on.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.