Detailed analysis of the relationship between the website domain name and the IP address (taking stock of several misunderstandings)

888u

Last update at :2024-06-13,Edit by888u

Snail has known a netizen for several years. He also provides website building services to some customers after work. But the more amazing thing is that he has not understood the relationship between website domain names and IP addresses for so many years. Snail has helped him resolve domain names to server IP addresses more than once. Especially recently, he has encountered problems when he began to transition from virtual hosts to cloud servers and VPS hosts.

For example, Snail also mentioned in the article before that when choosing a cloud server, some businesses also need to fill in the host name. He thought it was to fill in the domain name and use it for direct resolution. There are also several understandings about domain names and IP addresses. If you know the mistake, I will simply share it through this article.

First, how is it generally analyzed?

After we register the domain name with the domain name registrar, we can resolve to the selected virtual host, cloud server and other products. The analysis here generally includes A record and CNAME alias resolution, as well as DNS resolution. Generally, when we use a cloud server, we will resolve the IP address of the server through the A record. If we use CDN or a third-party service for transfer, CNAME is often used for resolution.

Some CDN services or virtual hosting providers (which Snail has also encountered before) require that the domain name be resolved to the hosting provider by modifying the DNS before it can be used.

Second, domain name and host policy issues

If we choose a host in mainland China and need to register later, Snail personally recommends that we choose a domain name registrar in mainland China, preferably one that corresponds to the host provider. Because the domain name host and registration application are all in one merchant, the review is relatively easy. There is another problem here. If we choose a hosting space in mainland China, registration is basically required at present, but access may not necessarily be mandatory, but an ICP number is required for resolution.

Otherwise, even if we parse it, we may not be able to display it normally (whether there is a registration-free Chinese virtual host (all mainland China host websites need to be registered)).

Third, analysis, inspection and review

After we complete the parsing, we can use the PING test or NS test to check whether our parsing is effective. This requires each node to take effect before it can be seen. In some areas, it takes effect slowly. It usually takes effect within 24 hours.

In summary, for us users, you do not need to know the exact technical details between domain names and IPs in detail. For us users, you only need to know the parsing method, and we do not need to know about their internal technical structure.

Recommended site search: station group server rental, free cloud server, telecommunications server rental, registration-free virtual host, server rental, registration-free virtual host, domain name agent, station group server, IP detailed address query, Hong Kong vps host rental,

Detailed analysis of the relationship between the website domain name and the IP address (taking stock of several misunderstandings)

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码