tencent cloud

All product documents
Tencent Cloud EdgeOne
Verify Business Access
Last updated: 2024-12-23 15:26:59
Verify Business Access
Last updated: 2024-12-23 15:26:59
After your domain is connected to EdgeOne, you need to switch DNS resolution and add the CNAME record assigned by EdgeOne to make the service effective. Before performing this operation, it is recommended to fully test and verify to ensure that your business can be accessed normally after the switch. This document will guide you on how to perform 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 Management.
3. In the Domain Management page, if you have already added a domain, you can see the CNAME address allocated by EdgeOne for that domain.
For example: www.example.com.eo.dnse5.com.

4. Use the TCCLI (CMD running tool or terminal) and the nslookup command to get the edge IP resolved from the above CNAME. For example, nslookup www.example.com.eo.dnse5.com. The obtained IPs, such as 59.56.100.101 or 175.6.193.206, are EdgeOne edge node IPs.

5. You can continue to refer to the following two methods for verification:
Bind Host verification
Verification using the curl command
Depending on your operating system, you can refer to the following methods to bind the host for testing verification:
Windows
Mac
Find the hosts file in the system and bind the IP address to your acceleration domain name. Bind any node IP ( 27.152.181.195 ) obtained in step 4 and the acceleration domain name ( www.example.com ) to the local hosts file on your computer. The format should be the IP address followed by the acceleration domain name, with a space between them, as shown below:
Note:
The directory of the hosts file in the Windows system is: C:\Windows\System32\drivers\etc . If you do not have the permission to edit the file in this directory, you can copy the file, edit the copy, and then replace the original file with the edited copy.
After completing and saving the configuration, perform a business access test through the browser. Directly access the test URL of the current acceleration domain name, open the browser's developer tools, and check whether the accessed IP is the currently bound edge node IP. At the same time, check whether the access performance meets your expectations.

Find the hosts file in the system and bind the IP address to your acceleration domain name. Bind any node IP ( 27.152.181.195 ) obtained in step 4 and the acceleration domain name ( www.example.com ) to the local hosts file on your computer. The format should be the IP address followed by the acceleration domain name, with a space between them, as shown below:
Note:
The directory of the hosts file in the Mac system is: /etc/ . If you do not have permission to edit the file in this directory, you can copy the file, edit the copy, and then replace the original file with the edited copy.

After completing and saving the configuration, perform a business access test through the browser. Directly access the test URL of the current acceleration domain name, open the browser's developer tools, and check whether the accessed IP is the currently bound edge node IP. At the same time, check whether the access performance meets your expectations.

You can refer to the following curl command.
curl --resolve <hostname>:<port>:<ip> <url> -v
The hostname is the domain name you need to access, such as www.example.com . The port is the specified port number for access, which is port 443 for HTTPS access and port 80 for HTTP access. The ip is the IP address obtained in step 4, and the url is the URL used for the current access test. For example: curl --resolve www.example.com:443:59.56.100.101 https://www.example.com/ -v .
Check whether the request result is normal and meets your expectations.

6. 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.


Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon