---
title: "Canonical address"
url: https://docs.corefinity.com/guides/sites/go-live/www-or-apex
type: guide
last_updated: 2026-11-13
feature: domains
related:
  - https://docs.corefinity.com/api/reference/domains/attach-site-domain.md
  - https://docs.corefinity.com/api/reference/domains/check-site-attach-domain.md
  - https://docs.corefinity.com/api/reference/domains/get-site-domains.md
  - https://docs.corefinity.com/api/reference/domains/replace-site-domains.md
  - https://docs.corefinity.com/api/reference/domains/check-site-domains-dns.md
  - https://docs.corefinity.com/api/reference/domains/point-site-domains-dns.md
  - https://docs.corefinity.com/mcp/tools/corestack_site_attach_domain_check.md
  - https://docs.corefinity.com/mcp/tools/corestack_site_attach_domain.md
  - https://docs.corefinity.com/mcp/tools/corestack_domains_get.md
  - https://docs.corefinity.com/mcp/tools/corestack_domains_update.md
  - https://docs.corefinity.com/mcp/tools/corestack_domains_check_dns.md
  - https://docs.corefinity.com/mcp/tools/corestack_domains_point_dns.md
---
# Canonical address

Choose whether visitors land on the www address or the bare domain, and switch later.

## Before you start

- You can open the site in **Managed Websites**. Anyone who can open a site can change its canonical address.
- The choice is for **Production**. Another environment has one domain of its own and no `www` pair.
- **Canonical address** is the one visitors land on. The other one redirects to it.

## Choose when you attach the domain

1. **Choose the canonical address**

   In step 1 of the attach dialog, under **Canonical address**, choose the `www` address or the bare domain. [Add a domain](/guides/sites/go-live/add-a-domain) covers the other steps.

   _Screenshot: Step 1 of attaching a domain on Production: the domain, its www address, and the Canonical address choice between the two._

## Switch later

1. **Choose the other address**

   Go to **Managed Websites**, choose the site, then **Domains & HTTPS** under **Site settings**. Under **Canonical address**, choose **www** or **bare**.

   _Screenshot: The Hostnames card with Canonical address ringed under the list of hostnames: www and bare, with bare selected and the line The other one redirects to it._

2. **Follow the dialog**

   **Change primary URL** opens with that address filled in, because the site's own stored addresses change too. Follow its three steps: see [Change primary URL](/guides/sites/go-live/change-the-site-url).

   _Screenshot: Change primary URL, step 1, opened from the Canonical address choice: the www address as the new primary and the bare domain as the old primary, kept as an alias._

The switch takes about a minute. The address you left stays as an alias that redirects to the new one.

> **Tip:** **Make primary…** in an alias's **…** menu opens the same dialog for that hostname.

## Related

- [Add a domain](/guides/sites/go-live/add-a-domain): Attach a domain to a site.
- [Check and point DNS](/guides/sites/go-live/check-and-point-dns): Point a hostname at a site.
- [Hide from search engines](/guides/sites/go-live/hide-from-search-engines): Ask search engines not to index a site.
