Solve the redirect loop error on your site after publishing to a custom domain.
You’ve perfected your design and you’ve just published your site to bestcustomdomain.com. You’re on top of the world! That is, until you visit your site and see an ERR_TOO_MANY_REDIRECTS error instead of your actual design.
How to fix the error
The “too many redirects” error occurs when your site is configured in a way that creates a redirect loop between different web addresses — such as between your www subdomain (e.g., www.bestcustomdomain.com) and root domain (e.g., bestcustomdomain.com).
We’ve recently migrated our DNS records so you can set the root domain as the default without requiring an alternative DNS record setup or creating a redirect loop.
If you’re encountering the “too many redirects” error on your site, you’re likely still using Webflow’s deprecated DNS records. You can resolve the issue by updating your DNS records:
- Go to Site settings > Publishing > Production (you can copy your DNS records from here)
- Go to the DNS settings for your custom domain (in your domain registrar or DNS host’s dashboard)
- Remove any existing A records and CNAME records (if applicable)
-
Create an A record with the hostname
@ and the value 198.202.211.1
-
Create a CNAME record with the hostname
www and the value cdn.webflow.com
If you haven’t already verified your domain, you’ll also need to create a TXT record with the hostname _webflow and the value shown in Site settings beginning with one-time-verification= (e.g., one-time-verification=01ab2345-cd67e-89f0-11gh-12i13456j789k). Then, back in Site settings > Publishing > Production, click Verify domain.
Then, you can set the default domain in Webflow:
-
Click Make default next to either the root domain (e.g.,
yourdomain.com) or the www subdomain (e.g., www.yourdomain.com)
- Publish your site
Troubleshooting tips
If you continue to encounter the “too many redirects” error on your site, your browser may be cacheing an old error message. Try the following when viewing your site:
- Clear your browser cache
- View your site in incognito mode with browser extensions turned off
- View your site from a mobile device or in a browser you have not yet used to view your site
Please keep in mind that DNS changes can take up to 48 hours to fully propagate in all geolocations as the DNS cache expires, although this typically occurs within a few hours.
If your domain isn’t working correctly after 48 hours, please troubleshoot your DNS settings or contact your domain provider’s help desk. If your DNS settings are correct, but you’re still experiencing issues with your published site, please contact Webflow’s customer support team.