How to add DNS records on Ghost
Adding DNS records on Ghost involves configuring your domain's DNS settings through your domain registrar to point to Ghost's servers. For Ghost(Pro), you'll add specific A records and CNAME records provided by Ghost to connect your custom domain.
Prerequisites
- Ghost(Pro) account or self-hosted Ghost installation
- Administrative access to your domain registrar
- Basic understanding of DNS record types
- Domain ownership verification
Step-by-Step Instructions
Access Ghost Admin Panel
yourdomain.com/ghost and navigate to Settings > General. Scroll down to find the Publication info section where you can manage your domain settings.Configure Custom Domain in Ghost
https://yourdomain.com) and click Save. Ghost will provide you with the DNS records you need to configure.Get DNS Record Information
- A Record: Points to Ghost's IP address
- CNAME Record: For www subdomain
- MX Records: If using Ghost's email features
Access Your Domain Registrar's DNS Management
Add A Record for Root Domain
- Name/Host: @ or leave blank for root domain
- Value/Points to: Ghost's IP address from step 3
- TTL: 3600 or leave as default
Add CNAME Record for WWW Subdomain
- Name/Host: www
- Value/Points to: Your root domain or Ghost's CNAME target
- TTL: 3600
Verify DNS Propagation
whatsmydns.net or dnschecker.org to check propagation status. You can also use command line: nslookup yourdomain.com to verify the records are pointing correctly.Test Your Ghost Site
http://yourdomain.com and http://www.yourdomain.com. Ghost should automatically redirect to HTTPS and display your site properly.Common Issues & Troubleshooting
DNS records not propagating after 48 hours
Double-check that you entered the correct IP address and record types. Contact your domain registrar's support to verify there are no conflicts or issues with your DNS zone file.
Site shows 'Site not found' error
Verify that the Site URL in Ghost admin exactly matches your domain. Ensure there are no typos and that you're using https:// prefix.
SSL certificate errors on custom domain
Ghost automatically provisions SSL certificates, but this can take up to 24 hours. Ensure your DNS records are correct and wait for the certificate to be generated. Avoid accessing the site via HTTP during this time.
WWW version not redirecting properly
Check that your CNAME record for www is correctly pointing to your root domain. Some registrars require the full domain name including the dot at the end (e.g., yourdomain.com.).