How to Point Your Domain to Your Hosting — cPanel & Hosting How-Tos cPanel & Hosting How-Tos

How to Point Your Domain to Your Hosting

By Genhost Team 2 min read

Connecting a domain to your hosting means telling the internet which server answers for your domain. There are two common ways to do it: point the nameservers, or set an A record. This guide covers both and shows how to check it worked.

First, find your hosting details

When your account is set up, your welcome email (and your control panel) lists two things you’ll need:

  • Nameservers, for example ns1.genhost.in and ns2.genhost.in.
  • The server IP address, for example 203.0.113.10.

Keep these handy.

Option A: Point the nameservers (simplest)

This hands all DNS for the domain to your hosting, so you manage records in one place.

  1. Log in to wherever you registered the domain (your registrar).
  2. Find the Nameservers or DNS setting for the domain.
  3. Replace the existing nameservers with your hosting’s nameservers.
  4. Save.

That’s it. Once the change propagates, your domain loads from your hosting and you manage any extra records (email, subdomains) from your control panel.

Option B: Point an A record (keep DNS elsewhere)

Use this when your DNS lives at another provider — for example Cloudflare or your registrar — and you only want the website to point to your server.

  1. Open the DNS management page where your domain’s DNS is hosted.
  2. Edit the A record for @ (the root domain) and set it to your server IP address.
  3. Add or edit an A record (or CNAME) for www pointing to the same place.
  4. Save.

Leave your other records (like MX for email) untouched unless you’re moving those too.

What “propagation” means

DNS changes aren’t instant. Networks around the world cache the old values for a period called the TTL (time to live). Until that expires, some visitors see the old location and some see the new one. This is normal and usually clears within a few hours, up to 24–48 hours in rare cases.

Tip: if you know a move is coming, lower the record’s TTL (for example to 300 seconds) a day before. The switch then happens much faster.

How to check it worked

  • Online DNS checker — search “DNS checker” and enter your domain to see what nameservers or IP it resolves to around the world.
  • Browser — visit your domain. If you see your site (or your hosting’s default page), it’s connected.
  • SSL — our servers issue free SSL automatically once the domain resolves to the server, so https:// should work shortly after. If it doesn’t after a few hours, contact support.

Moving an existing live site?

If the domain already has a live website elsewhere, set everything up on the new server first, test it, and only then change the nameservers or A record — so visitors never hit a broken page. Our support team can help you move a site with no downtime on any Web Hosting or Reseller Hosting plan.

Frequently asked questions

How long does it take for a domain to point to new hosting?

DNS changes usually take effect within a few minutes to a few hours, and can take up to 24-48 hours to update everywhere. This waiting period is called propagation. Lowering the record's TTL a day in advance makes the switch faster.

Should I use nameservers or an A record?

Use nameservers when you want your hosting to manage all DNS for the domain - it is the simplest option. Use an A record when you need to keep DNS at another provider (for example Cloudflare) and only point the website to your server.

My domain points to the server but shows the wrong site or no SSL. Why?

This usually means DNS is still propagating, or the SSL certificate has not been issued yet. Give it a little time; our servers issue free SSL automatically once the domain resolves to the server. If it persists, contact support.