Skip to main content
Publish your app to your own custom domains like myapp.com for a professional branded experience.
Domain redirect settings

How do I publish my app to my own custom domain?

Go to Domains tab, click Add a custom domain, then enter your domain name.
Add a custom domain

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:
TypeNameValue
A@104.18.220.38
CNAMEwwwcname.onhercules.app
CNAME_acme-challenge<your-unique-acme-challenge-value>
TXT_cf-custom-hostname<your-unique-custom-hostname-value>
DNS configuration

Will this work for www too?

Yes. When setting up your custom domain, you can choose to have all subdomains redirect to your root domain (e.g. www.myapp.com would redirect to myapp.com).
Domain redirect settings

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.
Having trouble connecting a domain
Domain diagnostics
If your domain still isn’t working even when all checks are green, please click “Report an issue” inside of Hercules and a member of the Hercules team will help

Can I connect multiple domains to the same app?

Yes. You can connect as many custom domains as you’d like to a single app. All domains will show the same content.

Additional FAQ

Not currently but we are enabling it very soon. For now, you’ll need to purchase your domain from a registrar like GoDaddy, Namecheap, Google Domains, or Cloudflare, then connect it to Hercules.
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.
No. Hercules does not currently support wildcard subdomains. You’ll need to add each subdomain individually.
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.