In this video you will learn about what goes in to setting a DNS server up for webhosting, gaming, and more. It will also show examples of setting up a secondary domain to point to the new DNS Web Hosting Server
For those who do not want to see a video of the presentation, there is a breakdown of all the slides under the video.
Whats Needed?
- DNS Server (1 or More)
- Domain (with access to NS/Host Records)
- (optional) Secondary Domain
What is a NS/Host Record?
It allows the user to make custom name servers for their domain for use in a webhosting environment.
“An NS record is used to delegate a subdomain to a set of name servers. Whenever you delegate a domain.”
From: https://support.dnsimple.com/articles/ns-record/
How are NS/Host Records Setup?
- In the domain management panel you should see a section called “Host Names” or “NS Records.”
- Upon opening this section you will have the ability to set a name (ex: NS1, NS2, etc) with an IP.
- The IP that will use is the one the DNS server is using publically.
- Example: GoDaddy.com
- The following examples shows how these records are formatted.
- The hostnames do not have to be ns1, ns2. These records can have any name like diablo, home, server, etc.
- Example: GoDaddy.com
After NS/Host Record Setup
After setting up the NS/Host Records you will need to change the Name servers of the domain to the records setup.
Example: Godaddy.com
Before Changing over the domains name servers make sure the server being used is setup with this domain
DNS Server Setup
In the example upon setting up a new WHM/cPanel server you will be asked for the name servers.
After entering the names you would click “Assign IP Address” this will give you the IP’s needed for the NS/Host Records.
Secondary Domain Setup
- If you have a secondary domain you would setup DNS records on your DNS server for it.
- This should be done before changing the name servers for the domain to the new name servers.
- So with the second domain you would set the name servers to the NS/Host Records you setup for the previous domain.
- Example: Godaddy.com
Garrett Bailey