Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello all
I am new to DNS server. I am using iis6 from windows 2003
I try to setup a web werver, but I don't know how to setup a DNS server.My nameservers are working fine. I can bring up a default page if I type the ip add of my server or type ns1.mydomain.com.
I want to host a domain for example: mydomain.com. Do I need to edit the hosts file in C:\WINDOWS\system32\drivers\etc directory?
If I put 127.0.0.2 in the hosts file I can bring up the page for mydomain.com. But this way does not work when I try on second machine. What file do I need to put in the DNS zone? I created a zone mydomain.com, and a A record using www and 127.0.0.2 for the ip. I put the ns1.mydomain.com and the public ip address for my nameserver.
Can you tell me some simple step in order to bring up a page of mydomain.com
Thanks

Not sure why you are using 127.0.0.2 - this most certainly isnt a public registered domain ip.
If you have dns setup then all that is needed it to right click your forward lookup zone and add a new zone - type in the domain name you wish to handle dns queries for - so mydomain.com
then step through the rest of the wizard accepting the defaults(should be fine to start with)
then you need to add a host(A) record to to this domain - select your newly made domain from the left and then right click on an empty space in the right pane and select new host record - type in your host - www lets say and then the ip of the server handling the website - you may also see that create a ptr record being checked as well - in order for this to work successfully you will need to add a reverse lookup zone - highly recommended you do this - btw, you will want to do this before creating your host record for your new website. You can find info in dns help on how to setup all of this.
Now you need to go into IIS admin console and add your new website - you can also find everything you need in IIS help for this....
sorry to be so vague but to setup what you need and to type all the info you need from square 1 would give me carpul tunnel :)hope this gets you started though.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |