[Original] How to Create an Alias Address for a Server
Published: 2020-10-21
During server use, sites are continuously created and added. All of these require domain names to point to the server ip address to enable website access or management.
However, when the server ip address changes, all domain names that have been resolved to the server must be modified to resolve to the new ip, which is very troublesome!
Domain resolution is done directly on the domain resolution platform; both A records and CNAME records are acceptable.
If you use CNAME resolution, it resolves to a URL-like format; this URL can be set and assigned by yourself, as long as you have a domain name yourself.
Example:Now there is a domain name west1.cn
Server ip address 211.149.149.X
Find any domain name in the domain list, using ”west1.cn” as an example, and go directly to the domain resolution platform to add an A record type.

In this way, an alias address of "x.west1.cn" has been assigned to the server. From now on, this "x.west1.cn" represents the 211.149.149.X address.
For all other domain names, no matter where the registrar is, on the corresponding domain resolution platform, add an alias to point to x.west1.cn, so that all domain names can point to the server ip address!

In later server use and management, when the server ip address changes, the convenience of the alias will become apparent.
We only need to modify, in ”west1.cn”, the x host name's corresponding ip address; all domain pointing addresses will be updated to the new ip address, without needing to modify the resolution pointing for each domain.
Our company will soon stop providing free second-level domain names with Hong Kong/US cloud servers; therefore, we recommend that you follow the steps above to create a separate corresponding server alias for the server, for use in domain pointing resolution on the server.
If all your previous domain names have already been set to resolve to the second-level domain name provided free by our company, please refer to the above to create an alias, and change the previous alias s-XXX.gotocdn.com. to the alias address you set above.
