问题原文
原帖链接 · mallo82 · CC BY-SA 4.0
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?
社区高分解答
原帖链接 · LMK Web · CC BY-SA 4.0
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.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
