View Full Version : Domain Name to Apache Server on Win NT

01-09-2003, 09:10 PM
How do I connect my domain name w/ my static ip address to my house.

Basically I need to know how to do I obtain the dns names.. lost on that whole part. thanks

01-09-2003, 09:21 PM
Well no-one else seems to know, so I will tell you what I know even though it is in context to Linux.

Firstly, you will have to set up your own nameservers on your box. Now in Linux there are some files to edit, however I have no idea what to do in NT. However, it is a matter of telling the box that you want your server (i.e. server1.yourdomain.com) to be at that IP (i.e. 111.222.333.444) and also you will have to create two nameserver records, usually ns1 and ns2.

The problem that I can see is that you won't have two IP addresses, so you will not be able to run your namservers purely off your own box. Therefore I suggest instead that you run one nameserver off your local box, and point ns2 at a webserver somewhere.

OK now that you have decided your nameserver IPs etc. you need to create nameserver host records for your domain, which you do at the registrar you used to register the domain. This is different to pointing the nameservers! Unfortunately you will only be able to create one nameserver with one IP instead of 2. Should still work though.

Now you need to point the nameservers for yourdomain.com at ns1.yourdomain.com (which you just set up using your IP, which is configured in your box) and ns2.somewebserver.net

Wait a while for those to resolve, and it should work. The only thing is, you will have to ask your ISP to add a reverse DNS (a PTR record) to map your IP to your domain. This is necessary for a lot of mail to work.

Finally, go to www.dnsreport.com and type in yourdomain.com (obviously, your own domain) and see what it says. There should not be any fails although there will probably be some warnings. You can also dig and ping your server and it's IP and the nameservers, and see what the result is.

Summary: Difficult to accomplish because you are using NT and not Linux. Also, difficult because you only have one IP available. However, no reason why you cannot do it (in theory!)

Well I hope that helps! I have successfully set up my own nameservers on my own webservers so I have done this before. But I wouldn't touch NT for this even though I use XP Pro and IIS 5 at home for development.

Good luck! :)

::] krycek [::