stylehub.cloud

Using your own domain

On this page

You can serve a brand hub on a domain you own instead of on its stylehub.cloud subdomain. Add one DNS record, press verify, and the certificate is handled for you.

WhereDashboard, Domains, Custom domain

Pro and Business

Custom domains are part of the Pro and Business plans. On Free the form is on the page but cannot be used, under the line Custom domains are available on Pro and Business. See Plans and limits.

What the domain serves

One domain belongs to one brand and serves that brand the way its own subdomain does.

yourdomain.com
The published primary manual.
yourdomain.com/guidelines
The published manual whose slug is guidelines.
acme.stylehub.cloud
The brand address, which keeps working. Connecting a domain replaces nothing.

A single manual cannot have a domain of its own. It can have its own subdomain on stylehub.cloud. See Addresses, or the same list on Domains (opens in a new tab) under Manual addresses.

Before you start

  • A paid plan. The plan of the account that owns the brand, not the plan of whoever is looking.
  • The permission. Connecting, verifying and disconnecting all need Edit workspace settings and domains, which owners and admins have. Without it the card reads Your role cannot manage domains. See Roles.
  • Access to the DNS of the domain, at your registrar or wherever the zone is hosted.
  • A published primary manual, if you want the root of the domain to answer with something. See Publishing.

Connecting a domain

  1. Open Domains (opens in a new tab) and find the Custom domain card at the bottom of the page.
  2. Type the domain into Domain. Leave off https:// and any path.
  3. Press Save domain. It answers Saved. Add the DNS record below, then verify. and the badge turns to Pending.
  4. Add the DNS record the card now shows, at your DNS provider.
  5. Come back and press I added the record, verify. If the record is visible, the badge turns to Verified and the domain starts serving.

Saving is not connecting

A saved domain serves nothing until it is verified.

The DNS record

The card writes it out under 1. Add this DNS record at your registrar with your own values. For a brand at acme.stylehub.cloud and a domain of brand.yourcompany.com it reads:

TypeNameValue
CNAMEbrand.yourcompany.comacme.stylehub.cloud

Most DNS forms want the name as a label, so brand.yourcompany.com is typed as brand in a zone for yourcompany.com. The value is typed in full.

Zone file
brand.yourcompany.com.  300  IN  CNAME  acme.stylehub.cloud.

One record, not a redirect

A forwarding or redirect service at the registrar sends the reader somewhere else instead of serving the manual on your domain, and it leaves no CNAME to find. Verification will not pass.

Apex or www

A domain like yourcompany.com with nothing in front of it is the apex, and most DNS providers refuse a CNAME there. Two ways around it, both accepted:

  • Use a subdomain instead. brand.yourcompany.com or www.yourcompany.com takes a plain CNAME.
  • Point the apex at the same addresses as stylehub.cloud. One address in common is enough. ALIAS, ANAME or CNAME flattening at the apex produces that.

www and the apex are two names

Only one of them is the connected domain. To make the other reach the manual, redirect it to the connected one at your DNS provider.

Pending and Verified

Pending
The domain is saved and nothing more. It is not served. Another brand can still claim the same name, which clears yours.
Verified
The DNS record was found. The domain serves from that moment.

Saving the field puts the domain back to Pending every time, including when you correct a typo in a domain that was already verified. Press verify again.

Connecting, verifying and disconnecting are each written into the activity log with the name of whoever did it. See History and versions.

The certificate

There is nothing to buy, upload or install. Stylehub issues and renews the TLS certificate for a connected domain once the DNS record is in place. Removing the record later takes the domain out of service.

When it does not verify

Pressing I added the record, verify when the record cannot be seen changes nothing and says:

What the page says

No DNS record pointing at acme.stylehub.cloud was found for this domain yet. DNS changes can take a while to spread, so try again in a few minutes.
  1. Wait, then press it again. A new record is not visible everywhere at once. If an old record with a long TTL was there before, the wait can be that long.
  2. Check the name. A record added as brand.yourcompany.com inside a zone that already appends yourcompany.com becomes brand.yourcompany.com.yourcompany.com.
  3. Check the value. It is acme.stylehub.cloud, not stylehub.cloud on its own, not a manual's own subdomain, and not a full URL.
  4. Look for a record already there. A name cannot hold a CNAME beside an A or an AAAA record. Remove the old one first.
  5. Turn off any proxy, such as the orange cloud at Cloudflare. Set the record to DNS only while you verify.
  6. Press verify again. There is no penalty for pressing it as often as you like.

What the form refuses

Enter a valid domain, for example brand.company.com
It wants a bare hostname with at least one dot, made of letters, numbers, hyphens and dots. No https://, port or path.
That address belongs to this service. Use the subdomain settings for it.
Anything at or under stylehub.cloud is a subdomain and is set up in Addresses.
This domain is already connected to another workspace.
Only a verified domain reserves the name. An unverified claim by somebody else is cleared and the domain moves to you, still unverified.
Custom domains are available on Pro and Business plans.
Saving is refused on Free even if the form is reachable.

The card shows the domain in lower case, whatever case you typed.

Disconnecting

Disconnect asks first, in a dialog titled Disconnect this domain? The button that does it is Disconnect domain. What happens:

  • The domain stops serving. Nothing in the manual changes, and the brand address keeps serving as it did.
  • The name is free again immediately, for you or for anyone else.
  • The DNS record is yours and stays where it is until you remove it.
  • Reconnecting later starts at Pending again, even with the record untouched. Press verify once.

Upgrades and downgrades

  • Upgrading to Pro or Business makes the form usable at once. Nothing has to be re-entered.
  • Downgrading deletes nothing. A verified domain keeps serving. The card says is still connected from a previous plan beside the name, with Disconnect next to it.
  • Verifying after a downgrade is refused: Custom domains are part of the Pro and Business plans. Upgrade to verify one.

The rest of what a downgrade freezes is in Downgrading.

After it is verified

Search engines
The manual is reachable on two hosts, and nothing tells search engines which one to prefer. Publish and link the one you want them to settle on. See Search engines.
Who can see it
A private, unlisted or password protected manual behaves on your domain exactly as it behaves on its subdomain. See Visibility.
The API
A manual keeps the same slug in the API whatever domain it is published on. The exact address of every manual is on API (opens in a new tab) in the dashboard. See the API documentation (opens in a new tab).
One domain per brand
A second brand needs a domain of its own.

Still stuck? Write to hello@stylehub.cloud and say which page you were on.

Using your own domain - Stylehub