大网数据广告活动
网站运营与故障问答

How to use a domain on cPanel without pointing name servers

· 52CE 我爱测

Until today, I thought that we should point the name servers to hosting company to set add-on domain, sub domains, etc. But, I read this article from inmotion hosting . You can find following sentence from that article. If you ar…

问题原文

原帖链接 · I am the Most Stupid Person · CC BY-SA 3.0

Until today, I thought that we should point the name servers to hosting company to set add-on domain, sub domains, etc.

But, I read this article from inmotion hosting.

You can find following sentence from that article.

If you are not pointed to InMotion Hosting's Nameservers, you must ALSO create the subdomain where your Nameservers are hosted, then point the subdomain's "A record" to your Shared IP address.

I could not understand what is it... I mean I thought we must point name servers to hosting company to create sub domains etc... So what is the meaning of this message? What did I have understand incorrectly?

已采纳解答

原帖链接 · Simon Hayter · CC BY-SA 3.0

Name servers host your DNS zone file

Domains point to name servers that simply hosts the zone file which holds all your DNS entries, due to simplicity, web hosts recommend that users point their domain to their own hosting because then the user does not need to add manually DNS entries, since cPanel, WHM or Plesk will automatically edit the zone file with the necessary records.

Example

A real world example of this would be that you add a sub domain to cPanel called 'CDN' e.g cdn.example.com, cPanel automatically edits the zone file and adds A record of the IP address that the sub domain points to.

Perks and Benefits of each

The benefits of using the name servers provided by your web host is that you never need to manually edit the zone file for most tasks but the benefits of using an external name servers is often they come with better reliability and more features, such as those provided by DynDNS, Rackspace DNS, Cloudflare etc.

How to use A records

If you want to use a different name server and dns provided by your registrar or another company, then simply login to cPanel and check the IP listed in the server information panel or page, like so:

Take note of the IP address and then simply login to your DNS management of the domain and add the A record and cname, like so:

Using the above example would make the website work without having to use the name servers provided by your host, giving you more options, faster TTL's and generally easier administration once you understand the basics.

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

资料来源与适用范围

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

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

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