How to Connect a Domain to Hosting (Step by Step Guide)
Bought a domain and hosting from different places? Learn how to connect them in simple steps, using nameservers or an A record, and get your website live without the confusion.
Bought a Domain and Hosting? Here's How to Make Them Work Together
You picked a great name. You paid for a domain. You also bought hosting. But when you type your domain into the browser, nothing shows up. Or you see a parking page from your domain company.
Don't worry. This is normal. A domain and hosting are two separate things, and you need to tell one where to find the other. That's what "connecting a domain to hosting" means. It takes about 10 minutes of work, and then a little waiting. Here's how to do it.

Our expert view: Most people connect a domain and hosting in two clicks, then panic when the site doesn't load right away. The delay is normal. The real problems come from three small things: forgetting to add the domain inside the hosting account, breaking email by changing nameservers, and skipping the SSL certificate. Do these three things right and the rest is easy.
Quick takeaways:
- A domain is your address, and hosting is your house. You must link them
- There are two ways: change the nameservers, or add an A record
- Add the domain inside your hosting account too, or the site won't load
- Changes can take up to 24 hours, sometimes longer
- Check your email settings before you change nameservers
- Turn on HTTPS (SSL) once the domain is working
What does it mean to connect a domain to hosting?
Your domain is your website's name, like yourbusiness.com. Your hosting is the computer (called a server) that stores your website files. When someone types your domain, the internet needs to know which server holds your site. Connecting the two gives it that answer.
People also call this "pointing your domain to your hosting" or "updating DNS."
What you need before you start
- Your domain login (the company where you bought the domain, called the registrar)
- Your hosting login
- The nameservers or IP address from your hosting company. You'll usually find them in the welcome email or the hosting dashboard
- About 15 minutes
Step 1: Get the details from your hosting company
Open your hosting dashboard or your welcome email. Look for two nameservers, which look like ns1.example.com and ns2.example.com. Some hosts also show a server IP address, which looks like a set of numbers such as 123.45.67.89. Keep them open, because you'll copy them in a minute.
Step 2: Log in to your domain registrar
Go to the company where you bought your domain, such as Namecheap, GoDaddy or another provider. If you forgot where you bought it, use the free ICANN Lookup to check.
Find your domain in the list and open its settings. You're looking for a section called Nameservers, DNS, or Manage DNS. The exact name changes from one company to another.
Step 3: Choose your method
There are two ways to connect. Pick one.
Method A: Change the nameservers (easiest). You tell your domain to use your host's nameservers. Your host then controls all your DNS. This is best for most beginners.
Method B: Add an A record. You keep your DNS where it is, and just point your domain to your server's IP address. This is better if you use email or other services linked to your domain and don't want to disturb them.

Step 4A: Change your nameservers
- In your registrar, find Nameservers and choose Custom (or "Custom DNS").
- Remove the old nameservers.
- Enter the two nameservers from your host, one on each line.
- Save the changes.
That's it for this method. Many registrars only need the names, not the IP address.
Step 4B: Add an A record instead
- In your registrar, open DNS settings or Manage DNS.
- Add an A record. Set the host to
@(this means your main domain) and the value to your server's IP address. - Add another record for
www. You can use an A record with the same IP, or a CNAME record pointing to your main domain. - Delete any old A records that point somewhere else.
- Save.

Step 5: Add the domain inside your hosting account
This step is the one people miss most often. Connecting the domain at the registrar isn't enough. You also need to tell your hosting account about the domain.
- On cPanel hosting, look for Domains, Addon Domains or Create a New Domain. If it's your main domain, it may already be set.
- On other panels, like hPanel, look for Websites or Add Website.
Then make sure your website files sit in the folder connected to that domain.
Step 6: Wait for the change to spread
Now comes the waiting part, called DNS propagation. Your change has to spread to servers all over the world. It can take up to 24 hours in most cases, and sometimes up to 48. You can't speed it up, so don't keep changing settings. That only makes it slower.
To see how far it has spread, use a free tool like DNS Checker. Enter your domain and see whether servers in different countries show your new server's IP address.

Step 7: Turn on HTTPS (SSL)
Once your domain loads, make sure it opens with the small padlock and https://. This keeps your visitors safe, and Google prefers secure sites. Most hosts give you a free SSL certificate, often from Let's Encrypt. Look for SSL in your hosting panel and switch it on.
Step 8: Test everything
Open your site in a new browser or on your phone. Check these:
- Does
yourdomain.comload? - Does
www.yourdomain.comload too? - Is there a padlock in the address bar?
- Do your contact forms work?
- Does your business email still work?
If your old address still shows, clear your browser cache or wait a few more hours.
Common mistakes to avoid
- Not adding the domain in the hosting account. The domain points to the server, but the server doesn't know what to show.
- Breaking email. If your email runs somewhere else, like Google Workspace, changing nameservers can stop it. Either use Method B, or copy your email (MX) records to the new place first.
- Making changes again and again. Every change restarts the waiting. Make the change once and be patient.
- Leaving old records behind. An old A record pointing to your previous host can cause a mix of old and new pages.
- Forgetting SSL. Without it, browsers may warn your visitors that your site is "not secure."
When to ask for help
Most people connect a domain in one afternoon. But if your site shows an error after 48 hours, your email stopped, or you're moving a live website and can't afford downtime, it's worth getting help. This is a common job for us at ImpliedWeb, and we do it safely, with no broken email and no lost visitors.
Frequently Asked Questions
How long does it take to connect a domain to hosting?
The setup takes about 10 to 15 minutes. After that, DNS changes usually take up to 24 hours to spread, and occasionally up to 48.
What is the difference between nameservers and an A record?
Nameservers hand over all your DNS control to your host. An A record only points your domain to one server IP address and leaves everything else where it is.
Do I need to buy the domain and hosting from the same company?
No. Many people buy them from different companies. You just need to connect them, as shown in this guide.
Why is my domain still showing the old website or a parking page?
The change may still be spreading, or your browser is showing a saved copy. Wait a few hours, clear your cache, and check with a DNS checker tool.
Will connecting my domain affect my email?
It can, if you change nameservers and your email records aren't copied over. Check your email settings first, or use the A record method.
Do I need an SSL certificate?
Yes. It gives your site the padlock and https://. Most hosting companies offer it free.
Helpful Links
- Namecheap: a popular domain registrar
- GoDaddy: another popular domain registrar
- Hostinger: a popular hosting provider
- ICANN Lookup: find out where a domain is registered
- DNS Checker: see if your changes have spread
- Let's Encrypt: free SSL certificates
Final thoughts
Connecting a domain to hosting sounds technical, but it's only a few steps: get the details from your host, update your domain, add the domain to your hosting account, and wait. Take it slowly, change one thing at a time, and check your email before you begin. Soon you'll see your own website on your own domain.
Need Help Connecting Your Domain to Hosting?
Stuck on the settings, or worried about breaking your email or your live website? Contact us. We'll help you configure your domain, connect it to your hosting, set up SSL, and get your website live without the stress. If you need a new website designed or moved, we can do that too.