# Should my site use the root domain, www, or both?

Canonical URL: https://help.iagenify.com/faqs/domains/should-my-site-use-the-root-domain-www-or-both

[← Back to Domains FAQs](https://help.iagenify.com/faqs/domains)

HELP CENTER · FAQ Domains 1 min read
# Should my site use the root domain, www, or both?
Choose a canonical hostname and configure every hostname you intend to serve. The root domain and www are separate DNS names; set up both explicitly and redirect one to the other if you want a single public address.
IaGenify
Domains

## Treat each hostname as its own configuration
The apex (example.com) and a subdomain (www.example.com) can have different DNS records and hosting associations. Adding one to a site does not guarantee that the other will resolve or present a valid certificate.
Check which record types your DNS provider supports at the apex and follow the hosting platform's instructions for each name. Do not copy a www target into the root record unless the provider specifically supports that arrangement.
## Choose one canonical address
Select the address you want search engines and visitors to treat as primary, then configure a permanent redirect from the alternate hostname when your hosting setup supports it. Keep links and site metadata consistent with that choice.
Test both names over HTTPS, including redirects and common page paths. Confirm that each resolves to the intended site and that the certificate covers every hostname visitors may use. [← Back to Domains FAQs](https://help.iagenify.com/faqs/domains)
