Back

How to Connect Your Domain to Hosting

Point a domain registered anywhere at your NexzaHost account using nameservers, or an A record when you need finer control.

4 min readUpdated Feb 2025
Share:

A domain and hosting are two separate things: the domain is a name you rent, the hosting is the machine that answers for it. Connecting them means telling the internet's directory which machine to ask.

There are two ways to do it. Nameservers are simpler and right for most people. An A record gives you finer control and is right if your DNS is managed elsewhere.

This hands all DNS management to us, so email, subdomains, and SSL configure themselves.

1. Log in to your registrar

That is wherever you *bought* the domain — Namecheap, GoDaddy, PKNIC, Google Domains, or another. It is not necessarily where the site is hosted.

2. Find the nameserver setting

It is usually under Domain Settings, DNS Management, or Nameservers. Choose the custom nameservers option rather than the registrar's defaults.

3. Enter ours

  • ns1.nexzahost.com
  • ns2.nexzahost.com

Remove any existing nameserver entries; leaving old ones in place produces intermittent, hard-to-diagnose failures where the site loads for some visitors and not others. Save.

Option 2 — Point an A record instead

Use this when you want to keep DNS at Cloudflare or your registrar — for example because email is handled by another provider and you do not want to move those records.

In your DNS provider's editor, create or edit:

  • Type A, Name @, Value your server IP from the welcome email
  • Type A, Name www, Value the same IP

A CNAME from www to your root domain also works. If you use Cloudflare, set the proxy status you actually want before running AutoSSL — an orange-cloud proxied record changes how certificate validation behaves.

Then add the domain in cPanel

If the domain was not on the account already, go to Domains > Domains > Create A New Domain in cPanel and add it. Skip this if it is your primary domain, which was set up when the account was created.

How long propagation takes

Nameserver changes typically resolve within one to two hours and are considered fully propagated at 24 to 48 hours. A record changes are usually faster, governed by the record's TTL.

During this window, different people genuinely see different things depending on which DNS resolver they use. That is normal and not a fault.

Checking it worked

  • Run nslookup yourdomain.com from a terminal, or use any online DNS checker, and confirm it returns your NexzaHost IP.
  • Load the site in a private window. Your normal browser may have cached the old address for hours.
  • Once it resolves, run AutoSSL in cPanel under Security > SSL/TLS Status to issue the certificate.

If it is not working

  • Still showing the old host. Either propagation is not finished, or the old nameservers were left alongside the new ones.
  • Site loads without `www` but not with it, or the reverse. One of the two records is missing. Add both.
  • Email stopped arriving after the switch. Moving nameservers moves MX records too. If your mail is with Google Workspace, Microsoft 365, or another provider, re-create those MX records in cPanel's Zone Editor. Tell us who handles your mail and we will set them up for you.

Free migration includes DNS. If you would rather we handle the whole cutover, send us your registrar login or add us as a delegate and we will do it with no downtime.

Related articles

Was this article helpful?

Still stuck?

Our support team is available 24/7.

Open a ticket