← All posts

Connecting your own domain: every way it goes wrong, and what to do

Publishing a site takes a click. Putting it on the domain you own takes one DNS record — and yet this is where nearly everybody gets stuck. Not because it is hard, but because when it fails, the error you see almost never comes from the thing that is actually broken. This is a guide to reading those errors correctly.

Everything below comes from real domains we connected, including the two where it went wrong in ways worth writing down.

What actually has to happen

Three separate things, in order. They fail separately and they produce completely different symptoms, so it is worth knowing which one you are looking at.

  • DNS. Your domain has to point at the host. This is the record you add at your registrar or DNS provider.
  • Registration. The host has to know that your domain belongs to your site. Adding a record on your side does not tell anyone anything — DNS is a phone book, not a message.
  • The certificate. Only once the first two agree can an HTTPS certificate be issued for your name. This is automatic, and it is the step people mistake for "slow propagation".

In Hexvor the middle step is the panel: you type your domain, we register it and show you the exact record to add. Elsewhere it might be a dashboard field or a support ticket. It always exists somewhere, and skipping it is the most common reason a perfectly correct DNS record leads nowhere.

www and the root are two different domains

example.com and www.example.com are unrelated names that happen to look similar. A record on one does nothing for the other. Half of all "I added the record and it doesn't work" cases are simply the record sitting on the name nobody typed.

Add both. www takes a plain CNAME. The root is the awkward one, because the DNS specification does not allow a CNAME there. Most modern providers solve this with CNAME flattening (Cloudflare), ALIAS (DNSimple, Route 53) or ANAME — all the same idea under different names, and all fine to use. If your provider offers none of them, use an A record pointing at the host's IP address and keep www as the CNAME.

Then decide which one is canonical and redirect the other to it. Serving the same site on both addresses without a redirect splits your search ranking between two URLs that Google reads as two sites.

"no available server" is not a DNS error

This one is worth its own section, because the wording sends everybody to the wrong place.

If your browser can show you any message at all, DNS resolved. The name was looked up, an address came back, a connection was opened and something at the other end replied. no available server is that something replying: a reverse proxy saying it has no site registered under the hostname in your request.

So the fault is at step two, not step one. Either the domain was never registered with the host, or it was registered under a different spelling — with www when you asked for the root, or the other way round. Adding more DNS records will not change it. Go back to the panel and check the exact name that is registered.

The grey cloud, if you use Cloudflare

Cloudflare shows a cloud icon next to every record. Orange means Cloudflare proxies the traffic; grey means it only answers the DNS question and gets out of the way.

For a CNAME pointing at another host, the proxy is usually the problem. An orange-clouded record makes Cloudflare terminate the connection itself, so the request that reaches your host no longer looks the way the host expects, and the certificate validation for your name never completes. The fix is one click: set that record to grey (DNS only) and let the host handle TLS.

Two things follow from the proxy that are easy to misread when debugging:

  • The Server header lies. A proxy stamps its own name on everything it forwards. Seeing server: cloudflare tells you Cloudflare relayed the response — nothing at all about who produced it.
  • Matching IP addresses prove nothing. Cloudflare uses anycast, so two completely unrelated proxied domains resolve to the same addresses. "It points to the same IP as the working site" is not evidence that it is configured correctly.

This is why our own domain check never reports a verdict based on an IP address. It fetches a known path on your domain and tells you what came back, because the only reliable proof that a domain reaches your site is your site answering.

DNSSEC can hold everything hostage

One customer's domain had a flawless record and still would not resolve anywhere outside their own registrar's control panel. The banner explaining why was a small line at the top of the page: DNSSEC changes pending.

DNSSEC signs your DNS answers so they cannot be forged. Excellent idea, with one sharp edge: while a signing change is in progress, or if the signature at the registry no longer matches the nameservers actually serving the zone, validating resolvers reject the answers entirely. Not "return the old record" — reject. Your domain simply does not exist for a large part of the internet, while your dashboard shows everything green.

If you changed nameservers or DNS provider recently and the domain is unreachable in a way nothing explains, check DNSSEC at the registrar. Either wait for the pending change to finish or turn it off, move the domain, and turn it back on afterwards.

A white page is a stylesheet, not a domain

Once the domain works, one more thing catches people. The site loads, the text is there, and it looks like nothing — unstyled black text on white.

That is not a DNS problem at all. The HTML arrived; the CSS did not. The usual cause is a link written as http:// or as an absolute URL on a different hostname, on a page now being served over HTTPS. Browsers block that silently. Link your own stylesheets and scripts with relative paths — styles.css, not http://old-host.example/styles.css — and it fixes itself.

How long to wait before assuming it is broken

DNS changes usually appear within minutes, and the certificate follows shortly after the record becomes visible. The old advice about waiting 48 hours is a holdover from an era of much longer cache lifetimes.

Our rule: an hour. If nothing has changed in an hour, something is wrong rather than slow, and every extra hour of waiting costs you a day. Work back through the three steps — record on the right name, domain registered with the host, nothing proxying in front of it — and the answer is in one of them.

The short version

  • Add records for both www and the root, then redirect one to the other.
  • Register the domain with your host as well as adding the record. Both, always.
  • no available server means the host, not DNS.
  • On Cloudflare, grey cloud for a CNAME to another host.
  • Never trust the Server header or a matching IP as proof of anything.
  • Unreachable with a perfect record? Check DNSSEC at the registrar.
  • White page? A stylesheet is being blocked, not a domain failing.
  • An hour with no change means it is misconfigured, not propagating.