Perhaps the single best thing you can do for any publication is to give it an identity with a custom domain name.

It’s possible to connect any domain or subdomain that you own to your Ghost(Pro) publication by adding a CNAME record to your domain’s DNS records. SSL certificates are automatically created (and renewed each year) for you.

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

Access Domain DNS Settings

The first step in setting up your custom domain is to head over to your domain's DNS settings on Namecheap.Login to your Namecheap account and find the domain you want to configure with your Ghost(Pro) publication, then click the manage button:

Namecheap Domain List

Check that NS (Nameserver) record is set to “Namecheap BasicDNS”:

Namcheap BasicDNS

Providing your Nameserver is set correctly, you will be able to use the “Advanced DNS” settings:

Namecheap Advanced DNS Settings

Create CNAME Record

The next step is to create a CNAME record on your Namecheap domain to map your domain to your Ghost(Pro) publication.

Add a new CNAME record to your DNS:

Namecheap Add CNAME Record

Determine whether you want to use your custom domain with Ghost(Pro) as a subdomain or a root domain – www.yourdomain.com or yourdomain.com.

Subdomains
A subdomain is a subdivision of your domain name. For example, if you want to use Ghost(Pro) at blog.ghost.org, blog, would be a subdomain of ghost.org. The most common subdomain is www.

Root Domain
A root domain, also known as a naked domain, has no subdomain at the front, e.g. ghost.org is a root domain. Root domains are assigned in DNS records using the @, symbol.

See the table below for example configurations:

Example configurations
Desired Domain Record Type Host Value
www.yourdomain.com CNAME www <subdomain>.ghost.io
blog.yourdomain.com CNAME blog <subdomain>.ghost.io
yourdomain.com CNAME @ <subdomain>.ghost.io

Once you know how you would like to configure your domain, enter the details into Namecheap and create your CNAME record, for example:

Namecheap Save CNAME

Redirecting to your new custom domain

Once you have your CNAME record in place, it's recommended that you create a redirect record to ensure that users are redirected to the correct location when they visit your site.

Add a new URL Redirect Record in Namecheap from the same screen as your CNAME record:

Redirect the subdomain (www) to the root domain (non-www)
In the Host field, enter www and in the Destination URL, enter https://yourdomain.com.

Redirect the root domain (non-www) to the subdomain (www)
In the Host field, enter @ and in the Destination URL, enter https://www.yourdomain.com.

Domain Activation

The final step to complete your custom domain setup is to go back to Ghost.org and activate your custom domain.

  • Log into your Ghost.org account at my.ghost.org/signin and setup a custom domain in the "Domain Settings" section.

  • Enter the domain into the custom domain field on my.ghost.org, making sure to include www when entering the domain. For example, www.yourdomain.com:

Activate Custom Domain

  • Activate your custom domain - this can take anywhere from a few seconds to a few hours due to the length of time your DNS takes to propagate.

  • Once activated, you can view your publication by going to the custom domain directly from the browser.

Summary

Congratulations! 🎉 You've successfully configured your DNS on Namecheap to point to your Ghost(Pro) site! People will be much more likely to remember yourbrand.com than yourbrand.ghost.io.

If you're having trouble getting your custom domain to activate, drop support@ghost.org a message for help.