Chapter 2: Configuring DNS

Now that we've created your website in IIS7, we'll want to configure Windows DNS so that your domain name is able to resolve to your website.

1. Click the Windows Start button then navigate to Administrative Tools > DNS.




2. When DNS Manager appears, you'll see your server's name on the left window pane. Click the node next to your server name to expand the options.




3. Then click on Forward Lookup Zones.




4. Click on the "Action" menu, then select New Zone.




5. The "New Zone Wizard" will appear. Click Next.




6. Select Primary zone, then click Next.




7. For Zone name, enter your domain name. Then click Next.




8. Select Create a new file with this file name, then click "Next."




9. Unless you are familiar with Dynamic Updates, you'll want to select Do not allow dynamic updates. Then click Next.




10. On the completion page, click Finish.




11. You will now see your domain listed on the main window pane. Double-click your domain.




12. Next, on a blank area on the main window pane, right-click your mouse, then select New Host (A or AAAA)...




13. The "New Host" dialog box will appear. From here, we will be creating a number of DNS host records which will take up the next 11 steps. If you are already familiar with creating DNS host records, you can skip down to step 25.

For our first record, enter ns1 for the Name field. On the IP address field, enter in your Primary IP address (the same IP address you used when creating your site in IIS7). Then click "Add Host."




14. You'll get a confirmation box letting you know that the host record was successfully created. Click OK.




15. For your next host record, enter in ns2 for the Name field. You will use the Secondary IP address for the IP address field (to clarify, from the two IP addresses you were assigned in the "Dedicated Server Built" email from us, you will use the address that you DID NOT use when creating your website in IIS7). Then click Add Host.




16. Click OK.




17. For the next record, leave the Name field blank, then enter your Primary IP address. Then click Add Host.




18. Click OK.




19. For the next host record, enter www on the Name field. Enter your Primary IP address. Click Add Host.




20. Click OK.




21. If you plan to host mail on your server, enter mail on the Name Field. If you do not plan to host mail or install SmarterMail on your server, please skip to step 23. Enter your Primary IP address, then click Add Host.




22. click OK.




23. If you plan to host SmarterStats on your server, enter stats on the Name field. If not, skip to step 25. Enter your Primary IP address, then click Add Host.




24. Click OK, then click Done.




25. Double click on the Start of Authority (SOA) record.




26. Click the Name Servers tab.




27. Click on the name server currently listed in the field, which should be your server name, then click Remove.




28. Then click Add...




29. On the "FQDN" field, enter your domain name with "ns1." as the prefix. So, if your domain is developernirvana.com, you would enter ns1.developernirvna.com. Then click Resolve.




30. After clicking resolve, your Primary IP address should appear with a green check mark. If this action fails, click the area that says "<click here to add an IP Address>" and manually add your Primary IP. Then click OK.




31. Click Add... again to add another FQDN.




32. Enter your domain name with "ns2." as the prefix, then click Resolve.




33. Your Secondary IP should automatically appear next to a green check mark. If this action fails, manually enter your Secondary IP address, then click OK.




34. Verify that you now have two FQDN's listed in the field, just as the example below, then click the Start of Authority (SOA) tab.




35. Next to the Primary server tab, click Browse...




36. Double-click your server name.




37. Double-click the Forward Lookup Zones folder.




38. Double-click your domain's folder.




39. Click on ns1, then click OK.




40. Click OK.




41. The last thing we'll do now is create an SPF record (if you do not plan to host email for your domain, skip the remaining steps). To do so, right-click your mouse on a blank area in the main window pane. If you are not familiar with what SPF is, please visit http://www.openspf.org.




42. Select Other New Records...




43. Scroll down and select Text (TXT), then click Create Record.




44. In the example below, we've entered "v=spf1 mx -all." However, to determine the best SPF option for your needs, please visit Microsoft's Sender ID Framework SPF Record Wizard. Once the wizard has generated the record most appropriate for you, enter that into the text field (NOT in the Record name field) and click OK.




45. Now that you've set up DNS, you'll need to update the DNS name servers that your domain name is currently delegated to. This step will need to be completed directly with your domain registrar. You will need to provide your registrar with the name server information you completed on step 34, which is your two name servers (i.e. ns1.developernirvana.com & ns2.developernirvana.com), and the corresponding IP addresses for each.

Please allow 24-72 hours for your domain name to fully propagate across the internet.

Next >> Chapter 3: Configuring an FTP user in FileZilla