Custom Domains
By default, your WunderGraph Cloud project will immediately receive a dedicated subdomain upon deployment, i.e., https://{your-project-name}.wundergraph.dev
.
If you wish to use your own domain, it is possible to add it to your deployment. By default, each project may have up to three custom domains. If you need more, please contact us.
Adding a custom domain
Click your project and then click on the Settings
tab. On this screen, click on the menu item labeled Custom domains
.
In the input field labeled Domain
, enter your domain (without https://
), for example, mysubdomain.domain.com
. If your domain was rejected, but you're certain that it was valid, please let us know.
The Branch
dropdown is currently disabled while only one project environment is available per project. This will be enabled in the future.
Click Add
. You should see a loading icon, and a toast should report either success or failure. In the case of failure, the message within the toast should explain the reason. If you're experiencing continued trouble creating a domain, please report it.
After success, you will be able to see your custom domain within a list, and a (unverified) certificate for that domain will be automatically added to your deployment.
DNS configuration
Each custom domain list item contains a dropdown labeled DNS configurations
. Clicking this will display some CNAMEs and targets that you should enter into domain provider's DNS configuration. You can use the copy button to add each item directly to your clipboard.
The first CNAME points your domain to the WunderGraph domain.
The second CNAME is for certificate verification.
You can find more specific domain provider instructions in the following sections.
Verification
A certificate for your domain is produced automatically when you add the domain. The UI will read either unverified
or pending
. Pending
means that the request for the certificate verification is currently in-flight. Once the response arrives, it will change to unverified
or verified
. Once you have added the DNS configurations correctly, the UI will display verified
. You can click the Verify
button to check the status of your certificate at any time.
Certificates will expire after three months and should automatically reissue.
Cloudflare
- Go to your dashboard
- Click your domain
- Click DNS > Records
- In the
DNS management for {domain}
UI, clickAdd record
- Choose
CNAME
for the type. - Using the copy buttons in your deployment, paste the
CNAME
andTarget
into the respective boxes. - Toggle Proxy status to off (DNS only)
- Save
There are reports that Cloudflare can interrupt the certificate verification process. If you believe this is happening, try the following:
- Click your domain
- Click SSL/TLS > Overview
- Check
Off (not secure)
Google Domains
- Go to Google Domains
- Click
My domains
- Click
Manage
next to your domain - Click
DNS
on the left side - Click
Manage custom records
- Using the copy buttons in your deployment, paste the
CNAME
andTarget
into the respective boxes. - Save
GoDaddy
- Go to GoDaddy products
- Click your domain
- Click
Domain
on the left side - Click
Manage DNS
- Click
Add
on theDNS-Records
panel - Using the copy buttons in your deployment, paste the
CNAME
andTarget
into the respective boxes. - Save
Deleting a custom domain
You can delete a custom domain by clicking the Delete
button. You will then be asked to confirm the deletion. Deleting the domain will also automatically delete the certificate associated with it.
When you delete your project, all associated domains and certificates will be deleted automatically.
Troubleshooting
Even when everything is configured correctly, it can take up to 24 for DNS to propagate.
You can use the following command to test whether your domain is working reliably:
If your browser is displaying DNS errors, but curl
returns the expected response, consider waiting up to 24 hours before troubleshooting further.