Skip to content
BETAHostCore is in beta — features may change. Follow along on Discord.
Logo
Dashboard
Getting started Custom domain

Custom domain

Serve your storefront and client area from your own domain.

Last updated /guides/getting-started/custom-domain

Every store runs on one domain at a time: its HostCore subdomain, such as acme.myhostcore.com, or a custom domain of your own, such as billing.acme.com. Your storefront, client area and admin dashboard all move with it.

You manage your store's domain from your HostCore account on hostcore.co, not from your store's admin dashboard. From there you can change your subdomain, connect a custom domain, or switch back from a custom domain to a subdomain.

Before you begin

Note —

Custom domains are available on every paid plan. You also need access to your domain's DNS settings, at your registrar or DNS provider.

Choose a domain

Use a subdomain of a domain you already own, such as billing.acme.com or my.acme.com. Your main website can stay where it is, and you only need to add a single DNS record.

You can use an APEX domain, such as acme.com, only if your DNS provider supports CNAME flattening at the root, as Cloudflare does. Most registrars' DNS doesn't, so check before you choose one.

Connect a custom domain

  1. Open your domain settings

    Sign in at hostcore.co and go to Dashboard › Domain.

  2. Enter your domain

    Select Your own domain and enter the domain you want to use, such as billing.acme.com.

  3. Set up DNS

    If your domain uses Cloudflare's nameservers, HostCore offers automatic setup. Click Connect Cloudflare, sign in to Cloudflare and approve the change. Cloudflare adds the records for you, and you're sent back to HostCore when it's done.

    Otherwise, HostCore shows the records to add at your DNS provider:

    TypeNameValue
    CNAMEYour domain, such as billingstores.myhostcore.com
    TXTShown on the pageShown on the page
    TXTShown on the pageShown on the page

    The TXT values are unique to your domain, so copy them exactly as shown. Remove any existing A, AAAA or CNAME records with the same name as your domain first, or the new record won't take effect.

  4. Wait for verification

    HostCore checks for the record and issues a TLS certificate for your domain automatically. This usually takes a few minutes, but DNS changes can take up to 48 hours to reach everywhere.

    Once your domain is verified, your store moves to it, make sure to update any external links as they will no-longer work. Any link served by your HostCore store will update automatically

Tip —

If your DNS is on Cloudflare, set the CNAME record to Proxied (orange cloud). HostCore uses Cloudflare too so proxied records work without any extra setup.

Change your subdomain

On Dashboard › Domain, enter a new subdomain. It's checked for availability as you type, and your store moves to it as soon as you save.

Switch back to a subdomain

To stop using your custom domain, go to Dashboard › Domain and switch to a subdomain. Your store moves to the subdomain straight away. You can then remove the CNAME record from your DNS.

Troubleshooting

Your domain isn't verifying. Look up your domain with a DNS checker and confirm it returns a CNAME to stores.myhostcore.com. If you see an IP address or a different target, an old record is still in place or the change hasn't spread yet.

Your root domain won't accept a CNAME. Your DNS provider doesn't support CNAME flattening. Use a subdomain such as billing.acme.com instead, or move your DNS to a provider that supports it.

Still stuck?

If your domain still won't connect, open a support ticket from your HostCore account and our team will help you get it working.