A Beginner's Guide to Name Servers

Setting up nameservers in WHM/Cpanel

1. Log into WHM

2. Goto Server Setup =>> Edit Setup

Make sure your primary IP is correct under Main Shared Virtual Host IP

Make sure your Hostname is correct under Hostname (server1.xyz.com)

Under Primary Nameserver enter your primary nameserver (ns1.xyz.com), click on Assign

Ip Address, then click on Add A entry for this nameserver

Under Secondary Nameserver enter your secondary nameserver (ns2.xyz.com), click on

Assign Ip Address, then click on Add A entry for this nameserver

Note: You can add a third and fourth name server if you wish, however this is not necessary. All

name servers will be automatically assigned to any accounts you setup later. You will have to manually

disable extra nameservers from each account.

Scroll to the bottom and click Save.


Goto DNS Functions =>> Edit a DNS Zone

Choose the primary domain for the server and click Edit

The beginning of your Zone File should look something like this:

Code:
 
; Zone File for ip-2-ip.net
 
 
$TTL 14400
 
 
@	 14440	 IN SOA	 ns1.xyz.com.	 admin.xyz.com 
 
                        


In SOA add your primary ns (ns1.xyz.com.) and contact email (admin.xyz.com.). Put a period at

the end of your nameserver, and use a period in place of @ in your contact email and add a period at the

end too.)


In most cases you should have the following Record Types:
Code:
 
xyz.com.			14440	IN NS	 ns1.xyz.com. 
 
xyz.com.			14440	IN NS	 ns2.xyz.com.
 
xyz.com.			14440	IN A	 123.123.123.12 (primary IP Address)
 
localhost.xyz.com. 14440	IN A	 127.0.0.1
 
xyz.com.			14440	IN MX	 0		 xyz.com.
 
mail				14440	IN CNAME xyz.com.
 
www				 14440	IN CNAME xyz.com.
 
ftp				 14440	IN A	 123.123.123.13
 
ns1				 14440	IN A	 123.123.123.12
 
ns2				 14440	IN A	 123.123.123.13
 
server1			 14440	IN A	 123.123.123.12 (primary IP Address) 
 


If you do not have A records for your Nameservers add them now. If you use Managed DNS for your

domain name, also add A records to your domain name with your DNS.

If you made changes to your zone file, scroll down to the bottom and click on Save


Goto DNS Functions =>> Perform a DNS Cleanup


Now log out of WHM and SSH to your server and login as root.

Note: You can download Putty by

Clicking Here. It's a clean

running application that will not require installation on Windows-boxes.

Once logged in...

At command prompt type: pico /etc/nameserverips

Make sure all of your nameservers are listed

123.123.123.12=ns1.xyz.com
123.123.123.13=ns2.xyz.com
123.123.123.14=0
123.123.123.15=0
123.123.123.16=0

Remove any nameservers that do not belong.

If you make changes to the file, then press the following keys on your keyboard Ctrl o

and then Enter to save the file, then Ctrl x to exit.


At command prompt type: pico /etc/resolv.conf

There should only be two records in the resolv.conf file... primary nameserver, secondary

nameserver.

nameserver 123.123.123.12
nameserver 123.123.123.13

Remove anything else and then save and exit.


At the prompt type: pico /etc/wwwacct.conf

Make sure all of the information is correct. Remove anything that does not belong, save, then

exit.

ADDR 123.123.123.12
CONTACTEMAIL admin@xyz.com
CONTACTPAGER
DEFMOD x
ETHDEV
FTPTYPE proftpd
HOMEDIR /home
HOMEMATCH home
HOST server1.xyz.com
LOGSTYLE combined
MINUID
NS ns1.xyz.com
NS2 ns2.xyz.com
ns3
SCRIPTALIAS y
ns4



At the prompt type: pico /etc/named.conf

Scroll down to the bottom of the file to the zone records.
Code:
 
zone "xyz.com" {
		type master;
		file "/var/named/xyz.com.db";
};
 

Make sure all domain zone records are correct. Remove any zone records that are old or do not

belong there. If you make any changes, save and then exit.


At the prompt type: pico /etc/host.conf[B]

This file should look like this:

[B]order hosts,bind


At the prompt type: pico /etc/hosts

This file should look like this:
Code:
 
# Do not remove the following line, or various programs
# that require network functionality will fail.
123.123.123.12		 server1.xyz.com server1
127.0.0.1			 localhost
 

Now your done and your nameservers will work like a pro.

Setting up Custom/Private Nameservers for your Resellers


This was the hardest topic to find clear and useful information on. I never did find any... but after taking a chance and experimenting with one of my dedis, it became clear.



Goto Server Setup =>> Tweak Settings

Scroll down to System and check Allow Sharing Nameserver Ips



When you setup a new reseller account...


Goto Account Functions =>> Create a New Account

Create new reseller account. Put a check in the Reseller box and Owner (only if reseller) box.


Goto Resellers =>> Reseller Center

Select the reseller and click on Edit Privileges/Nameservers.

Set account creation and feature limits

At the bottom enter resellers nameservers (ns1.reseller.com, ns2.reseller.com).


IMPORTANT

If you wish to assign private IPs click on Assign Ip Address, and then Add an A entry for this nameserver.

If you want the name server to use shared IP addresses do not assign an IP address.

Save your changes.


Goto DNS Functions =>> Edit a DNS Zone

Select reseller

Enter A entries for the nameservers along with their corrosponding IP addresses
Code:
 ns1	 14440	 IN  A	 123.123.123.12
 ns2	 14440	 IN  A	 123.123.123.13


Save your changes.


Your reseller's will have to create their nameservers at their domain registry as well. If they use Managed DNS, they will also have to add A records for the nameservers to their domain.



More Discussion Please check out WebHostingChat.com


 



Below you'll find our directory layout. You an browse the listings of companies that offer dedicated server web hosting, based on the categories below:

Windows Dedicated Servers Linux Dedicated Servers Managed Dedicated Servers

Virtual Private Servers

Dedicated Server Colocation

Server Control Panels

 

I'm looking for information in regards to:
 • managed dedicated server / full service server management
 • dedicated game server, server to host online games
 • dedicated linux server / server based on Linux o.s



The Latest Reviews Of Dedicated Server Web Hosting Companies


    Siteplot, is offering windows dedicated servers starting at $89 per month. They also recently started offering linux servers as well. Same day setup in most cases, and they offer 24x7 support. According to their website, there are also offering no setup fees, but it goes on to state that it is for a limited time only.
Read our full Siteplot! review 

 

  E-Insites offers both windows and linux dedicated servers. From reviewing their site the good news is that they have their very own custom built control panel that can be included with your server. Their control panel is called Cwipanel, and from the demo that I've seen, it seems to work pretty good.
Read our E-Insites review 

 

  RackSpace is one of the most renown dedicated server companies on the net, because of the length of period they have been in business. The prices are a bit steep for the average person looking for a server, but considering the managed solutions they provide, and the redundancy network, it is a safe decision to choose RackSpace as a provider.
Read our RackSpace review 

 

  X2Hosting offers managed dedicated servers in both windows and linux platforms. Posted on their site currently is a special to get one free month, the problem I currently see with that, is it states it expires October 15th, which was over two weeks ago. Hopefully someone notices that soon, and updates to show that the notice needs to updated.
Read our X2Hosting review 

 

  Atlantic.net boasts about their capacity to handle high traffic websites. Their network seems to be pretty stable and extensive. They state they are the perfect solution for users looking for high bandwidth and lots of storage. Also mentioned is the security procedures which upon reading seem to be very advanced.
Read our Atlantic.net review 

Featured Dedicated Hosts

1 Rackspace - Managed Hosting
2 ServerBeach - AMD Based Dedicated Servers
3 Siteplot - Windows & Linux No Setup Fee Servers
4 Atlantic.net - Multi-home network
5 E-Insites - Windows & Linux Servers

Dedicated Server directories

Browse our general listing
Windows Dedicated Servers
Linux Dedicated Servers
Dedicated Server Colocation
Virtual Private Servers
Managed Dedicated Servers

Server Related Articles

How to choose a dedicated server host - A two chapter article to help you choose the right host.
RDS installation & basics - The basics on installing & using RDS to remotely administer your Windows dedicated server.
SSH basics & a checklist for your dedicated Server admin tasks - An article on SSH clients & a checklist for your Windows or Linux server admin tasks.
PHP 5 - Should you upgrade your server to this version?
ASP Components - What ASP components every server should have!
Mail Servers - Listings of the most popular mail servers
DNS Servers - Alternatives to Microsoft DNS for Windows Servers
Web Server Providers (Actual Hardware) - Companies that develop web server solutions
Web Server Operating Systems - Companies that offer operating systems for servers
MS SQL Web Hosting - MS SQL information and hosts offering it
Network Utilities - Name Server, Whois, Ip Address Lookups

Top rated Control panels

1 Cpanel - Linux Based hosting Control Panel
2 H-Sphere - Complete server hosting automation
3 Cwipanel - Web Host Automation technology
4 Hosting Controller - Windows based control panel
5 Ensim - Both Linux & Windows server supported
. Site Submissions
Submit News Item - Click here to submit your news item/press release
Add Your Site - Add your server company to our directory

. Dedicated Hosting Reviews

Honest reviews of dedicated server companies :
Reviews [1-10]
Reviews [11-20]
Reviews [21-30]
Reviews [31-40]
Reviews [41-50]

Dedicated Gaming Server Hosting Company Reviews - Dedicated Gaming Server Hosting Companies Reviewed
. Featured Partner Sites
Find Web Designers
Web Design & Hosting By Waltbren Computing
Cheap Dedicated Servers
Web Hosting Directory
Free Webmaster Tools
Cheap Dedicated Web Servers
More Partner Listings
 

Dedicated Servers Directory Windows Dedicated Servers Linux Dedicated Servers
Guide To Leasing Dedicated ServersDedicated Server Web Hosting CompaniesDedicated Server Colocation


© Copyright 2004. All Rights Reserved. www.dedicated-server-news.com Owned & Operated by Drenet Computers