💡 What Does “Connecting a Domain” Mean?
When you buy a domain name (like example.com
) and build a website, you need to link the domain to the server where your website is hosted. This allows people to type your domain in the browser and see your site.
🛠️ Step-by-Step: How to Connect a Domain to a Website
O
✅ Step 1: Get Your Domain and Hosting
Domain example:
Namecheap
,GoDaddy
,Hostinger
Hosting example:
cPanel
,Plesk
,DirectAdmin
,Cloudways
, etc.
⚠️ If you bought domain and hosting from the same provider, this process may be automatic.
✅ Step 2: Find the Nameservers From Your Hosting
Log into your hosting account (e.g. cPanel).
Look for “Nameservers” or “DNS Settings.”
You’ll see something like:
ns1.yourhost.com
ns2.yourhost.com
Example:If you use Host, nameservers might look like:ns1.dns-parking.com
ns2.dns-parking.com

✅ Step 3: Go to Your Domain Provider and Update the Nameservers
Log in to your domain registrar (e.g., Namecheap).
Go to “Manage Domain” > “DNS Settings” or “Nameservers.”
Replace the default nameservers with the ones from your hosting.
🎯 Example on Namecheap:
Click “Manage” on your domain.
Choose “Custom DNS”
Add:
ns1.yourhost.com
ns2.yourhost.com
Save and wait (DNS propagation may take 1–48 hours, usually much faster).
✅ Step 4: Add the Domain to Your Hosting Panel
Once the nameservers point to your hosting:
Go to your hosting panel (cPanel or other)
Find Addon Domains or Domain Manager
Add your domain (e.g.,
example.com
)Choose the folder where your website files are stored (
/public_html/example
)
📦 Optional: If You’re Using Website Builders (like WordPress, Wix, etc.)
Builders usually give you CNAME or A Record settings.
Go to your domain’s DNS Management and add:
Type: A
Name: @
Value: 185.224.137.100 (or whatever IP your provider gives you)
Or:
Type: CNAME
Name: www
Value: yoursite.builder.com
✅ Summary
1 | Buy domain & hosting |
2 | Copy hosting nameservers |
3 | Add nameservers to domain panel |
4 | Add domain to hosting panel |
5 | Wait for DNS propagation |
💬 Final Tip If you're unsure or stuck, most hosting companies offer free support. You can also use tools like:https://dnschecker.org – to check DNS propagationhttps://who.is – to verify current nameservers