---
title: Working with classic domains
summary: null
url: >-
  https://www.fastly.com/documentation/guides/getting-started/domains/working-with-domains/working-with-classic-domains
---

> **WARNING:** This guide only applies to customers who created an account before September 16, 2025.

> **HINT:** You can migrate your classic domains to versionless domains by following the steps in [our migration guide](https://www.fastly.com/documentation/guides/getting-started/domains/working-with-domains/migrating-classic-domains/).

This guide describes how to take the public name for your website or application and add it to Fastly as a classic domain, where you can associate it with a specific Fastly service. You can add, edit, or remove domains from your service at any time.

## Before you begin

Before you create your first domain, be sure you understand [how domains are used with Fastly](https://www.fastly.com/documentation/guides/getting-started/domains/about-domains) and [classic domain behavior and limits](https://www.fastly.com/documentation/guides/getting-started/domains/about-domains/#working-with-classic-domains). You'll also need to understand the Fastly [web interface controls](https://www.fastly.com/documentation/guides/getting-started/navigating-fastly/about-the-web-interface-controls) before using them to work with domains.

## Adding a domain

Follow the steps below to add a classic domain to your service:

### First-time set up

1.   Log in to the [Fastly control panel](https://manage.fastly.com).

2.   From the [**Home**](https://manage.fastly.com/home) page, select the appropriate service. You can use the search box to search by ID, name, or domain.

3.   Click **Edit configuration** and then select the option to clone the active version.

4. Fill out the domain creation fields as follows:

   - In the **Domain Name** field, enter the fully qualified domain name (FQDN) users will visit.

     > **HINT:** We recommend using a subdomain such as `www` when you publish links to your website and redirecting your apex domain to the subdomain (e.g., redirecting the apex domain `example.com` to the subdomain `www.example.com`). You can include both versions in your service and configure your service to handle the redirect for you by setting up a `CNAME` record for the subdomain and `A` records for the apex domain in your DNS settings.

   - _(Optional)_ In the **Comment** field, enter a comment that describes the domain.
5. Click the **Add** button. Your new domain appears in the list of domains.
6.   From the **Activate** menu, select **Activate on Production** to deploy your configuration changes.

Once you create a domain, you'll want to [test](https://www.fastly.com/documentation/guides/getting-started/domains/working-with-domains/working-with-classic-domains#testing-a-domain) it before [adding a CNAME DNS record](https://www.fastly.com/documentation/guides/getting-started/domains/working-with-domains/working-with-cname-records-and-your-dns-provider) for your domain name to begin routing traffic through Fastly.

### Adding additional domains

Follow the steps below to add additional domains to your service:

1.   Log in to the [Fastly control panel](https://manage.fastly.com).

2.   From the [**Home**](https://manage.fastly.com/home) page, select the appropriate service. You can use the search box to search by ID, name, or domain.

3.   Click **Edit configuration** and then select the option to clone the active version.

4. Click **Create domain**.
5. Fill out the domain creation fields as follows:
   - In the **Domain** field, enter the public domain you want users to visit.
   - _(Optional)_ In the **Comment** field, enter a comment that describes the domain.
6. Click **Add**. Your new domain appears in the list of domains.
7.   From the **Activate** menu, select **Activate on Production** to deploy your configuration changes.

Once you create a domain, you'll want to [test](https://www.fastly.com/documentation/guides/getting-started/domains/working-with-domains/working-with-classic-domains#testing-a-domain) it before [adding a CNAME DNS record](https://www.fastly.com/documentation/guides/getting-started/domains/working-with-domains/working-with-cname-records-and-your-dns-provider) for your domain name to begin routing traffic through Fastly.

## Testing a domain

After you activate your service configuration, you can check to see how your service is handled by our network before you [change your DNS entries](https://www.fastly.com/documentation/guides/getting-started/domains/working-with-domains/working-with-cname-records-and-your-dns-provider) to send your traffic to our servers. Testing your domain can help you identify DNS issues or problems with your Fastly configuration.

You can test your domain using a link in the web interface by following the steps below. Alternatively, you can [test domains using command line utilities](https://www.fastly.com/documentation/guides/getting-started/domains/working-with-domains/testing-domains-using-command-line-utilities).

1.   Log in to the [Fastly control panel](https://manage.fastly.com).

2.   From the [**Home**](https://manage.fastly.com/home) page, select the appropriate service. You can use the search box to search by ID, name, or domain.

3. From the Domains controls, locate the domain you want to test in the Domains section labeled **Classic**.
4. Click **Test** next to the domain you want to test.
5. Verify that your website appears in a new tab in your web browser.

## Configuring DNS records

Once you're ready to have Fastly serve production traffic for your domain, you'll need to configure or update your DNS records to point to Fastly by setting up a [CNAME record for the domain](https://www.fastly.com/documentation/guides/getting-started/domains/working-with-domains/working-with-cname-records-and-your-dns-provider).

By configuring your DNS records, you accomplish a few things:

- You prove that you are the owner of the domain.
- You enable traffic to be delivered securely.
- You authorize Fastly to deliver your site to people visiting your domain name.

## Editing a domain

You can edit a domain to update the domain name:

1.   Log in to the [Fastly control panel](https://manage.fastly.com).

2.   From the [**Home**](https://manage.fastly.com/home) page, select the appropriate service. You can use the search box to search by ID, name, or domain.

3. From the Domains controls, locate the domain you want to delete in the Domains section labeled **Classic**.
4. Click the more menu <span class="inline-icons"><img src="/img/icons/more.png" alt="More icon" /></span> to the right of the domain you want to delete and then click the pencil <span class="inline-icons"><img src="/img/icons/pencil.png" alt="Pencil icon" /></span>
5. Update the following fields as needed:
   - In the **Domain Name** field, enter the fully qualified domain name (FQDN) users will visit.
   - _(Optional)_ In the **Comment** field, enter a comment that describes the domain.
6. Click **Update**.

## Deleting a domain

Follow the steps below to delete a domain.

> **IMPORTANT:** If you have TLS certificates associated with the domain, you must [remove the certificates from the domain](https://www.fastly.com/documentation/guides/getting-started/domains/working-with-domains/working-with-classic-domains#managing-tls-certificates) before deleting the domain.

1.   Log in to the [Fastly control panel](https://manage.fastly.com).

2.   From the [**Home**](https://manage.fastly.com/home) page, select the appropriate service. You can use the search box to search by ID, name, or domain.

3. From the Domains controls, locate the domain you want to delete in the Domains section labeled **Classic**.
4. Click the more menu <span class="inline-icons"><img src="/img/icons/more.png" alt="More icon" /></span> to the right of the domain you want to delete and then click the trash <span class="inline-icons"><img src="/img/icons/trash.png" alt="Trash icon" /></span>.
5. Click **Confirm and delete**.

## What's next

When you're ready to route production traffic through Fastly, use the information in the [domain details](https://www.fastly.com/documentation/guides/getting-started/domains/working-with-domains/working-with-classic-domains#viewing-domain-details) to update your DNS records to begin routing client traffic through your Fastly service instead of directly to your origin.

You may also want to learn more about [working with hosts](https://www.fastly.com/documentation/guides/getting-started/hosts/working-with-hosts) and [working with health checks](https://www.fastly.com/documentation/guides/getting-started/hosts/working-with-health-checks) as you continue to refine versions of your service configurations.

## Related content

- [Domains and origins](https://www.fastly.com/documentation/guides/full-site-delivery/domains-and-origins)
- [Routing traffic to Fastly](https://www.fastly.com/documentation/guides/concepts/routing-traffic-to-fastly/)
- [Domain API documentation](https://www.fastly.com/documentation/reference/api/services/domain/)
