One of the most common questions I get asked after somebody has bought a domain name is “What do I do now?”.
You have the web hosting package and you've bought the domain name and now you need to put the two together so that you can display a website.
Note: if you followed How to Create a Website: The Complete Beginner's Guide then you probably signed up for hosting with Web Hosting Hub. If this is the case, you don't need to point your domain name to your website as they are correctly set up by default.
What you need to point a domain at your website
Before you can follow this tutorial you'll need to have done two things first.
- Registered a domain name. You can't point a domain at a website if you don't own a domain name! If you haven't got yourself a domain name yet then you can start by reading the article How to Register Your Own Domain Name.
- Ordered a web hosting account. Your web host is where your website files are kept and you'll need a host to provide you with the DNS settings (or Domain Name Servers) you need to point the domain at your hosting. See How to Choose a Web Host if you haven't completed this step yet.
Connecting your domain to your hosting
- Find your web hosts' DNS (domain name server) settings.
- Usually these look like
- You should have received these via email when you signed up for hosting.
- Add name servers to your domain with your registrar.
- Log into your registrar account and find the section for custom name servers.
- Most registrars will have it labeled as DNS Settings or Domain Name Server Setup.
- Wait up to 72 hours for the changes to take effect.
- Once the name servers have been updated, it can take a while to take effect.
- Sometimes your name servers might update and change over in two hours or less.
Here is a detailed breakdown of each step to help you point a domain name to your website:
- Find your domain name server settings. When you join a web host you usually receive a confirmation email which gives you login details like your username and password. In this welcome email, you should have also been sent the DNS or domain name server addresses to use. These will look like this:
ns1.example.com. More popular hosts with lots of customers might have
ns359.example.com. If you don't have these then you can find them by:
- Asking your web host. A simple email or support ticket to your webhost should get you a response within 24 hours. You can then note down your name servers and move to step 2.
- Logging in to your admin panel. Most commercial, shared hosting companies use an admin panel called CPanel (an easy to use interface to manage your hosting). The name server addresses are sometimes displayed in the sidebar of this panel – depending on the host.
Whichever way you find the DNS addresses, when you have them you can move on to the next step.
- Save your name servers with your registrar. The next step once you have your name servers is to log in to your registrar admin panel, find the domain you want to set up and copy-paste the name server addresses into the DNS Settings or Domain Name Server Setup area. This changes for each host, but most of them will be labeled either DNS, Name Servers, or Domain Name Servers.
If you really cannot find where to save your DNS settings then you just need to log a support ticket with your register asking for their help. If you include the domain name you want to update and the name servers from your web host in the ticket, most registrars will update them for you.
- Wait for your DNS settings to update. It can take 48-72 hours for the DNS to update (also known as DNS Propagation). When this happens, people who visit your domain name (i.e.
yourname.com) will see the landing page or live folder of your web hosting account.
In some cases this change can happen in less than 30 minutes as modern technology makes the process much quicker. Once it has gone through, you have successful pointed your domain name to your website.
The next step after pointing your name servers to your web host is to actually build a website to replace the default site that is currently displayed. Use How to Create a Website: The Complete Beginner's Guide to decide which option(s) you choose for building your website.
The guide will take you from a blank website to a fully functioning site in as little as 30 minutes and will make it as easy as possible for you.