How to Map your Domain to WordPress

So you have a Domain Name you purchased with a hosting service, and you have a WordPress blog, and you want to join the two. You want your blog address to be (let’s say) myblog.co.uk rather than myblog.wordpress.com?

WordPress do have a page setting out the way to do it but it’s not entirely clear in some parts and I got into a terrible muddle the first time I did it. Much Googling, errors and hair pulling later, I finally sorted it – and learned some crucial things along the way!

The main grey area is that some hosting services will accept simply a Nameserver to map the two and others will want an entry in the DNS (Domain Name System) Records and IP address. WordPress give very clear information on how to update your Nameservers but, really, nothing on how to map your site if you need IP addresses, which is unfortunate as that is the (slightly) more involved of the two scenarios!

So, I’m going to take you, step by step, through the process of mapping your domain to WordPress (and throw in a handy infographic with the main points that you can refer to if necessary, just click below to download). Grab a drink, this promises to be a long one.

I’m going to assume, for the purposes of this post, that you already have a domain name with one host and a blog set up with WordPress and you are ready to go ahead and map the two. There are 2 places you need to complete actions – the first is WordPress itself, the second is the hosting service you have your domain name with.

Let’s start with the WordPress end.

First, you will need 2 things (in addition to having an account/blog with WordPress):

  • An upgraded account (personal, premium or business)
  • A mapping subscription

The second of these things, you can get during the following process.

Login to WP (where you have your blog, myblog.wordpress.com, already set up) and navigate your way to “Domains”

Choose “Manage Domains”

Choose “Add a Domain on To This Site”

Choose “Use a Domain I Own”

Choose “Map a Domain” and enter the name of the domain you want to map (i.e the domain name you own with the other host – let’s say, myblog.co.uk)

Click “Add” – at this point you will go through checkout and purchase the mapping subscription if you don’t already have it.

All done? Let’s head over to the hosting service you have your domain name (myblog.co.uk in our little fictional site here), registered with.

The first thing you need to establish is if your hosting service will let you enter Nameservers only or wants IP addresses to complete the DNS changes. Most hosting services will have more or less similar set ups. You need to login in, go to “Domains” and find your “DNS & Nameservers” (sensitive information scribbled out here!)

If all you need to do is enter the Nameservers, then just click the + and add the following:

  • ns1.wordpress.com
  • ns2.wordpress.com
  • ns3.wordpress.com

Remember to remove any previous Nameservers and you’re good to go.

If your hosting service requires IP addresses, then you have a couple more steps.

  • Contact WordPress support and ask for their current IP addresses. There should be two. They are really quick with this and should get back to you within a few minutes.
  • Now, go to your hosting service > DNS & Nameservers>DNS Records and click “Add DNS Record”.
  • Make one “A” record and call it “@” (without the quotation marks), enter the first IP address WP gave you and set the TTL (Time to Live) to half an hour. Save.
  • Make another “A” record and this time call it “www”, enter the second IP address, set the TTL to half an hour and save.
  • Delete any other A records. Do not delete any other records just any A records except those you just added.

Now, all that remains is for you to pop back to WordPress and set you name domain as your Primary Domain and you’re done.

So, you’ve followed all the steps above and your site is not there, or it’s there sometimes and then vanishes again. In the words of the late, great Douglas Adams, “don’t panic”.

DNS records can take up to 72 hours to propagate, that is, for the changes you made to become live across the entire internet, worldwide. During this time, your site will be up and down like a Jack-in-a-Box. Don’t fret and certainly don’t start going and changing anything you already did.

While you are waiting there is a handy tool at whatsmydns.net that you can use to see how propagation is going. Just enter the name of your site, set to “A” and hit search. What you are looking for is all the results to show the same IP addresses (the IP addresses you entered into your DNS Records) with a tick next to them, as my site does in this picture.

One final point. The reason WordPress are more in favour of simply updating Nameservers rather than having to use DNS Records is because IP addresses are rarely static and can change without warning. The result of this is that your site will “go down”.

If this happens, simply contact WP, ask for the latest IP addresses and update your records accordingly.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s