> ## Content Index
> Fetch the complete content index at: https://ghost.org/help/llms.txt
> Use this file to discover other available public pages before exploring further.

# Gandi domain setup
- URL: https://ghost.org/help/gandi-domain-setup/
- Published: 2023-03-21T19:07:00.000Z
- Updated: 2024-03-12T13:29:53.000Z
- Description: Learn how to setup a custom domain with Ghost(Pro) and Gandi.
- Author: Ghost
- Tags: Ghost(Pro)

Establish yourself as a branded, professional publication by using a memorable custom domain.

You can connect any domain or subdomain you own directly your Ghost(Pro) publication by adding a CNAME record within your domain's DNS settings. Each Ghost(Pro) publication is also provided an SSL certificate by default, which is renewed for you automatically each year.

If you own a Gandi domain, the following steps explain how you can implement a custom domain with your Ghost(Pro) publication.

## Step 1: Access Domain DNS settings

The first step in setting up your custom domain is to sign into your Gandi dashboard, then head over your domain settings.

Select the domain to be configured with your Ghost(Pro) site.

![](https://storage.ghost.io/c/69/0f/690faecc-18d1-42c5-a99a-83ce5fada384/content/images/2019/06/gandi-select-domains.png)

Next, click "DNS Records" from the domain settings toolbar at the top.

![](https://storage.ghost.io/c/69/0f/690faecc-18d1-42c5-a99a-83ce5fada384/content/images/2019/06/gandi-select-dns-records.png)

## Step 2: Create a CNAME record

From the DNS Records settings, click "Add" to add a new DNS record, and create the following DNS records:

| Subdomain DNS Configuration |     | Record Type             | Host | Value |
| --------------------------- | --- | ----------------------- | ---- | ----- |
| CNAME                       | www | \[subdomain\].ghost.io. |      |       |
| A                           | @   | 178.128.137.126         |      |       |

💡

Remember to end the CNAME value with a full stop "." after the ghost.io URL.

**Note:** The `A` record will automatically redirect both the `http` and `https` root domain to the subdomain you configure.

**Root Domain Configuration**  
Gandi **does not support `CNAME` root domain configurations** and using an `A` record to achieve a root domain is not supported. To setup a root domain configuration, we recommend that you consider using [Cloudflare](https://ghost.org/help/cloudflare-domain-setup/) for additional flexibility.

## Step 3: Activate the Custom Domain

Login to your publication's Ghost Admin area, and go to the **Ghost(Pro) > Domain** settings.

Click **Setup**, and enter your custom domain into the custom domain field, then click **Activate**, to activate your custom domain.