To use your own custom domain with Craft share URLs, you'll need to modify your DNS records so that they point to Craft. As your domain is hosted by another provider, Craft can't do this automatically so please follow the steps below.
If you’d like more information about using custom domains before setting up the feature please see our FAQ page.
Note: Plus or higher subscription plans include the Custom Domain feature.
Step 1
Firstly you'll need to navigate to the Web Application and go to the Team in question > "Settings" > "Custom Domain". You'll need to be an admin of a business plan in order to access this page.
Step 2
Next, you'll need to change your DNS records through your domain registrar's (GoDaddy, Namecheap, Google Domains, etc) or DNS provider's (Cloudflare, Netlify, etc) website. We've covered the most popular providers below.
If you don't already own a domain you'll need to purchase one. Note that Craft supports subdomains and not root domains at this time.
GoDaddy
- Log in to GoDaddy and navigate to Domain Management.
- Under My Products, next to Domains, click Manage DNS.
- Click the domain you'd like to manage.
- Click Add.
- Copy and past in the CNAME records provided in the admin panel
- Once you've saved your records in GoDaddy, click I've added my DNS record in Craft and your DNS will begin to propagate. This usually takes a few minutes, but in some cases, propagation can take up to 24 hours. Once the DNS is verified the flashing amber dot will turn green and your domain is ready to use.
Cloudflare
-
Set Records on Cloudflare
To connect a subdomain to using Cloudflare eg: blog.yourcompany.com where the blog is the subdomain, use:
Type Name Content CNAME blog craft-hosting.do
-
Make sure to Configure SSL
Ensure the SSL/TLS encryption mode is set to Full or Full (strict):
When Cloudflare proxy is on your site, it may show an error: err_too_many_redirect.
This issue occurs when your Cloudflare SSL/TLS configuration is set to "Flexible". This will have Cloudflare send requests to Craft over HTTP and in response Craft will send data back over HTTPS. To keep all our connections secure you must request Cloudflare to only send requests over HTTPS. To fix this issue, the "SSL/TLsS" option in Cloudflare needs to be set to "Full" or "Full (strict)".
Bluehost
- Click the Domains tab from the side navigation menu.
-
Next to the domain name you'd like to update, click the dropdown icon next to Manage, then choose DNS from the drop-down menu.
- Scroll down to locate the record type you'd like to add and click Add Record.
- Copy and past in the CNAME records provided in the admin panel
- Once you've saved your records in Bluehost, click I've added my DNS record in Craft and your DNS will begin to propagate. This usually takes a few minutes, but in some cases, propagation can take up to 24 hours. Once the DNS is verified the flashing amber dot will turn green and your domain is ready to use.
NameCheap
- Select Domain List from the left sidebar.
-
Click the Manage button next to your domain.
- Click Advanced DNS.
- Click Add New Record.
- Copy and past in the CNAME records provided in the admin panel
- Once you've saved your records in NameCheap, click I've added my DNS record in Craft and your DNS will begin to propagate. This usually takes a few minutes, but in some cases, propagation can take up to 24 hours. Once the DNS is verified the flashing amber dot will turn green and your domain is ready to use.
Troubleshooting
If you run into issues, please make sure that you have:
- Added new DNS records to your domain provider
- Removed old DNS records
- Wait up to 24 hours for new settings to propagate
You can use this tool to check if the records are set up correctly: https://www.whatsmydns.net/