How to set up custom domain on Ghost
Setting up a custom domain on Ghost involves configuring your domain's DNS records to point to Ghost's servers and updating your site's URL in Ghost admin. The process requires adding A records or CNAME records and updating the site configuration.
Prerequisites
- Ghost site hosted on Ghost Pro or self-hosted
- Custom domain purchased from a domain registrar
- Access to DNS settings for your domain
- Admin access to your Ghost site
Step-by-Step Instructions
Access your Ghost Admin panel
yoursite.ghost.io/ghost and entering your credentials. Click on Settings in the left sidebar, then select General from the settings menu.Update your site URL
https://yoursite.ghost.io to https://yourdomain.com. Click Save to apply the changes.Configure DNS A records
- Host/Name: @ (root domain) Value: 178.128.43.39
- Host/Name: www Value: 178.128.43.39
Add CNAME record (if using subdomain)
blog.yourdomain.com, add a CNAME record instead:- Host/Name: blog (or your chosen subdomain)
- Value: yoursite.ghost.io
- TTL: 3600 seconds
Wait for DNS propagation
nslookup yourdomain.com in your terminal. The domain should resolve to Ghost's IP address when ready.Enable SSL certificate
Test and verify setup
- The site loads without errors
- HTTPS is working (look for the padlock icon)
- All internal links redirect to the new domain
- Admin panel is accessible at
yourdomain.com/ghost
Update redirect settings (optional)
Common Issues & Troubleshooting
Domain not resolving after DNS changes
Check that DNS records are correctly configured with your registrar. Verify A records point to 178.128.43.39 and allow up to 48 hours for full propagation. Use DNS lookup tools to verify changes.
SSL certificate not generating
Ensure DNS is fully propagated before requesting SSL. In Ghost admin, go to Settings > General and try regenerating the certificate. If issues persist, contact Ghost support for manual certificate provisioning.
Site showing 'Page not found' error
Verify the site URL in Ghost admin matches your custom domain exactly, including HTTPS protocol. Check that DNS records are pointing to the correct Ghost IP address and clear your browser cache.
Admin panel not accessible on custom domain
Confirm the site URL in Ghost settings includes the full domain with HTTPS. Try accessing yourdomain.com/ghost directly. If still not working, temporarily revert to the original Ghost URL to regain access and reconfigure.