Webflow & Domains

Default Domains

Overview
Adding Domains
Adding a Domain to Webflow
100
Domain Registraton
Domain Registrars
400
Transferring a Domain to a new Domain Registrar
401
DNSSEC Issues
401
Transferring a Site to a Different Workspace
402
Transferring a Site from Another Host
403
Default Domains
403
No items found.
Published
May 31, 2024
Updated
May 31, 2024
in lightbox

Webflow's default domains concept has some peculiarities.

While it's not technically required, if you skip setting a default domain, you'll likely face a series of issues. Here's a breakdown of what I've seen.

What does default domain do on a single domain site?

Let's suppose you have only one custom domain on your site. It has the "naked domain" domain.com, and also your "www" subdomain www.domain.com.

Let's further suppose you set the "www" subdomain as the default domain, as recommended by Webflow.

When you have a default domain set

  • Any requests to domain.com get redirected to www.domain.com
  • Webflow works properly, with any DNS

When you have NO default domain set

  • Some site owners will experience errors like double www.www prefixes, or infinite redirects.
  • Your sitemap.xml may contain domain.com, or www.domain.com, unpredictably.
It's possible to make domain.com the default domain, but only in a special DNS configuration that requires support for CNAME flattening. Most DNS providers don't support this, but some, like Cloudflare, do.

What does default domain do on a multiple-domain site?

Let's suppose you have two domains, domainA.com, and domainB.com on your Webflow site.

When you have a default domain set

If you set www.domainA.com as the default domain-

  • Any requests to domainB.com, www.domainB.com, or domainA.com get redirected to www.domainA.com
  • Webflow works properly, with any DNS
  • Your sitemap.xml will contain www.domainA.com, consistently.

When you have NO default domain set

  • Some site owners will experience errors like double www.www prefixes, or infinite redirects.
  • Your sitemap.xml may contain domain.com, or www.domain.com, unpredictably.
  • Your sitemap.xml may contain domainA.com, www.domainA.com, domainB.com, or www.domainB.com, unpredictably.

FAQs

Answers to frequently asked questions.

Videos
No items found.
Table of Contents
Comments
Did we just make your life better?
Passion drives our long hours and late nights supporting the Webflow community. Click the button to show your love.