Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How to Web Server,DNS,Name Server

Posted on 2005-02-28
Medium Priority
Last Modified: 2008-02-01
I have a problem
Please help.
I want to set up my machine as a web server.
MS Windows server 2003 installed.
DNS and IIS Installed.
I have domain names www.a1.com,www.a2.com and www.a3.com
I have adsl router that has static ip 81.xxx.xxx.xxx
I enabled DMZ on router and set my mach ip
if i type adresses http://81.xxx.xxx.xxx/a1
they show the web pages under my iis
but i want to show them when i type www.a1.com
so i registered ns1.a1.com and ns2.a1.com to my modem's ip 81.xxx.xxx.xxx
after that i set all dns settings to dns_1: ns1.a1.com
dns_2: ns2.a1.com
when i typed ping ns1.a1.com. tries to ping 81.xxx.xxx.xxx  but no response
and i couldn't connect my mach typing www.a1.com
i guess i couldn't send my server info to other servers
i tried to make A,CNAME settings in dnsmgmt but i couldn't success.
what should i do?
could anyone help me how to set up my server and router step by step so
i can correct my settings.

Question by:uKurKcu
  • 4
  • 3
LVL 33

Expert Comment

ID: 13423068
I presume you registered ns1...  and ns2... with your domain registrar.  The first thing to remember is that DNS changes like this can take 24-72 hours to propagate to the internet, so even if everything (ie. DNS) is configured properly it can take up to three days for everyone to be able to reach your site.  This assumes also that your router is properly configure to forward DNS traffic (port 53) and web traffic (port 80) to your web server.  If you have put your server in the DMZ, that  should suffice.

You may want to take a look at this tutorial for setting up DNS in Windows 2003 - www.simongibson.com/intranet/dns2003.  Keep in mind this tutorial is for an internal DNS server.  However, the steps are essentially the same for a public server with the exception that you should use your server's public (internet) IP address rather than it's private (LAN) IP address.  If you can provide your actual domain name, it would be easier to track down where the problem is if there is a DNS problem.

One other thing to think about - there are a number of free DNS services available (ie. www.zoneedit.com).  Most good domain registrars will also offer DNS service.  Using a service like this might be a simpler solution than trying to run your own public DNS server.
LVL 33

Expert Comment

ID: 13423129
Just saw that info in your other question - www.experts-exchange.com/Operating_Systems/Windows_Server_2003/Q_21331878.html

Domain: www.gappazaryeri.com
IP :

According to www.dnsreport.com, your name servers are not repsponding.  The most likely cause is that your router isn't forwarding DNS requests to the server.

BTW - I am able to ping ns1.gappazaryeri.com.  If you tried to ping the external IP from inside the network, it makes sense that you were unable to ping it.
LVL 33

Expert Comment

ID: 13423184
Double check your DNS settings and make sure you have your gappazaryeri.com zone set up properly according to the tutorial above.
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.


Author Comment

ID: 13427135
which settings are wrong ?
i added all one by one and wait for 2 hours each of them
tested ns result but no success.

Author Comment

ID: 13427378
i used zoneedit for my another domain name
i gave my ip there they gave me ns8.zoneedit.com and ns13.zoneedit.com
i put these ns settings to www.ozgungame.com
then i have www.ozgungame.com with these ns settings and it connects my computer and find own directory everything works well like -humeniuk- said.
but i have gappazaryeri.com domain name and ns1.gappazaryeri.com to my server ip.
i want to use these settings for all my domains but how.
this is my dns settings picture.
LVL 33

Expert Comment

ID: 13429384
If you are going to use your nameserver for public name resolution, you have to use the public (internet) IP of your server (, NOT the network address (ie. or

Author Comment

ID: 13459334
thanks everybody for help.
I found the problem i've forgetten to set up primary DNS suffix of my computer.
I changed machine name as ns1 and i give gappazaryeri.com as dns suffix and it solved :)

Accepted Solution

OzzMod earned 0 total points
ID: 13573914
Closed, 130 points refunded.
Community Support Moderator (Graveyard shift)

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question