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

When purchasing a VPS, what do "hostname", "ns1 prefix", and "ns2 prefix" mean?

· 52CE 我爱测

I'm currently trying to buy a VPS to host some ready-made website I have on my computer. But I have no idea of what to write when presented with this (the highlighted part) Can someone please shed light on the significance of eac…

问题原文

原帖链接 · user97314 · CC BY-SA 4.0

I'm currently trying to buy a VPS to host some ready-made website I have on my computer.

But I have no idea of what to write when presented with this (the highlighted part)

Can someone please shed light on the significance of each column?

社区高分解答

原帖链接 · Trebor · CC BY-SA 4.0

NS stands for NameServer also called domain name servers (DNS). Domain names like www or example.com each have a numeric address called an Internet Protocol (IP) address. They look like 192.0.2.144 and are very user unfriendly. In order to make them friendly for users, we assign names to the numeric IP address and the Name Server converts (resolves) the name to it's IP address. For example, when you type in www.example.com in your browser, a name server converts the wwwto the numeric address transparently to the user.

Every domain must have at least one and preferably two name servers (for fault tolerance). The hostname is the name you can assign to the computer. It could be something like computer1.example.com or www.example.com or mail.example.com. You probably should use WWW since I'm guessing your trying to host a website.

Your name servers question is simply what name would you like your name servers (DNS) to be called? ns1.example.com or domainserver.example.com. NS1 and NS2 are pretty standard names for name servers that people readily recognize, so I'd just leave the names as NS1 and NS2.

Just to clarify, the prefix is simply the first part before the first period from the left. I.e., if the domain server full name is ns1.example.com, the prefix is ns1.

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

资料来源与适用范围

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

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

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