Home » DNS » New Domain Not Working: Connect a Freshly Registered Domain to Your Host
New Domain Not Working: Connect a Freshly Registered Domain to Your Host
You registered a domain, built the site, and the address shows nothing. Or a parking page. Or "This site can't be reached". A new domain has to be connected in two places: the registrar has to know which DNS servers are in charge, and those DNS servers have to know where your website lives. Miss either and the domain goes nowhere.
For a domain that worked before and suddenly stopped, see DNS not resolving instead.
How the pieces fit
| Piece | Where it is set | What it does |
|---|---|---|
| Registration | Registrar | Proves you own the domain |
| Nameservers (NS) | Registrar | Says which DNS provider answers for the domain |
| A / AAAA record | DNS provider | Points the domain to your server's IP address |
| CNAME for www | DNS provider | Points www to the main domain or a host target |
| Domain added on host | Hosting panel | Tells the server which site to show for this name |
Step 1: confirm the registration is active
New registrations sometimes wait on email verification. ICANN rules require the registrant to confirm their email address; until they do, many registrars suspend the domain after a grace period. Look for a verification email and check the registrar dashboard for warnings. A whois lookup should show the domain as registered with a status like ok or clientTransferProhibited, not serverHold or clientHold.
Step 2: check the nameservers
dig NS example.com +short
On Windows: nslookup -type=NS example.com.
Compare the answer with what your host or DNS provider told you to use. If you see the registrar's parking nameservers, the change has not been saved or has not taken effect. Set them in the registrar's domain settings (often called "Nameservers" or "DNS management").
Step 3: check the A record
dig example.com +short
dig www.example.com +short
Both should return your server's IP address, or www should return a CNAME pointing at the main domain or your host's target. If the root returns nothing, add an A record:
| Type | Name | Value |
|---|---|---|
| A | @ |
your server IP |
| CNAME | www |
example.com |
Add the records at the provider the nameservers point to. Records added anywhere else are ignored.
Step 4: add the domain on the hosting side
DNS gets visitors to the server. The server then needs to know which site to show. In your hosting panel, add the domain (as the primary domain, an addon domain, or a custom domain in platforms like Netlify, Vercel or GitHub Pages). Without this step you will often see the host's default page or a "domain not configured" message even though DNS is perfect.
Step 5: allow for caching, then test widely
DNS answers are cached for the record's TTL. If you looked up the domain before it was set up, your computer may remember "no such domain" for a while. Test against public resolvers:
dig @1.1.1.1 example.com +short
dig @8.8.8.8 example.com +short
If both give the right IP, the internet sees it. Flush your local cache (ipconfig /flushdns on Windows) or test from mobile data.
Step 6: add HTTPS
Once the domain loads over HTTP, issue a certificate. Most hosts do this automatically after DNS points to them. See no SSL certificate if the browser shows a security warning.
Common mistakes
- Setting custom nameservers and editing records at the registrar, where they have no effect.
- Pointing the root domain but forgetting
www, or the other way round. - Skipping the domain verification email, so the registrar suspends the domain.
- Requesting a certificate before DNS points to the host, which fails validation.
Frequently Asked Questions
How long does a new domain take to start working?
A new registration usually resolves within an hour once nameservers are set. Changing nameservers on an existing domain can take up to 24–48 hours to be seen everywhere, though most networks pick it up much sooner.
Should I change nameservers or just add an A record?
Either works. Pointing nameservers to your host lets the host manage all records. Keeping the registrar's nameservers and adding an A record gives you control in one place. Do one or the other, not a mix.
It works for me but not for a friend. Why?
Their network may still have an older answer cached, or their resolver has not refreshed yet. Test with public resolvers like 1.1.1.1 and 8.8.8.8 to see what the wider internet sees.
Found a mistake or still stuck? Contact us. See how we write and check these guides in our editorial policy, or read about DocumentGuy.