---
title: "Add a domain"
url: https://docs.corefinity.com/guides/sites/go-live/add-a-domain
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
---
# Add a domain

Attach your domain to a site so visitors reach it over HTTPS, and add more hostnames later.

## Before you start

- You can open the site in **Managed Websites**. Anyone who can open a site can change its domains.
- You can change the domain's DNS records, or its Cloudflare zone is connected to your organisation.
- A site can have up to 10 hostnames.

## Attach the site's domain

1. **Open Domains & HTTPS**

   Go to **Managed Websites**, choose the site, then **Domains & HTTPS** under **Site settings**. Choose the **Attach** button: on Production it names your domain, and on other environments it reads **Attach a domain**.

   _Screenshot: Domains & HTTPS on a staging environment: the Hostnames card reads No domain attached, with the Attach a domain button ringed._

2. **Choose the address visitors land on**

   On Production, choose the **Canonical address**: the `www` address or the bare domain. On another environment, enter its **Domain**, then choose **Check DNS**.

   _Screenshot: Step 1 of the Attach a domain dialog on a staging environment: a hostname entered under Domain, an empty Aliases field, and the Check DNS button ringed._

   Hostnames you add under **Aliases** redirect to that address.

3. **Point your DNS at the site**

   **DNS check** lists what each hostname's DNS says today. Point each one at the **expected address** under the list, choose **Check again**, then **Continue**.

   _Screenshot: Step 2 of the Attach a domain dialog on Production, DNS check: the canonical hostname and its www address, each with its DNS today and the result Points at us, the address to point each hostname at, and the buttons Check again and Continue._

4. **Confirm**

   Type the domain to confirm, then choose the **Attach** button.

   _Screenshot: Step 3 of the dialog, Confirm: the canonical address, the hostname that redirects to it, the DNS changes and the platform address that keeps working, the list What happens, the box to type the domain in, and the Attach button, which names the domain._

The hostnames apply in about a minute and the certificate follows within a few minutes. **Hostnames** then shows **Points at us** and **Ready** for each address.

_Screenshot: The Hostnames card: the primary domain and its www alias, each marked Points at us and Ready, and the platform address marked noindex._

> **Tip:** With the domain's Cloudflare zone connected, tick **Point DNS for me** at the DNS check and the records are written for you.

## Add another hostname

1. **Enter the hostname**

   In the field under the table, enter the hostname and choose **Add hostname**. The line under the field gives the address to point its DNS at.

   _Screenshot: The Hostnames card with shop.harbourandfinch.example typed in the field under the table and the Add hostname button ringed._

2. **Save**

   Choose **Save changes**. The hostname is added as an alias that redirects to the primary, in about a minute.

   _Screenshot: The new hostname listed as an alias marked New, the line 1 unsaved change, and Save changes ringed beside Discard._

   _Screenshot: The Hostnames card after saving: the new alias redirects to the primary and is marked Points at us, with its certificate Pending, Being issued, while the primary and the www alias read Ready._

## Remove a hostname or make it primary

Open the **…** menu on a hostname's row and choose **Make primary…**, **Remove alias…** or **Check DNS now**.

_Screenshot: The actions menu open on the www alias, listing Make primary, Remove alias and Check DNS now\._

## Automate this

**API:** [Replace a site's extra domains](https://docs.corefinity.com/api/reference/domains/replace-site-domains.md), scope `write`

```bash
curl -X PUT https://manage.corefinity.com/api/corestack/sites/1042/domains \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "aliases": [
      "www.harbourandfinch.example.com",
      "shop.harbourandfinch.example.com"
    ],
    "noindex": false,
    "version": 4
  }'
```

**MCP:** [`corestack_domains_update`](https://docs.corefinity.com/mcp/tools/corestack_domains_update.md), scope `write`

```json
{
  "name": "corestack_domains_update",
  "arguments": {
    "site_id": 4211,
    "version": 3,
    "aliases": [
      "www.example.co.uk",
      {
        "host": "guns.example.co.uk",
        "serve": "storefront",
        "store": {
          "code": "guns",
          "type": "website"
        },
        "base_url": true
      }
    ],
    "noindex": false
  }
}
```

**Control Panel:** Managed Websites › your site › Site settings › Domains & HTTPS ([https://manage.corefinity.com/go/domains](https://manage.corefinity.com/go/domains))

## Related

- [Redirects](/guides/sites/site-settings/redirects): Send visitors from one path to another.
- [Firewall](/guides/sites/access-and-security/firewall): Allow an IP address to reach a site.
- [Create a site](/guides/sites/create-and-manage/create-a-site): Add a site to a CoreCluster.
