Domains and hosting
You don’t have to buy your domain name, e.g. www.yourwebsite.com; and your web hosting (computers (servers) which are on 24 hours a day, seven days a week) from the same company.
When you come to setting up your website you’ve either:
- Bought your domain name and hosting from the same company (not always the cheapest option)
- You’ve bought your domain name with one company and you’re hosting your website with another.
If you’ve done the first then you have to do nothing. Your Domain Name Servers have already been entered into the DNS Settings on the control panel of the company you have bought the domain name and space on their servers to host your website. Great! You can now upload your files and hey presto! You are ready to go.
But. What if you have shopped around and looked at the cost of registering your dream domain name as well as at the cost of hosting? You’ve bought your domain name from one company and your hosting from another. This is always the cheapest option and recommended by most people out there.
Whether you’ve bought your domain with a UK or US registrar (or anywhere else in the world) you can link it to your host servers. You may have registered with GoDaddy, TSOHost or Hostgator.
Linking your domain name to your host
When you bought your hosting package you received an email from the hosting company with lots of different settings for all eventualities.
Find the section that says set the nameservers.
You will find, usually three entries:
Nameserver 1: ns1.yourhost.co.uk
Nameserver 2: ns2.yourhost.co.uk
Nameserver 3: ns3.yourhost.co.uk
This is what you need to link your domain to your files. Please note there will be some variation in control panels between providers.
You need to:
- Go the control panel of your domain name registrar
- Go to Domains
- Check the box for your domain
- Select Edit DNS Settings
- In Basic DNS Settings select My name Server
- In the Primary Name Server field enter the Nameserver 1 details from your email
- In your secondary name server the Nameserver 2 details then the same for Nameserver 3
- Click OK
You will probably have to wait anywhere between 5 and 30 minutes for this to be updated depending on your domain name registrar.
That’s it. You’re all done.
Now whenever you go to www.yoursite.com you will see your site as uploaded to your host server.