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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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.
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.


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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

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…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

777 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