X站长

X站长

X站长是一个提供成人网站建站资源的站点,为站长提供X站源码、程序、插件、主题及X站引流推广、广告联盟、CSP、CPA等资讯。

How to set up domain resolution and use CDN

When you have purchased your domain name and server, the next step is to resolve your domain to your server address. The operation interface of each domain provider is slightly different; if you don't understand it, you can directly use a web translator to find the DNS-related settings.

Domain Resolution#

Taking the Namecheap backend as an example, open Advanced DNS in the domain settings, and you will see the domain resolution section.

  • Type refers to the type of domain resolution, usually selecting A record is sufficient, which is commonly known as A type;
  • Host means the domain name, generally, we will resolve two types: "www" and "@", so that both types can access your website normally when it is created;
  • Value is the server's IP address, just enter it directly.
    After filling in the above content, check and save it.
    Domain Resolution Settings

CDN Usage Method#

CDN is a network service that can hide the real IP of the server and accelerate website access speed. The most widely used free CDN service is provided by Cloudflare, commonly referred to as "CF". Tech-savvy webmasters can also build their own CDN for personal use.

Everyone can decide whether to use CF services based on their needs. If you are handling domestic traffic and have purchased a CN2 server, it is not recommended to use CF; you can only resolve directly to the server or use other CDNs. If you, like me, are handling international traffic, you can directly use CF.

Cloudflare Official Website#

https://cloudflare.com/

Cloudflare Registration#

Registering for CF is very simple; just enter your email and password, then log in to verify your email, and you're done. It is recommended to use Gmail or Proton for the email.
Cloudflare Registration
After registration, log in, and on the left side, select [Website], then add your domain name.
Cloudflare Add Website
Scroll down the page, select the free plan shown in the image, and click continue.
Cloudflare Add Website 2
Here, enter your domain resolution name and server IP, then save and click continue.
Cloudflare Set DNS
Finally, find point 3, copy the name servers, and go to your domain provider to change your domain servers.
After completion, you need to wait for a while, about ten minutes to a few hours, and refresh the page to see that the domain has been added.
In the future, if you change servers or add domain resolutions, you can log in to CF directly.
Cloudflare Change Domain Server

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.