Domain Mapping simply does not work

I have installed & network activated the Domain Mapping plugin on which is a multi-site.

I have created the following sub-sites:

I have changed the DNS A RECORDS to the IP for for the following 2 domains:

I have done the necessary mapping within &

I need to have the sites resolve as follows: to
and to

I simply cannot get this to work since just gives me a blank page & still goes to it's original location.

I have spent many man hours on this - Pls, pls I need some asistance on this urgently!

  • Barry
    • DEV MAN’s Mascot

    Have you set up your webserver to send requests for those two domains to your wp install?

    My computer can't resolve, so that domain doesn't seem to be set up correctly and resolves to a different IP address than sa that one isn't set up as you've described either.

  • Fanus van Straten
    • Site Builder, Child of Zeus

    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. is hosted with Hetzner South Africa 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

  • Barry
    • DEV MAN’s Mascot

    So - the host of can't be found - so no ip returned. 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.

  • Fanus van Straten
    • Site Builder, Child of Zeus

    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?

  • Barry
    • DEV MAN’s Mascot

    Apologies, but this is just getting more confusing, I thought this plugin would work out of the box.

    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.

  • Fanus van Straten
    • Site Builder, Child of Zeus

    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.

  • Fanus van Straten
    • Site Builder, Child of Zeus

    Ok the NS's for 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 I will deal once is sorted.

    An NGINX issue?

  • Fanus van Straten
    • Site Builder, Child of Zeus

    Ok, thus far I have found a solution for

    I created as a parked domain on my server, therefore an alias to

    Now it resolves bautifully to the correct sub-site.

    Now to tacle

    Will keep you posted about that as well.

  • aecnu
    • WP Unicorn

    Greetings Neil Basson,

    It appears that you have resolved this issue on your own as you indicated in the following post:

    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 :slight_smile:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.