Webflow sync, pageviews & more.
NEW

How can I redirect the non-www version of my domain name to the www version using Webflow without having to publish the website in two places?

TL;DR
  • Set www.yourdomain.com as the default domain in Webflow under Project Settings > Publishing.
  • Configure A records for yourdomain.com in your DNS provider to point to 75.2.70.75 and 99.83.190.102.
  • Add a CNAME record for www pointing to proxy-ssl.webflow.com.
  • Verify DNS settings in Webflow and publish the site.

If you want to redirect the non-www version of your domain to the www version in Webflow, you need to set up domain rules correctly in Webflow's hosting settings and configure your DNS provider properly.

1. Set the www Version as the Default Domain

  • Go to Webflow Project Settings > Publishing.
  • Under Custom Domains, identify both versions:
  • www.yourdomain.com
  • yourdomain.com (non-www)
  • Click the ellipsis (...) next to www.yourdomain.com and select Make default.
  • Webflow will automatically redirect the non-www domain to the www version.

2. Configure A Records for the Root Domain

  • In your DNS provider (e.g., GoDaddy, Cloudflare, Namecheap), create two A records for your root domain (yourdomain.com):
  • Type: A Record
  • Name: @
  • Value: (a) 75.2.70.75, (b) 99.83.190.102
  • TTL: Default (often 1 hour or Automatic)

3. Set the CNAME Record for www

  • Add a CNAME record to point www to Webflow:
  • Type: CNAME
  • Name: www
  • Value: proxy-ssl.webflow.com
  • TTL: Default

4. Verify & Publish

  • Return to Webflow Project Settings > Custom Domains.
  • Click Check Status to verify the DNS changes.
  • Once verified, Publish your site from Webflow.

Summary

By setting www.yourdomain.com as the default in Webflow and configuring DNS records correctly, Webflow automatically redirects yourdomain.com (non-www) to www.yourdomain.com, ensuring all traffic routes correctly.

Rate this answer

Other Webflow Questions