Custom Domain Mapping - Unable to figure it out

I am having some issues in getting my custom mapped domain to appear. I'm hosting my multisite on WPEngine, have the custom domain registered through Google Domains, and the name servers pointed to CloudFlare. So here are my below settings for the setup.

CloudFlare nameservers: http://screencast.com/t/K6k16nXqf6IH
Domain mapping: http://screencast.com/t/9Qb5VY5MK
DNS in CloudFlare: http://screencast.com/t/izJ6CWPjp - mind you, this CNAME is setup under my main domain

So in essence, I'm trying to map 'samerbawab.armourmarketing.com' to 'samerbawab.com'

I'm lost and need some direction please. I have another custom domain to setup tomorrow, so I'm hoping to resolve this ASAP.

If you need additional information, I'll be happy to provide.

  • Kasia Swiderska

    Hello Matt,

    Let me give you summarized idea about how Domain Mapping works. First you need to have a dedicated IP for your server and it should point to your main site if anyone enters the IP in browser. For example, your dedicated IP is "1.1.1.1" and your main site is "master.com". So your server has to be set up in such a way that when anyone enter "1.1.1.1" in the browser, it will open "master.com".

    Now suppose, you have a subdomain "second.master.com" and you purchased a domain (lets say second.com). So you should create an A record in "second.com" DNS Settings pointing to your dedicated IP, so when someone goes to "second.com", they are pointed to "1.1.1.1" and it will eventually open "master.com".

    Now if you map your domain, it will work. Because when you will go to "second.com", it will take you to "master.com", and as the domain is mapped, "master.com" already knows which subsite to server as the request came from "second.com".

    Procedure is almost same if you are using Cloudflare. In that case, you add Cloudflare nameservers in your Domain Control Panel DNS, and then set the A record in "Cloudflare DNS Settings".

    Do I need to set the A record to point to IP?

    Main question is does your server have dedicated IP - if you insert IP address in browser, will it open your main site?

    If you have dedicated IP, then yes, you have to add A record.

    kind regards,
    Kasia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.