I have my own registered domain. I want to set up my own DNS server and host a website completely independent of any third party hosting service. I have Windows Server 2003 and have installed the DNS role and configured it with a single forward zone (I am new to this terminology and am not sure if I am using it correctly). Lets say my domain is xyz.com I have the DNS role set up for xyz.com as the domain with a forward lookup zone. Also, I have reserved an internal IP to my server using the router's DHCP reservation list. So I basically have a static IP for my server on the internal network. How do I go about setting up this infrastructure so that I can have my own DNS set up and host my website ?
Hi My name is David., I'd here you what to fine out how to setup DNS on your home Network., The very first thing that you do is setup your Router here are the steps to take.
step 1. Contact your ISP
step 2. And ack for and Static IP Block on your Network you will need at least two Computer 4 is Ideal.
step 3. the Subnet must be change tp /29 for for 2 computer or /30 for 6 computers.
step 4 One of the static IP's must be your Router., There For if you have and /30 Subnet you can only have 5 Computers.
know setting up your Router (The Router is your Gatway)
Step 1. go in your Rounter Config. page to setup
step 2. the first thing you do is Disable DHCP service
step 3. disable NAT
step 4. disable your Routers Fire wall
step 5. Turn on DMZ port but not nesuary
step 6. reboot your
Know seting up your Modem
step 1. go in your Modem Config. page to setup
step 2. Disable DHCP service
step 3.Disable NAT
step 4 Disable The Fire Wall
step 5. Turn on IP Bridging
step 6. Reboot Modem
Know on your Computers to setup your Fire wall.
Step 1. Click Start, click Run, type firewall.cpl, and then click OK.
Step 2. Click the Advanced Settings tab, click the Exceptions tab, and then click Add Port.
Step 3. In the Port Number dialog box, type 2725, and then click TCP.
Step 4. Type a name for the port, such as Analysis Services1, and then click OK.
Step 5. Click Add Port
Step 6. In the Port Number dialog box, type 2393, and then click TCP.
Step 7. Type a name for the port, such as Analysis Service2, and then click OK.
Step 8. Click Add Port
Step 9. In the Port Number dialog box, type 2394, and then click TCP.
Step 10.Type a name for the port, such as Analysis Services3, and then click OK.
Step 11. Click the Exceptions tab, and then click to select the check box that is next to each new service.
Step 12. Click OK
Step 13. On each one of your Computers add Ports HTTP Port is 80, Port 21 FTP server, DNS Port 53
Know you should make your Web Server your Localhost ( note Pad )
Step 1. Create a Host file
Step 2. click start at the bottom of the Desktop
Step 3. Click Run
Step 4. Type This Path c:\windows\system32\drivers\etc\host
Step 5. and Click on
Step 6. Know you will see a Host File scoll down to the Bottom of the last Line and put your hit Enter on your Keyboard
Step 7. Type the IP address of your Host Computer then your Domain.com
Step 8 Like this 69.196.159.XXX goole.com and hit Enter
Step 9. IP and www. and hit Enter
Step 10 Like this 69.196.159.XXX www.google.com
Step 11 if you want to at and FTP or DNS keep adding lines the same way
Step 12. and Save
Know to Step up your Domain
Step 1. you should Transfer it to Godaddy so you can Manage it
Step 2. with and Godaddy Account setup
Step 3. Goto Manage Domain
Step 4. With Manage Domain Open at the top of the page you will see Custom Name Servers
Step 5. Enter your IP Address of your DNS servers and point to them
step 6. and log out
step alow beween 30 to 78 Hours for the changes to take
You must reboot your Modem, Router, and all Computers
Note you must have Active Directory Intergreated installed on your network
Taking matters into your own hands and handling your own DNS is not complicated at all. It is pretty easy, but you need to follow through the seemingly "difficult" steps... which are actually easier than setting up the DNS server itself.
Okay, so you installed your own DNS server. This DNS serves requests from outside, and now you're ready to hand out public IPs that correspond to the PCs that you're sharing with he world. And you have two (2) of these nameservers - named NS1.yourdomain.com, and NS2.yourdomain.com. Right? (one of them is actually for backup; all of the more serious ISPs require you to have two NSs).
So here's what's left to do:
So in order to take this DNS business out of your ISP's hands, you need to call and tell your ISP to forward the requests for your domain to your NS1 and NS2 servers. You will need to give them the IP addresses of your 2 NSs, so have them ready before you call. (When you do call, make sure to ask for and talk to a network engineer - they'll do this on the spot). This is done free of charge by most ISPs, as they are more than happy to not have to manage your DNS records.
Once they're done, your NS1 and NS2 will be published and cached on the internet's root servers (it'll take about 48 hours to propagate your NS1 and NS2 names to the majority of them, but expect functionality at least in the US within several hours).
So now, whenever someone searches for your website, will be forwarded by the internet root nameservers to your ISP, who will in turn redirect the request to your own NS1 or NS2 DNS servers, which in turn will respond however you want them to.
Setting up a home web server is simple. If you do it though, check and make sure that your ISP allows you to do so. Here is my recommendation to begin:
1. Register your domain name with godaddy.com, register.com or whomever you choose (ie.www.xyz.com)
2. Determine whether you will have a public dynamic IP address (will change constantly) or a static ip address (usually have to pay for this from your ISP)
3. DNS Setup
a. If you are using a public dynamic IP address (which I am sure you are in this case), then set up a dynamic dns free account (go here - http://www.dyndns.com/services/dns/dyndns/). You will need to set up a username and password, which you will later use on the DynDNS Updater you will need to install on your Windows web server. Create the zone for your domain (ie. xyz.com is a zone you create).
b. If you are using a static IP address, then make sure the name servers are 'Parked' with your domain provider, then set up a forward to the public static IP address of your home network (from here, you just set up port forwarding in your router/gateway to your web server and you should be done)
4. Web Server Configuration
I. set up a 'static' ip address on your network card which will manage the incoming connections. Make sure that IIS is listening for requests through this IP address via IIS Manager.
II. If you are going to use the dynamic dns configuration for DNS, then download the DynDNS Updater app to your windows server and it will manage the connection between your web server dns and dynamic dns servers (this is cool and easy)
III. Set up a test index.html in IIS Manager for your 'Default Site'. Open a web browser and open 'http://localhost' to make sure you can access the site.
IV. Make sure your Windows firewall allows traffic through port 80.
5. Router / Gateway Configuration - go to 'Port Forwarding', and forward all requests via port '80' to the static ip address of your webserver (ie. Allow Incoming Port '80' to 192.168.x.x')
6. From your web server, Go to 'http://www.whatismyip.com and see what your public ip address is.
7. Once your IIS is set up, your port forwarding has been configured, and dynamic dns is updated, ping the domain you registered 'ie. www.xyz.com' and see if it matches the IP address of your web server public ip.
8. From outside your local area network, try to access your domain 'http://www.xyz.com'. If success, then you are good to go. If no success, review all these steps again.
Can someone give me an instructions in how to configured my webserver. In my case, I built my webserver (i.e. server1 and server2) server2 where I setup my webserver and I was able to access my website via local intranet access. Now I wanted to access my website via publicly internet and I don't know how to configure that part. I did signed-up for domain at godaddy.com however I don't know which ipaddress do I set to my godaddy.com account.
i have my domain www. 12345 . com
i installed IIS 6 and made default web site
my public router static ip starts with 213...........
my server static ip starts with 62..........i have a block of 8 ips so to let you know
now I created a dns server , named ns1 ....
ns1 ... what ip should it use to take dns requests ? public router ip ? or server static private ip ?
when I create a hostA entry in forward zone what ip do I enter there ? my pc private ip ? my router public ip ?
hostA name = website ?
so that gives me ns1.website.com ?
at the domain's nameserver menu I enter my ns1.website.com but what ip to I enter there ? pc static ? router ip ?
i also from my router menu have on my pc port 80 and 21 open
when I do nslookup I get dsllan and my pc's primary dns adress.................
thank you for your help
I have a domain registered in go-daddy.com And my web server is hosted in our office and we have 2 isp, If 1 ip fails my web server should work with other isp, I need some help in making this configuration..
For ex: 123.com is my domain.com if any body tries to access 123.com it should be accessible even though my 1 isp is down..
Pls give me some hints and procedures , I am stuck here.