Start a conversation

Custom Domains Using Namecheap

To setup your domain from Namecheap to use Ghost, follow the steps below.

Access DNS records

  1. Log in to your Namecheap account.
  2. Click on the Manage button next to the domain you are working with.
  3. From the options directly underneath your domain, select Advanced DNS.

Subdomain Setup

Set your domain up using the www subdomain, e.g. www.yourdomain.com

  1. Click Add New Record
  2. Select CNAME Record from the Type dropdown that appears.
  3. In the Host field, enter www.
  4. In the Target field, enter your ghost.io blog URL, e.g. yourblog.ghost.io.
  5. Select Automatic from the TTL dropdown menu.
  6. Click the checkmark when finished to save your DNS record.

Root Domain Setup

Note: Namecheap doesn’t recommend to create CNAMEs for a root domain, as this affects the operation of the domain's MX records and, consequently, the email service.

Set your domain up without using the www subdomain, e.g. yourdomain.com

  1. Click the Add New Record text on your DNS settings screen
  2. Select CNAME Record from the Type dropdown menu.
  3. In the Host field, enter @.
  4. In the Target field, enter your ghost.io blog URL, e.g. yourblog.ghost.io.
  5. Select Automatic from the TTL dropdown menu.
  6. Click the checkmark when finished to save your DNS record.

Redirect the Subdomain

Redirect the www subdomain to the root domain.

  1. Click the Add New Record text on your DNS settings screen.
  2. Select URL Redirect Record from the Type dropdown menu.
  3. In the Host field, enter www.
  4. In the Destination URL field, enter in your root domain, e.g. http://mydomain.com.
  5. Select Permanent (301) from the dropdown menu directly underneath the destination URL field.

Redirect the Root Domain

Redirect the root domain to the www subdomain.

  1. Click the Add New Record text on your DNS settings screen.
  2. Select URL Redirect Record from the Type dropdown menu.
  3. In the Host field, enter @.
  4. In the Destination URL field, enter in your root domain, e.g. http://www.yourdomain.com.
  5. Select Permanent (301) from the dropdown menu directly underneath the destination URL field.

NOTE: Namecheap URL redirect records can take up to 30 minutes to take effect. 

Update the Publication Settings

  1. Log in to Ghost.org at https://ghost.org/signin
  2. From the Publications list, click More and select Domain


  3. Under “Domain settings,” click Set up next to Custom Domain

  4. On the custom domain setup form, begin by entering the custom domain to be used with the publication.


  5. Next, given you've already setup your CNAME record, click Activate custom domain to activate your custom domain with your Ghost publication.


    During the activation process, we will check to make sure the CNAME record has been pointed correctly, as well as issue an SSL certificate with your custom domain. If the activation is successful, your custom domain (and SSL certificate) will be used with the publication.

    If the activation fails, you will receive an error message in red indicating what needs to be corrected. For custom domain troubleshooting, please see our custom domain setup guide.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Sarah Frantz

  2. Posted
  3. Updated