大网数据广告活动
服务器运维问答

Domain and hosting with different providers

· 52CE 我爱测

Domain is registered with one company and hosting with another. I am reading that to point the domain to the hosting I have to change the nameserver to point to the hosting company's nameservers. This would also mean I will have …

问题原文

原帖链接 · Hassan Voyeau · CC BY-SA 3.0

Domain is registered with one company and hosting with another. I am reading that to point the domain to the hosting I have to change the nameserver to point to the hosting company's nameservers. This would also mean I will have to move the MX records to the hosting company (the email is where the domain is registered). Can I create an A Name record that points to the IP of hosting without having to change the nameservers?

已采纳解答

原帖链接 · Janek Bevendorff · CC BY-SA 3.0

You don't need to point the NS records to your hosting providers name server. You can if you want to manage DNS together with your Web space, but it is also perfectly fine to manage your DNS externally. Just make sure, MX records point to your mail server and A/AAAA records to your web server's IP.

If you are using some sort of management interface on the side of your hosting provider (e.g. Plesk, cPanel etc.) you will still need to add any external domain there as well. Otherwise the domain would point to the server, but the server wouldn't have any vhosts for it and therefore wouldn't know how to handle it.

If you, however, don't want to use external DNS, then let the NS records point to your hosting provider's name servers. In that case any other DNS configuration will be done on those.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-02-12)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。