VPS DNS Setup
Many novice server administrators are unsure how the domain name system (DNS) and DNS name servers are administered. A general overview of the Domain Name System can be viewed at the following URL: http://en.wikipedia.org/wiki/Domain_Name_System
With normal shared web hosting, DNS information is controlled by the hosting provider. Typically the provider will specify name servers to configure with domain names. However, Virtual Private Servers (VPS) are initially fully independent of any DNS services. This potentially results in the need to configure your VPS to work with any domain names. There are two methods to administer DNS name servers for your VPS domain names.
External DNS Provider: Companies exist online which provide DNS hosting, a few without any fees or charges. We recommend that our customers utilize these external DNS services if they will not be making domain changes often and will not be hosting multitudes of domains. With an external DNS service, you need will need to create an A Record on any domain name pointing to your VPS service's primary IP address. Your IP address is displayed within our VPS control panel. Two external services we recommend are listed below.
Administering DNS name servers: We recommend customers planning to make domain changes often, or hosting multiple domains, to control their own DNS name servers. A few things are needed to administrate name servers:
- Two allocated IP addresses on the server. Additional IP addresses are available for $1 per month per address, and may be requested through a support ticket.
- A valid, registered domain name fully in control of the customer must exist.
- A minimum of two (2) child name servers must be configured for your domain (ns1.example.com and ns2.example.com) with each child name server pointing at an IP address on the VPS.
- The server needs to have BIND/named, or another DNS server, configured to work with the domain. This varies depending on the operating system installed and the DNS server desired. Web Host Manager/cPanel provides easy to administer DNS server configuration utilities which we recommend strongly for novice system administrators.
The information within this document is only an introduction to working with DNS and VPS services and intended for those unfamiliar with such systems. Much more detailed information regarding this may be found through a Google search.