# Should my website use www or the root domain as its main address?

Canonical: https://www.namesilo.com/questions/websites-and-ai/should-my-website-use-www-or-the-root-domain-as-its-main-address

Published: 2026-11-17

Last updated: 2026-11-19

Topic: Websites & AI

It depends on the platform’s capabilities and your requirements. Either www or the root domain can be the main address, provided the hosting setup supports it. Choose one primary version, redirect the alternative, and use consistent internal links and canonical tags. Neither spelling provides an automatic ranking advantage simply because it includes or omits www.

Make both addresses work for visitors

The alternative hostname needs its own DNS and HTTPS configuration before it can redirect reliably. Test the exact redirect destination, including paths, so deep links do not all collapse onto the homepage.

Your next steps

Choose a primary hostname

Configure DNS and HTTPS for both

Redirect the alternative while preserving paths

From a name to a working website

Domain registration, site creation, and hosting are separate tasks, even when a provider bundles them. Keep control of your domain and check what can be exported before committing your content and business workflows to a builder.

Ownership: Registrar access and content rights.

Features: Forms, payments, email, and integrations.

Portability: Code, data, assets, and backend dependencies.

Launch: Mobile usability, HTTPS, redirects, and working forms.

## Sources

- [Google Search: site moves with URL changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes)
