Problem using Domain Mapping -- still see the underlying URL

I'm using the Domain Mapping and I must be missing something. When you go to http://www.pmasource.co (NOTE: this is NOT a .com), it brings you to the website, but displays the URL as http://37.60.255.15/~pmaisamp/. This was my original website ion WPMU, and I added Domain Manager AFTER I created the site (probably not the best sequence).

I want the URL to be pmasource.co, and then expand appropriately to http://www.pmasource.co/chronic-health-conditions/, etc. I'm sure I'm missing something here in the setup of Domain Mapping.

My second site, which should be pmaisample.com, doesn't connect to the website at all. See the attached image.

Thanks in advance for your help with this. Once I have the process for mapping domains documented, I'll be able to move forward on this.

  • Kasia Swiderska

    Hello Larry,

    Would you mind allowing support access so we can have a closer look at your settings?
    To enable support access you can follow this guide here:
    http://premium.wpmudev.org/manuals/wpmu-dev-dashboard-enabling-staff-login/

    My second site, which should be pmaisample.com, doesn't connect to the website at all. See the attached image.

    Your second domain returns error ERR_NAME_NOT_RESOLVED - so this looks like problem with DNS. How did you configure this domain for Domain Mapping and when did you do that? Sometimes it takes up to 72h for DNS propagation.

    kind regards,
    Kasia

  • Larry Levenson

    PMASOURCE.CO has these name servers, ns1.us11.siteground.us, ns2.us11.siteground.us. This is my primary domain for WPMU. I developed this site before adding Domain Mapping.

    pmaisample.com is my second site, and does not resolve to the right place. Instead of name servers, I used DNS Records to set the IP address. per the directions in your domain mapping article. I have attached a screenshot of this setup at my registrar.

    Thanks for your help with this![

  • Rupok

    Hi Larry Levenson

    Hope you had a wonderful day.

    It seems like your new domain is not mapped, rather it's just redirecting. I could tell you better about the issue if I could see it live, check your current configuration and make some tests on your site.

    Regarding pmaisample.com, I think the DNS is not configured properly. I'll suggest you to create A record in Domain Control Panel (if you have not done already) instead of DNS in your hosting. Or you can also send your DCP access credentials so we can do this for you. Please note, as long as you will have you custom nameservers in your DCP, you won't be able to host your DNS in DCP. So remove nameservers first, then create an "A" record pointing to your server IP address. When done, login to your cPanel, add that domain as parked domain and select the directory of your website as the location for new domain. Same procedure should be done for both domain.

    You will see in the /domain-mapping/ folder there is a file called sunrise.php. We need to move that (move, not copy) to the /wp-content/ folder.

    Or, can you send me message with cPanel access credentials through our secure contact form here: https://premium.wpmudev.org/contact/ so I can check the full configuration, and try to fix it myself?

    Subject: "Attn: Rupok"
    - cPanel Username
    - cPanel Password
    - cPanel Login URL
    - Link back to this thread for reference
    - Any other relevant URLs

    Select "I have a different question" for your topic. This and the subject line ensure that it gets assigned to me.

    Have a nice day. Cheers!
    Rupok

  • Larry Levenson

    Rupok, I sort of have this working now. . .

    The second and third domains shouldn't have the /~pmaisamp in the URL, and the primary domain should be pmasource.co, which no longer is using name servers at the diomain registrar, but rather is using an A Record

    I suspect if I can change the base URL for my primary site to simply http://www.pmasource.co, that these other issues will go away. As you can see in the screenshot below, it's the Original Address that's giving me problems.

    Thanks,
    Larry

  • Rupok

    Hi Larry, hope you had a wonderful day.

    I suspect if I can change the base URL for my primary site to simply http://www.pmasource.co, that these other issues will go away

    Well, changing the base URL of a multisite is a complex task, but it's not impossible. This article describes how you can chnage your Multisite Main Site URL: https://wpengine.com/support/how-to-change-a-multi-site-primary-domain/

    Please let us know if you face any problem in doing this. We will be glad to help.

    Have a nice day. Cheers!
    Rupok

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.