Skip to main content

Custom Domains

Connect your own domain to Hostsmith, then publish sites on it, such as www.yourname.com. Custom domains are on the Pro plan and up: Pro includes 5, Agency 25 and Premium 50. See Pricing.

How it works

When you add a custom domain, Hostsmith:

  1. Gives you DNS records - you add them where the domain's DNS is managed
  2. Validates ownership - Hostsmith checks the records are in place
  3. Provisions SSL - a certificate is issued for the domain and its subdomains
  4. Configures the CDN - your domain is served from the Hostsmith CDN for fast global delivery

Supported domain types

  • Domains - example.com
  • Subdomains - sites.example.com, client.agency.com: any subdomain whose DNS you control, such as one a client's IT team has handed over to you

For each domain you choose what it serves:

  • Subdomains - sites at <name>.example.com, for example blog.example.com and docs.example.com
  • Apex domain - one site at www.example.com; visitors who type example.com are redirected to it

Adding a domain

Prerequisites

  • A domain or subdomain whose DNS records you can change
  • The Pro plan or above

Step 1: Add the domain

On the Domains page, click Add domain (Add on a phone) and enter your domain, for example example.com or sites.example.com. Choose Subdomains, Apex domain, or both, and its Data residency, where sites on it store their files. Then click Continue.

Step 2: Add the DNS records

Hostsmith shows the records to add, with names relative to your domain (@ is the domain itself). Depending on your choices:

RecordTypeWhen
_<token>CNAMEAlways: proves you own the domain, for the SSL certificate
*CNAMEWith subdomains
@ (two records)AWith the apex domain: redirects example.com to www.example.com
wwwCNAMEWith the apex domain: serves your site

Add them in your DNS provider's dashboard, in the zone for the domain you added. Export CSV downloads them as a file. You can close the drawer with Finish later and come back: the records stay under the domain's ⋯ menu, DNS records.

Step 3: Validate

Tick I have added these DNS records, then click Validate DNS. Validation passes once the records are visible, usually within minutes, though DNS changes can take up to 48 hours to propagate. Provisioning then takes about 5-10 minutes, and the domain turns Active.

Step 4: Publish sites on it

When you create a site, pick your domain next to the address. With subdomains, each site gets its own <name>.example.com.

Using a subdomain of a domain you already have

If example.com already hosts something else, you can give Hostsmith only sites.example.com. There are two ways:

  • Records in the parent zone. Add the records Hostsmith shows to the example.com zone, with .sites after each name: _<token>.sites, *.sites, and for the apex domain sites (A) and www.sites (CNAME).
  • A zone of its own (delegation). Create a DNS zone for sites.example.com at any DNS provider, and add an NS record for sites in the example.com zone pointing at that zone's nameservers. Then add the records Hostsmith shows to the new zone, exactly as shown. This is how an agency usually gets a subdomain from a client: the client adds the NS record once, and the agency manages everything else.

Domain status

StatusDescription
Waiting for DNSWaiting for the DNS records to be verified
ProvisioningSSL certificate issued, configuring the CDN
ActiveDomain is live and serving your sites
FailedSomething went wrong - check your DNS settings

Troubleshooting

Domain stuck in "Waiting for DNS"

  • Check each record matches exactly what Hostsmith shows, in the zone for the domain you added
  • Make sure there are no conflicting records for the same names
  • DNS changes can take time to propagate - wait up to 48 hours

SSL certificate errors

SSL certificates are provisioned automatically. If you see certificate errors, the domain may still be provisioning. Wait a few minutes and try again.