myapp.com) to your Hercules app for a professional branded experience.

How do I connect an existing domain?
Go to the Domains tab, click Add Domain under the “Connect an existing domain” section, then enter your domain name.
What are DNS records? Where/How do I add them?
You purchase your domain at a domain registrar (like GoDaddy, or Name.com). You build and host your app with Hercules. You use DNS records to connect your domain to Hercules so the internet knows where to find your website. You must set up your DNS records following the instructions we give you:| Type | Name | Value |
|---|---|---|
| A | @ | 104.18.220.38 |
| CNAME | www | cname.onhercules.app |
| CNAME | _acme-challenge | <your-unique-acme-challenge-value> |
| TXT | _cf-custom-hostname | <your-unique-custom-hostname-value> |

Will this work for www too?
Yes. When setting up your domain, you can choose to have all subdomains redirect to your root domain (e.g. www.myapp.com would redirect to myapp.com).

My domain isn’t working, what do I do?
Click Having trouble connecting a domain? to open the diagnostics tool. This will check your DNS configuration and show you exactly what’s wrong. The diagnostics will identify common issues like incorrect DNS record types, missing DNS records, or DNS propagation delays.

Can I connect multiple domains to the same app?
Yes. You can connect as many domains as you’d like to a single app. All domains will show the same content.Additional FAQ
Want to buy a new domain instead?
Want to buy a new domain instead?
You can purchase and register a domain directly inside Hercules with no DNS setup required. See
Buy a domain in Hercules.
How long will it take for my domain to start working?
How long will it take for my domain to start working?
Usually within minutes, but DNS changes can take up to 48 hours to fully propagate. If your
domain isn’t working after a few hours, use the diagnostics tool to check your configuration.
Can I set up wildcard routing for custom subdomains?
Can I set up wildcard routing for custom subdomains?
No. Hercules does not currently support wildcard subdomains. You’ll need to add each subdomain
individually.
My domain doesn't work on my device but works on someone else's?
My domain doesn't work on my device but works on someone else's?
This is usually a DNS caching issue. Try clearing your browser cache, flushing your DNS cache,
or waiting a few hours. Different ISPs and devices cache DNS records for different amounts of
time.