How to setup W2K3 DNS server to open my own WEB page from server in Internet

Hello,

When I did setup of domain controller on Windows 2003 R2 Standard, I gave, say, example.com as name of my domain. Right now I can open any orher page in Internet but not my own, which is hosted on another server somewhere in the world. What should I change on my server so when I type  www.example.com (I will replace this example.com with real domain name) I can see my own web page?

Thank you.
MACROLEVELAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brian PiercePhotographerCommented:
You don't add any entry to your DNS Server, if you have entries pointing to your www.example.com site you must remove them.

Check a couple of thing first. Make sure forwarding is enabled on your own DNS servers
Open up the DNS Console
First of all if you have a '.' (root) zone listed in your forward lookup zones then delete it.
Next right click on the DNS Server and select the 'Properties' option and go to the 'Forwarder' tab
In this make sure you have added the IP address(es) of your ISP's internet DNS servers.

Make sure that all of your clients, including the DNS server itself, points to your DNS server for its 'Preferred DNS Server'

If this iss all OK and you can connect to other web sites the problem must be with the internet DNS reccord for your web site. As you say it is hosted 'somewhere in the world' I am assuming that it is hosted with an ISP or hosting company. To locate your own web site, it must have an entry in an internet DNS. This is the responsibility of the company hosting the site. Contact your ISP or the company that hosts your web site and ensure that they have made the necessary entry. Once this is done you should be able to go to your own site just like any other.
0
MACROLEVELAuthor Commented:
KCTS:

I do not have any forwarders set, because I red that it is not necessary, and there is no problem to open any other web page. My own Web site is hosted on another server and it is up and runnings since 2005, and it was accessible from my computer before I did server setup. The problem is that I used example.com as domain name and perhaps now my own DNS server is trying to open this page on my server. It looks like I have to explain to my DNS server that example.com, www.expample.com, http://www.example.com are located on another server in Internet and it should read this address from another DNS server.

Here is some info about my setup and what I did couple hours ago:

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_22471420.html
0
MACROLEVELAuthor Commented:
Maybe this is the reason why by default domain name is something like example.local when you setup AD.... But I am sure that there is a way how to setup it.
0
INTRODUCING: WatchGuard's New MFA Solution

WatchGuard is proud to announce the launch of AuthPoint, a powerful, yet simple, Cloud-based MFA service designed to eliminate the vulnerabilities that put your data, systems, and users at risk.

suggestionstickCommented:
Hi

you might have to add a www CNAME entry into your internal dns server for your website. Point the CNAME to your the FQDN of the server hosting your website

Right click in your DNS zone: select new alias: alias is www, FQDN is the name of your web server


(PS using your external public domain name as your internal windows domain is not recommended practice)

  Trev
0
MACROLEVELAuthor Commented:
2 suggestionstick:

I asked before about recommended domain name here:

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_2003_Active_Directory/Q_22399988.html

for that reason I went with example.com ...

"Point the CNAME to your the FQDN of the server hosting your website". I know the IP of server where my site is hosted along with another sites with the same IP address... But still can't understand how to setup this on my DC...
0
Zenith63Commented:
Open DNS in Admin Tools.  In the forward lookup zone for your domain right click and select "New Host (A)".  Now type in "www" for the name and put in the IP of the server in the IP address field.  Hit Add Host and you're done.

Too late now, but yeah in future use mydomain.local as your AD DNS domain, much easier to manage in the long run.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Zenith63Commented:
Oh and you may need to do "ipconfig /flushdns" from the command line of your PC before it will work, or wait a few hours for the DNS records to expire and drop out of the cache of the PC automatically...
0
MACROLEVELAuthor Commented:
2 Zenith63:

Thank you, your solution work, I will accept it.

It is not too late to choose different name for my AD domain, because maybe I will reinstall W2K3 server. I can't use example.local because I have Apple Macs in my network, so it should be something else, but what? Any sugestions?
0
Zenith63Commented:
It doesn't really matter, you can set it to pretty much anything once it's not a website you want to access.  example.loc maybe.
0
suggestionstickCommented:
Hi

If you don't change your AD setup, I recommend that you use a CNAME DNS entry rather than an IP address host entry, incase your hosting company changes the IP address of the web server in the future.
If you know the IP address of the server where your website is hosted, try the following to get the FQDN for that server.

from command line
nslookup "the IP address of your web server" "IP address of an external DNS server (such as your ISP's DNS server)"
the returned response will contain the FQDN that you require after the line begining with "Name: "

example

nslookup 66.102.7.104 x.x.x.x
******************
******************

Name:    mc-in-f104.google.com               <- this line will be your web servers FQDN
Address:  66.102.7.104


then

click start -> administrative tools >  dns
expand the "forward lookup zone" node and select your example.com zone, then in the right hand pane, right click and select "NEW ALIAS".

for alias name enter www.
for FQDN enter "FQDN of web server that you found using nslookup above ".

click OK and test.

Trev



0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.