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
  • Access Project Settings in Webflow, navigate to the Hosting tab, and manage Custom Domains.
  • Add both www and non-www versions of your domain, set www as the default, and update DNS settings with Webflow's provided A records and CNAME.
  • Verify the connection with a green checkmark next to your domains in Webflow.

To redirect the non-www version of your domain to the www version in Webflow without publishing the website in two places, follow these steps:

1. Access Project Settings

  • Go to Project Settings for the relevant project within your Webflow dashboard.

2. Manage Custom Domains

  • Navigate to the Hosting tab.
  • Scroll down to the Custom Domains section.

3. Add Domain Variants

  • Add Both Versions: Ensure that both the www and non-www versions of your domain are added (e.g., www.yourdomain.com and yourdomain.com).

4. Set Default Domain

  • Set the Default Domain: Click on the option to make www.yourdomain.com the default. This will ensure that traffic to any variations of your domain will resolve to the www version.

5. DNS Configuration

  • Update DNS Settings: Check that your DNS settings reflect the A records and CNAME provided by Webflow.
  • Ensure the A records (a) 75.2.70.75 and (b) 99.83.190.102 are set up for the non-www domain.
  • Point the CNAME of the www version to proxy-ssl.webflow.com.

6. Verify Connection

  • Ensure Webflow displays a green checkmark next to both versions of your domain, indicating the connection is successful.

Summary

Connect both www and non-www versions of your domain in Webflow, set the www version as default in Project Settings, and update DNS records according to Webflow’s guidance to ensure proper redirection without dual publication.

Rate this answer

Other Webflow Questions