5

I’m a web designer with minimal knowledge about DNS records etc.

I have a client who currently has a domain registered with LCN. They also have their email provided by LCN and they currently have a wordpress.com website.

They now want a new website which I’m going to build using wordpress.org.

I have a multi-site hosting package with one.com which I would like to use for the new website as it will be much cheaper than hosting it with LCN. However, I want to keep their email with LCN.

I understand that I need to change the name servers at LCN to point to the one.com hosting, and I need to update the MX records at one.com in order to preserve the email service.

I have also been told by LCN that I will need to update the SPF. I’m not fully sure what this means but after some brief research I think I know how to do it.

What I don’t know is, to minimise email downtime, is there a particular order that I should do this? I have asked LCN and one.com but have been told conflicting advice…

LCN have said MX record and SPF first, then name servers second. One.com have said name servers first, and then MX record and SPF.

So what is the correct order?

Is there anything else I need to do?

And at what point do I cancel the current wordpress.com account?

mallo82
  • 51
  • 1
  • 1
  • 2

2 Answers2

5

It's actually much, much simpler than this. All you need to do is change the A records for the domain to point to your new hosting IP address. If the remaining DNS records are all currently working as configured, you don't need to change anything else. So change the @ and the www A records from your current hosting IP address to your new hosting IP address.

For the SPF records, you should already have those established at the server that is hosting your email, correct? Those shouldn't need to be removed. If they don't currently exist, then you will need to create them. Either way, you will want to have the IPs of both your email hosting server and your web hosting server (for website-generated emails) included in the SPF record. When you create it doesn't really matter much at all. And if you keep your MX records as they are right now, then you won't have any email downtime at all.

LMK Web
  • 151
  • 4
3

LMK Web's answer is mostly correct, but there is a trap you need to watch for.

In DNS, if the MX Record is pointing to the root domain, your email is going to break. To explain: Since you are changing the IP address of the A Record (the location of the website) if your MX is pointing to it, then the IP address of the mail server will change as well.

You can get around this by changing the MX to something like mail.example.com. Then create an A Record for mail.example.com pointing it to the IP Address of the mail server (which might be different to the IP address of the root domain i.e. the A Record).

Essentially what we are doing is pointing example.com to one IP address and mail.example.com (the MX record) to a different IP address.

You cancel the WordPress.com account when you know that the site is resolving to the new server and email is working.

Steve
  • 8,575
  • 25
  • 30