Domains and email

Connect your domain. Then set up email on it.

Point a domain you already own at any project, verify it with a TXT record and get SSL automatically. Then add mailboxes and aliases on the same domain, and send transactional email from your app.

Exact DNS recordsTXT ownership checkAutomatic SSLMailboxes and aliases

Connect a domain in three steps.

Keep your registrar and your DNS provider. You add the records we show, and we check them for you.

  1. Add it to a projectEnter the domain and pick the project it should serve. You get the exact DNS records to set at your DNS provider.
  2. Prove that you own itA TXT record verifies ownership. The domain serves your project only after it is verified.
  3. Get SSL automaticallyOnce the records point here, a Let’s Encrypt certificate is issued for the domain. HTTPS works without extra setup.

Moving a whole site? The import’s DNS cutover lists exactly which records to change and which to keep. How migrations work

See exactly where each domain stands.

Each domain shows the records it needs, what DNS returns right now and whether its certificate is active.

  • Redirect www to your apex domain, or the other way around
  • Permanent (301, 308) or temporary (302, 307) redirects
  • The current DNS value is shown next to the expected one, so you see what is missing
  • Add, verify and remove domains from the dashboard, the CLI or the API

DNS for example.com

  • TXT _hostingsurgeOwnership verified
  • A @Valid
  • CNAME wwwValid
  • Redirectwww → example.com (308)
  • CertificateActive

Email on your own domain.

Mailboxes for your team and transactional email for your app, on the same domain and in the same dashboard.

Mailboxes

Create mailboxes on your own domain, like anna@yourcompany.com.

Aliases

Forward addresses like hello@ or sales@ to one or more mailboxes.

Import over IMAP

Switching providers? Copy your existing mailboxes over IMAP into the new ones.

Transactional sending

Send receipts, sign-in links and notifications from your app with the sending API or SMTP credentials.

Sending is reviewed first. To protect deliverability, transactional sending is enabled per organization after a review. Mailboxes need no review, only the DNS records the dashboard shows.

Script it, or let your AI set it up.

Domains and email are in the Hostingsurge CLI and on the MCP server. Your assistant gets the exact records to add and checks them once they are set.

  • Add, verify and remove domains with hostingsurge domains
  • Email domains, mailboxes and sending with hostingsurge email
  • MCP tools for domains and email in Claude, ChatGPT, Cursor and VS Code
  • A REST API with an OpenAPI spec, plus --json output for scripts

CLI, API and MCP

# Connect a domain and redirect www to it
hostingsurge domains add example.com
hostingsurge domains add www.example.com \
  --redirect-to example.com
hostingsurge domains verify example.com

# Mailboxes on the same domain
hostingsurge email domains add example.com
hostingsurge email mailboxes add hello \
  --domain example.com

Domain and email questions

Do I need to move my domain or change nameservers?

No. Your domain stays with your registrar and your DNS stays with your current provider. You add the records the dashboard shows, and Hostingsurge checks them for you.

Why do I need a TXT record?

It proves that you own the domain, so no one else can connect it to their project. Keep the record in place after the domain is live.

How long before my domain works?

As soon as your DNS changes are visible. That usually takes minutes, sometimes a few hours, depending on your DNS provider. The certificate is then issued automatically.

Can I keep my existing email?

Yes. Create the mailbox on Hostingsurge, then import the old one over IMAP from your current provider.

How do I send email from my app?

Request transactional sending for your organization in the dashboard. Once it is approved, create SMTP credentials or call the sending API, from a domain whose DNS records are in place.

Which plan includes domains?

Pro ($25 a month) includes every platform module, domains among them. Business ($50 a month) adds teams, admin and policy controls.

Bring your domain. We’ll show you every record.

Connect it to a project, get SSL automatically and set up email on the same name.