Verify Business Access
After your domain name is connected to EdgeOne, you need to switch the DNS resolution and add the CNAME record assigned by EdgeOne to make the service effective. Before performing this operation, it is recommended to perform proper testing and verification first to ensure that your business can be accessed normally after the switching. This document will show you how to perform the verification.
For example, if your current acceleration domain name is
www.example.com
, the verification steps after access are as follows:1. Log in to the EdgeOne Console, and select the required Site from the Site List.
2. On the left sidebar, click Domain Name Service > Domain Name Management.
3. On the Domain Name Management page, if you have already added a domain name, you can see the CNAME address assigned by EdgeOne for that domain name.
For example:
www.example.com.eo.dnse5.com
.
4. Use the
nslookup
command in the TCCLI (CMD running tool or terminal) to get the edge IP resolved from the above CNAME, for example, nslookup www.example.com.eo.dnse5.com
. The obtained IPs, such as 27.152.181.195 or 59.57.12.190, are EdgeOne edge node IPs.
5. In your local computer terminal, find the HOST file and add that IP address with your acceleration domain name. Add any node IP (27.152.181.195) obtained in Step 4 and the acceleration domain name (
www.example.com
) to your computer's local hosts file. The format is IP address first, followed by the acceleration domain name, separated by a space, as shown below:Note:
The directory for the host file in a Windows system is:
C:\Windows\System32\drivers\etc\
.The directory for the host file in a macOS system is:
/etc/
.
6. After completing the configuration and saving it, perform a business access test via the browser. Directly access the test URL of the current acceleration domain name, open the browser's Developer Tools, and check if the accessed IP is the edge node IP that has been added. Also, check if the access effect meets your expectations.
7. Once the access is verified to meet expectations, you can switch your domain name resolution to the EdgeOne Service. For details, refer to: Modify CNAME Resolution.