Managing DNS on a Windows Dedicated or VPS Server

To add a new domain name to be hosted on a dedicated server (or to provide name server functions for domain names hosted elsewhere), create the DNS Zone file for that domain name on the server. This is done in the DNS management interface, which can be accessed in the Services and Applications tree of the Computer Management console.

Create the Zone File
 1. Expand all levels of the DNS tree. You will see a folder called "Forward Lookup Zones" and a folder called "Reverse Lookup Zones".
 2. Right-click on the "Forward Lookup Zones" folder and choose "New Zone"
 3. Click "Next" on the first page of the Wizard.
 4. Select "Primary Zone" and click "Next".
 5. Type the name of domain you are adding and click "Next".
 6. Leave the option to "create a new file..." and leave the default file name and click "Next".
 7. Leave "Do not Allow Dynamic Updates" selected then click "Next".
 8.Click "Finish".
 9. The new zone will be at the end of your list of domains. Locate and double-click on it.

Adding Host Records to the Zone File
 Create host records and assign the domain name and host records to an IP address.
 1. Right-click on the zone file or in the whitespace on the right pane, and choose "New Host".
 2. Leave the "Name" blank, and type the IP address of the domain in the field. Click "Add Host." This Host record allows people to resolve "" without a prefix.
 3. You will be returned to the New Host panel. This time type "www" (no quotes) in the address line and then complete the IP address and click Add Host. This creates the resolution for "".
 4. You can create any other Host records you'd like. The Host record creates resolution for third level domains, so if you want to have "" go to a specific IP, create a Host called "secure" and specify the IP.
 **If this is the first domain name for the server, then you will want to create the Name Servers for your domain.
 5. Create another Host record and make the name “ns1” (no quotes) in the name line. Then put your machine IP, specified in the Web Site Ready E-Mail, in the IP address line.
 6. Create another Host record and this time make the name “ns2” (no quotes) in the name line. Then put your web IP, specified in the Web Site Ready E-mail, in the IP address line.

Adding Mail Exchange Records to the Zone File
 If your domain is going to include email support, you'll need to create a "Mail Exchange" (or MX) record.
 1. Right Click and choose "New Mail Exchanger".
 2. In most cases, you will leave the Host or child Domain field blank unless you want to separate email for departments. For example, if you want the sales group to receive their email on a different server than everybody else, you would enter "sales" as the host and when the record is created, email sent to "" would go to the MX server you specified.
 3. The "Mail server" field must be filled with a fully qualified domain name. That means it can't be set to an IP address. If you only have an IP address for the server, you can create a host record called "mail" and point it to that IP, then enter your "Mail server" as ""
 4. If you are only using one mail server, then leave the priority set to 10. You will only modify this if you are setting redundant mail servers, in which case, the lower the number in the priority field, the higher the priority of that server.

Adding Cname or Alias Records to the Zone File
 If you want to create a prefix that resolves to the same address as another Host record you've created, you can create an "Alias" record for it.
 1. Right-Click and select "New Alias".
 2. The "Alias Name" field is the prefix that you want to create (for example: ftp to create resolution for "").
 3. The "Fully qualified name" field is where you enter the address you want your alias to point to (if you want "" to resolve to the same address as "" the "" is what you would enter in this field.

Updating the Start of Authority (SOA) record
 By default, the SOA record uses the name of the server, this is incorrect.
 1. Double click on the SOA record, this will open a box with the SOA tab selected.
 2. Located next to the Primary Server selection, click the Browse Button. Double click the names until you get to your domain name then choose ns1. Select the Name Servers Tab. If you have a record for your dedicated box number select it and click Remove.
 3. Click the Add button, Browse, and drill down until you get to your domain name and double click on ns1. It will show your selection and then click OK. Repeat this step again for ns2.

Update Server Data File After you have created all the records you want for your domain, right-click on the zone file on the left pane and select "Update Server Data File".

Other references:
 You can check your DNS settings by using the DNS Report tool in the following link.

Add Feedback