SPARKZ Network
Guides

how to point a domain to your hosting

Connecting a domain to a website confuses almost everyone the first time. The two ways to do it — nameservers or an A record — what the difference is, and which to choose.

Domains6 min read

You have bought a domain and you have hosting, and now you need the two to talk to each other. This step confuses almost everyone the first time, mostly because there are two different ways to do it and nobody explains when to use which. Here is the whole thing.

What 'pointing' actually means

A domain on its own points nowhere. When someone types it, their browser asks the domain's DNS 'where do I go?', and the answer sends them to your server. Pointing a domain is setting up that answer. There are two levels at which you can do it.

Option one: change the nameservers

Nameservers are the servers in charge of a domain's DNS. Point them at your host and you hand your host control of all the domain's DNS records at once — the website, the email, everything.

This is the simplest option and the right one for most people. Your host gives you two or more nameserver addresses; you enter them at your domain registrar, replacing whatever is there. It is a single change that sets everything up, and your host manages the records for you from then on.

Option two: change the A record

The other way keeps your DNS where it is and changes only the one record that points the website. An A record maps your domain to a server's IP address. Edit it to your host's IP and the website moves, while every other record — crucially, your email — stays exactly as it was.

This is the option to choose when your website and email live in different places, or when you want to keep managing DNS yourself rather than handing it over. Your host gives you an IP address; you set the A record for your domain (and usually the www record) to it, and leave everything else alone.

Which should you use?

  • Website and email both with the same host, and you want it simple: change the nameservers.
  • Website and email in different places, or you manage DNS yourself: change the A record only.
  • Not sure: the A record is the more cautious choice, because it changes one thing rather than everything.

Then wait for propagation

Whichever you choose, the change is not instant. DNS is cached across the internet, and the old answer can linger for anything up to 24-48 hours, though it is usually much faster. During that window some people see the new site and some still see the old — that is normal, not a mistake. Lowering the record's TTL a day before you make the change shortens the wait considerably.

You can watch it happen with a DNS checker: look up your domain and you will see the record change to the new value as it propagates. Once it shows the new server everywhere, you are done.

Domain search

need a domain to go with it?

Check availability across every extension we sell. Renewal prices shown next to registration prices.