---
title: "Publish your app and connect a custom domain"
description: "Publish your Hercules app to a free onhercules.app address, then buy a domain in Hercules or connect one you already own. Custom domains need a paid plan."
---

# Publish your app and connect a custom domain

Click Publish and your app is live at a free yourapp.onhercules.app address. To use your own name, buy a domain in Hercules or connect one you already own. Either one needs a paid plan.

A domain you buy in Hercules connects itself. One from another registrar needs a few DNS records, the settings that tell the internet where a domain points.

- **Free address.** Every app gets a yourapp.onhercules.app address on every plan.
- **Buy in one place.** Search for, buy and connect a domain in the Domains tab.
- **Many domains, one app.** Connect as many domains as you want to one app.

## What can you do with custom domains?

### Keep the free address

Your app keeps its onhercules.app address after you add a domain. You can rename it but can't remove or disable it. [Your Hercules domain](https://hercules.app/docs/apps/publish/hercules-domain)

### Buy a domain without leaving Hercules

Search the Domains tab and buy several domains in one checkout. Edit their DNS records in the same tab, such as MX records for Gmail. [Buy a domain](https://hercules.app/docs/apps/publish/buy-domain)

### Connect a domain you already own

Add the domain in the Domains tab, then copy the records on its card into your registrar. Most domains work within minutes, though DNS changes can take up to 48 hours. [Connect an existing domain](https://hercules.app/docs/apps/publish/connect-existing-domain)

### Find out why a domain isn't working

The "Having trouble connecting a domain?" link opens a diagnostics tool that checks your DNS. It names the problem, such as a wrong record type or a missing record. [Troubleshooting](https://hercules.app/docs/apps/publish/connect-existing-domain)

### Put each app on its own subdomain

Run the customer portal at portal.yourcompany.com and the quoting tool at quotes.yourcompany.com. You can also redirect www to the root domain. [Connect an existing domain](https://hercules.app/docs/apps/publish/connect-existing-domain)

## How does publishing to your own domain work?

### 1. Publish to your free address

Click Publish and enter a subdomain. Hercules puts the app live there in seconds.

### 2. Ask Hercules for a domain

> Buy a .com domain for our customer portal.

Hercules confirms the purchase before it buys, and the domain connects itself.

### 3. Ask Hercules to set your preferred domain for search

> Set canonical URLs to portal.yourcompany.com.

Hercules sets canonical URLs, so search engines prefer your domain over the onhercules.app address. [Your Hercules domain](https://hercules.app/docs/apps/publish/hercules-domain)

## How has a business used custom domains on Hercules?

American Mortuary Equipment's owner, TR Ward, built 115+ sites on Hercules, one for each product his buyers search for. He published them on separate domains in a matter of weeks. He can now create a new site with its own custom domain in about a minute. By June 2026, over half of his domains ranked on Google's first page, and the sites had increased his organic traffic 10%.

> I went through a couple of other platforms, but Hercules is by far the best. I can bulk create as many sites as I want. Without Hercules there is no way 50% of my domains would be on the first page of Google.

TR, Owner, American Mortuary Equipment

Read the [American Mortuary Equipment story](https://hercules.app/customers/american-mortuary-equipment)

## What should you know before you connect a domain?

- Hercules disconnects a custom domain if your plan drops custom domains or the domain goes 7 days without a working connection. Fix the cause, then click Reconnect.
- Hercules can't receive a domain transfer from another registrar. Connect the domain with DNS records instead.
- Domains you buy use Hercules nameservers, and you can't switch them to your own.
- You can't put your own Cloudflare proxy, CDN or Worker in front of a custom domain.
- See what each plan includes on the [pricing page](https://hercules.app/pricing).

## Related features

- Use [Hercules Email](/features/email) to send from your domain when customers should see your name as the sender.
- Use [SEO and AEO](/features/seo-review) to grade your app for search and AI answer engines once it's on your domain.
- Use [Mobile apps](/features/mobile-apps) to put your published address on home screens when people work from phones.

## How do you get started?

Publish your app, then buy or connect a domain in the Domains tab. No app yet? Start building.

## Frequently asked questions

### Can I use wildcard subdomains?

Hercules doesn't support wildcard subdomains, so add each subdomain in the Domains tab. [Connect an existing domain](https://hercules.app/docs/apps/publish/connect-existing-domain)

### Can I keep my main website and put the app on a subdomain?

Yes. Add the subdomain, such as app.yourcompany.com, in the Domains tab and its CNAME record at your registrar. Leave the root record alone.

### Why does Chrome warn visitors away from my new domain?

Google Safe Browsing sometimes flags brand-new domains by mistake. A review request in Google Search Console usually clears the flag in 24 to 72 hours. [Safe Browsing warnings](https://hercules.app/docs/apps/publish/domain-warnings)

### What happens to a domain I bought in Hercules if I leave?

You own the domain, registered through Name.com. Hercules support can move it to you at Name.com at any time, or to another registrar 60 days after purchase. [Buy a domain](https://hercules.app/docs/apps/publish/buy-domain)

```json
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Can I use wildcard subdomains?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Hercules doesn't support wildcard subdomains, so add each subdomain in the Domains tab. Connect an existing domain"
      }
    },
    {
      "@type": "Question",
      "name": "Can I keep my main website and put the app on a subdomain?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Add the subdomain, such as app.yourcompany.com, in the Domains tab and its CNAME record at your registrar. Leave the root record alone."
      }
    },
    {
      "@type": "Question",
      "name": "Why does Chrome warn visitors away from my new domain?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Google Safe Browsing sometimes flags brand-new domains by mistake. A review request in Google Search Console usually clears the flag in 24 to 72 hours. Safe Browsing warnings"
      }
    },
    {
      "@type": "Question",
      "name": "What happens to a domain I bought in Hercules if I leave?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "You own the domain, registered through Name.com. Hercules support can move it to you at Name.com at any time, or to another registrar 60 days after purchase. Buy a domain"
      }
    }
  ]
}
```
