Fanus van Straten
El Presidente
Friendly Neighbour
Member Likes (0)
I have installed & network activated the Domain Mapping plugin on pinsoftstudios.co.za which is a multi-site.
I have created the following sub-sites:
http://pinsoftstudios.co.za/dous/
http://pinsoftstudios.co.za/aboutsales/
I have changed the DNS A RECORDS to the IP for pinsoftstudios.co.za for the following 2 domains:
http://howdo.us
http://allaboutsales.co.za
I have done the necessary mapping within http://pinsoftstudios.co.za/dous/ & http://pinsoftstudios.co.za/aboutsales/
I need to have the sites resolve as follows:
http://howdo.us to http://pinsoftstudios.co.za/dous/
and
http://allaboutsales.co.za to http://pinsoftstudios.co.za/aboutsales/
I simply cannot get this to work since howdo.us just gives me a blank page & allaboutsales.co.za still goes to it's original location.
I have spent many man hours on this - Pls, pls I need some asistance on this urgently!

Responses (16)
Developer (joined June 2008) Likes (0)
Have you set up your webserver to send requests for those two domains to your wp install?
My computer can't resolve howdo.us, so that domain doesn't seem to be set up correctly and allaboutsales.co.za resolves to a different IP address than pinsoftstudios.co.za sa that one isn't set up as you've described either.
Member (joined September 2011) Likes (0)
Hi Barry,
Thanks for the response.
I would also like to mention that I use NGINX & not Apache.
Attached I include 2 screen shots with the DNS settings which I have named logically.
http://allaboutsales.co.za is hosted with Hetzner South Africa
http://howdo.us is hosted with Yahoo! Small Business.
Please, I really need to get this sorted out. This has really costed me many hours thus far to no avail.
Your assistance will be much appreciated.
Kind regards
Developer (joined June 2008) Likes (0)
If you ping either of the domains - what do you get?
I get the following:
Developer (joined June 2008) Likes (0)
So - the host of howdo.us can't be found - so no ip returned.
allaboutsales.co.za isn't returning the IP in your screenshot.
When did you change the IPs? It can take up to 24 hours to get around to other servers sometimes (though rarely) - what is the ttl for your A records?
I do note that you are changing the records in the admin areas of the different hosts, but your domains have custom DNS servers listed at the bottom of the listings - are you changing the records on your DNS servers? Because that is where you should be changing things.
Member (joined September 2011) Likes (0)
I have pinged all 3:
Developer (joined June 2008) Likes (0)
Must be a time thing then - because those are the results I'm getting as of a few minutes ago.
Member (joined September 2011) Likes (0)
Sorry re-sized the screen shot:
Developer (joined June 2008) Likes (0)
Ok, note allaboutsales.co.za is going to a different IP address than that in your other screenshot - which will be why domain mapping isn't working on that one.
Member (joined September 2011) Likes (0)
I wasn't sure what to do about the nameservers so when things didn't want to work I changed the Yahoo & Hetzner nameservers to mine still to no avail. Should I rather change them back to the defaults for Yahoo & Hetzner because the SOA is ultimately with them?
Or should I physically create zone files on my server for these 2 domains.
Apologies, but this is just getting more confusing, I thought this plugin would work out of the box.
NB: Have you taken note that I am using NGINX?
Developer (joined June 2008) Likes (0)
It does, but it obviously can't edit your domain files and webserver configuration (if it could, I'd suggest you have a major security problem with your set up), so relies on you setting up your domains to resolve correctly.
I'd switch to the dns servers for yahoo and hetzner - then you have the web interface to set your records. If you want your own dns servers, then you are going to have to forgo the web interface and, as you say, physically edit the zone files on your server so that they resolve correctly.
I, personally, never have my dns servers on my web server (in fact I use an external third-party dns provider). If your server goes down, you want to be able to point your domain at something else / another server really quickly, which you can't if it is also on the server that goes down.
Member (joined September 2011) Likes (0)
Ok, I am going to change the NS's back to those of Hetzner & Yahoo as they were before when it also didn't work.
If that still doesn't work I will create zone files on another server an see how that pans out.
Will keep you posted.
Thx for the help thus far.
Member (joined September 2011) Likes (0)
Ok the NS's for howdo.us has propagated and when I ping it, it refers to my IP address but however if I follow the link in my browser I het a 403 Forbidden error.
So no progress. With allaboutsales.co.za I will deal once howdo.us is sorted.
An NGINX issue?
Member (joined September 2011) Likes (0)
Ok, thus far I have found a solution for howdo.us.
I created howdo.us as a parked domain on my server, therefore an alias to pinsoftstudios.co.za
Now it resolves bautifully to the correct sub-site.
Now to tacle allaboutsales.co.za
Will keep you posted about that as well.
Support Kangaroo (joined March 2011) Likes (0)
Greetings Neil Basson,
It appears that you have resolved this issue on your own as you indicated in the following post:
http://premium.wpmudev.org/forums/topic/domain-mapping-isnt-working-correctly#post-245701
In the above post here on this very thread you also mentioned how you resolved the issue which was great and we thank you for it.
If it wasn't resolved, or you have any more questions related to this thread, please feel free to post them below including any new symptoms or errors and tick the 'Mark as Not Resolved (re-open)' box below the post area (or else we'll miss it!)
Thank you for being a WPMU Dev member!
Cheers, Joe :-)
Member (joined September 2011) Likes (0)
Good Day aecnu,
Thank you for the follow up.
The issue is completely resolved on my side, also for allaboutsales.co.za.
The Domain Mapping plugin is an awesome plugin once it's setup correctly. Well done on this one WPMU.
Regards.
Member (joined September 2011) Likes (0)
@aecnu,
Thank you for the rep points, just noticed the email. Much appreciated. Still a long way to go but we will get there;-) After all that's what collaboration is about.
Regards.
Become a member