banner
laogou

laogou666

Can't access the domain name bound to Vercel domestically? Try this!

Can't access the domain name bound on Vercel in China? Try this!

2023/12/25 Vercel, Free Container

The accessibility of domain names is crucial for ensuring the flow of information. One issue that Vercel faces is that due to specific network policies in mainland China, the vercel.com and vercel.app domains cannot be accessed in mainland China.

Solution#

Adjust A Records#

  • Please change the IP address of your A record from 76.76.21.21 to the top-level domain DNS.
76.223.126.88
  • This change redirects traffic through another network path, bypassing the existing access barriers.

Update CNAME Records#

  • Although Vercel has announced that the issue affecting CNAME records has been resolved in the latest announcement, it is still recommended to change the CNAME record from cname.vercel-dns.com to the second-level domain DNS.
cname-china.vercel-dns.com
  • This change not only ensures continued accessibility but also provides additional redundancy, enhancing your domain's ability to withstand potential disruptions in the future.

Add Records at the Domain Registrar#

  • Log in to your domain registrar's management console. Take Cloudflare as an example.

cf homepage

Select the activated domain on the homepage.

  • Find the section for updating DNS records.

dns

Find DNS service on the left side.

  • Modify the A record to point to 76.223.126.88.

A record

A record

  • Change the CNAME record to cname-china.vercel-dns.com.

Second-level domain

Second-level domain

  • By following the above steps, your website will maintain normal access and operation even in special network environments like mainland China. It is recommended to complete these changes as soon as possible to ensure uninterrupted service 😄.

This article is synchronized and updated to xLog by Mix Space.
The original link is https://www.laogou666.com/posts/AGI/Vercel


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