Now that we have a domain name and a hosting plan in place, we need to make sure that when someone types in our domain name into a web browser, it’s going to retrieve the files from our web host.
In order to make that happen, we need to redirect our domain, because, at the moment, they’re separate entities with no connection.
To do this, we change the named server settings on the domain.
Finding our Named Server information
First of all, we need to grab the named server details from our hosting provider, which in our case is SiteGround.
Log into your account, click on the Set Up Site button.
Then click on the option to Skip and create empty site
Then click Finish
Now you’ll see a screen with your named server settings on the right hand side.
They are 2 lines of information which start ns1. and ns2.
If you’re not using SiteGround, and you’re unsure of where to find the named server settings, contact your hosting provider and ask them to direct you to them.
Changing the named server on our domain
Now, we need to log into our domain management area where we registered the domain. In our case, this is NameCheap.
Select Domain List from the left sidebar and click the Manage button next to your domain.
Find the Nameservers section and select Custom DNS from the drop-down menu.
When you select Custom DNS, you are able to copy and paste the named server settings from your host onto those 2 lines.
Click on the green checkmark to save the changes.
Nameserver changes do not take effect instantly. They have to go through a process called propogation which can take up to 48 hours, but usually happen much sooner, often within the hour.
Checking your named server settings
If you’re not sure if the changes have taken effect, you can look up your domain on the WhoIs records by going to https://whois.net/ and typing your domain into the search field.
If the named server settings listed in the details are different to those you copied across from your hosting provider, it means that the settings haven’t changed yet, and you will need to check back later.
Changing your named server settings means that your domain name and the place where your website is going to live are now connected. Once this is all in place, you can go ahead and start building your website and using your email addresses associated with your domain name.
[Virtual high five]