How to Connect a Domain to Your Hosting: Step-by-Step Guide (2026)
Learn how to point your domain name to your hosting account by updating DNS nameservers. Works with Hostinger, Bluehost, GoDaddy, Namecheap, and any registrar.
Connecting a domain to hosting is one of the first steps every website owner must complete. The process is the same regardless of which registrar or host you use — you're simply telling the internet's DNS system where your domain's files live.
What Is DNS and Why It Matters
DNS (Domain Name System) translates human-readable domain names like yoursite.com into IP addresses like 104.21.35.67 that computers use to locate servers. When you update your domain's nameservers, you're redirecting all DNS queries for your domain to your hosting provider's DNS servers.
Key terms to know:
- Nameservers — the DNS servers managed by your hosting provider (e.g.,
ns1.hostinger.com) - DNS propagation — the time it takes for the change to spread across the global DNS network (up to 48 hours)
- A Record — an alternative to nameservers; points your domain directly to an IP address
Step 1: Find Your Hosting Nameservers
Log in to your hosting control panel and locate your nameserver addresses.
Hostinger:
- Go to Hosting in the top menu
- Click Manage next to your hosting plan
- Scroll to DNS / Nameservers section
- You'll see something like:
ns1.dns-parking.comandns2.dns-parking.com
Bluehost:
- Go to Hosting > cPanel dashboard
- In the Domains section, click Zone Editor
- Your nameservers are shown at the top:
ns1.bluehost.comandns2.bluehost.com
Cloudways:
- Log in to your Cloudways console
- Go to Applications and select your app
- Under Access Details, find the Public IP
- With Cloudways, you use an A Record pointing to this IP, not nameservers
Note for Hostinger users: If you bought your domain through Hostinger, DNS is already connected automatically.
Step 2: Log In to Your Domain Registrar
Go to the website where you purchased your domain:
| Registrar | Dashboard URL | |-----------|---------------| | GoDaddy | My Products → Domains | | Namecheap | Dashboard → Domain List | | Google Domains | domains.google.com | | Porkbun | porkbun.com → Account |
Step 3: Find the Nameserver Settings
The location varies by registrar, but you're looking for something labeled Nameservers, DNS, or Domain Settings.
GoDaddy:
- My Products → Domains → click on domain → DNS tab → Scroll to Nameservers section → Change
Namecheap:
- Dashboard → Domain List → Manage next to your domain → Nameservers tab
Google Domains (now Squarespace):
- DNS → Custom name servers
Step 4: Update the Nameservers
- Select Custom nameservers (or equivalent option)
- Remove existing nameserver entries
- Enter your hosting provider's nameservers exactly as provided
- Add at least 2 nameservers (ns1 and ns2)
- Click Save or Update
Example — Hostinger nameservers:
ns1.hostinger.com
ns2.hostinger.com
Example — SiteGround nameservers:
ns1.siteground.net
ns2.siteground.net
Step 5: Wait for DNS Propagation
DNS changes do not take effect instantly. Propagation typically takes:
- Best case: 15–60 minutes (if your old TTL was low)
- Typical case: 2–8 hours
- Worst case: Up to 48 hours in some regions
Check propagation status: Visit dnschecker.org and enter your domain name. Once you see your hosting provider's IP address from most locations, propagation is complete.
Step 6: Verify the Connection
Once DNS has propagated:
- Open a private/incognito browser window
- Type your domain name in the address bar
- You should see either your web host's default page or your website
Using A Records Instead of Nameservers
If you want to keep your domain's DNS at the registrar (useful if you're using the registrar's email), use an A Record instead:
- Stay in your registrar's DNS settings
- Find the A Record for
@(root domain) - Point it to your hosting server's IP address
- Add another A Record for
wwwpointing to the same IP - Propagation still applies (24–48 hours)
This method is common with Cloudways, which provides a public IP for each server.
Host-Specific Notes
Hostinger: The fastest option is buying your domain through Hostinger — DNS connects automatically. For external domains, go to Hosting → Manage → DNS / Nameservers for your nameserver addresses.
Cloudways: Cloudways doesn't use traditional nameservers. Point your domain's A Record directly to your server's IP address found under Application Access Details.
Bluehost: After updating nameservers, Bluehost automatically installs an SSL certificate and configures your hosting once propagation completes.
SiteGround: SiteGround provides nameservers in your welcome email and in Client Area → Websites → [your site] → DNS Settings.
Troubleshooting
Domain shows "This site can't be reached":
- DNS hasn't propagated yet — wait longer and check dnschecker.org
- You may have entered nameservers with a typo — double-check
Domain shows old hosting / old site:
- Your browser cached the old DNS — clear your browser cache or use private mode
- Try a different device or mobile data connection
Domain shows the registrar's parking page:
- Nameservers weren't saved correctly — go back and verify the settings
Next Steps After Connecting Your Domain
Once your domain is pointing to your hosting:
- Install an SSL certificate — see our SSL setup guide
- Install WordPress — see our WordPress installation guide
- Set up business email — see our email setup guide
Connecting a domain is a one-time task. Once it's done, your domain is permanently linked to your hosting until you decide to change it.
Ready to get started? Hostinger makes domain connection automatic when you purchase both domain and hosting together — the fastest way to get online.
Free Download
2026 Web Hosting Comparison Cheat Sheet
- ✓11 hosts ranked by speed, uptime & price
- ✓Renewal price traps to avoid
- ✓Best host for WordPress, WooCommerce & agencies
- ✓Exclusive discount codes for 2026
Free · Join 2,400+ readers · Unsubscribe anytime