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

Can a domain be obtained and used without a domain registrar?

· 52CE 我爱测

I guess the greater question should be Why is a domain registrar necessary, but does one for ease of the average man. I understand that the purpose of a registrar is so that way all people have to do is type into their browsers h…

问题原文

原帖链接 · Matthew T. Scarbrough · CC BY-SA 3.0

I guess the greater question should be Why is a domain registrar necessary, but does one for ease of the average man. I understand that the purpose of a registrar is so that way all people have to do is type into their browsers http://www.example.com/most_trafficked_domain_ever and they are taken to your physical server location, regardless of if you move.

That being said, is it not possible for them to connect directly to your domain without a registrar?

*I assume it is, that is how "some parts" of the internet work.

已采纳解答

原帖链接 · Stephen Ostermiller · CC BY-SA 4.0

You can run a website on an IP address like http://192.0.2.4/. Doing so does not require a domain name. However, IP addresses are typically tied to a specific hosting company or internet service provider. If you want to move your website to a new host or ISP, your IP address will change.

Obtaining a domain name allows you to map that domain name to the current IP address of your website and to update that IP address when you change hosting. To get a domain name, you need to register one at a domain registrar. There is no way to get a domain name without going through a registrar.

Domain names have to be unique such that no to websites have the same name. This requires a central way of requesting names, registering names, and mapping names to numerical addresses. This system is the DNS system and is overseen by the "Internet Corporation for Assigned Names and Numbers" (ICANN). ICANN was created to fulfill this role by the US government in cooperation with the organizations that created the internet.

ICANN oversees a set of DNS servers known as the "root" servers. These servers are for the top level domains (TLDs) like .com, .net, and .org. They specify the IP addresses of the DNS servers for all the TLDs. ICANN also controls the number of top level domains and awards contracts to operate them.

Each top level domain is where registrations actually happen for individual websites. Each top level domain has its own policies for who can register a domain, with what domain registrars, and how much those domain names will cost.

Registrars are responsible for inserting records for each domain into the into the TLD servers. Those records specify the name servers used for the individual domain. So for example, to get the IP address of example.com, all the following have to happen (although DNS caches everything so all queries don't happen every time):

  • Query NS records from the root name servers for .com
  • Query NS records from .com's name servers for example.com
  • Query example.com's name servers for the IP address of example.com

It is also possible to run a website on a "third level domain" such as my-sub-domain.example.com. Because anybody who runs a domain can in turn dole out domains underneath it, such subdomains are widely available. They can often be registered for free and with little hassle. They are often doled out in conjunction with dynamic DNS services.

There are some big disadvantages to running a website using a third level domain:

  • Your rights to the name are not usually well protected compared to getting a second level domain. The name could be revoked for many reasons at the whim of the domain owner, or because the domain owner doesn't want to provide the service anymore.
  • Browsers allow cookies to be set at the second level domain meaning that cookies can be shared between many sites which cat compromise security.
  • Search engines take a dim view of third level domain sites. They find lots of spam on them and often penalize an entire domain with many unrelated websites under it. Search engines often give a bonus to a second level domain because paying $10 is a small sign of commitment and quality.

See also:

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

资料来源与适用范围

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

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

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