Custom Domains
Introduction
In the Domains
tab of your Project, you can see the default Hasura domain, and you have the possibility to add custom
domains.
Adding a custom domain
You can add a custom domain to your Hasura Cloud project by following the steps below.
Step 1: Navigate to add a custom domain
On the Domains
tab, click on the New Custom Domain
button.
Step 2: Add your custom domain
Enter your custom domain and click the Add
button.
Step 3: Add the record to your DNS
After adding a custom domain, the following window will show up:
Add the default Hasura domain as a CNAME
record to your DNS.
If you're using Cloudflare as your DNS provider, do not enable the proxy (orange cloud)
until the certificate is generated. i.e. Proxy status
should be DNS only
. You can enable the proxy after SSL
certificate is generated.
Until this is done, the dashboard will show a notice that the DNS validation is pending.
Depending on your DNS provider, it might take up to 24 hours for the DNS record to be added.
DNS validated
Once the DNS is validated, the dashboard will update the status with the following notice: