DNS Server and internal web server

Hello,
I have a webserver that is joined to my domain and on it i created a webiste using IIS manger.
On the DNS server Forward lookup Zone i created records
1.  webserver  Host (A)  192.168.12.1
2.   www          host(A)   192.168.12.1

On a web browser i cant access the website i created. Testing with Nslookup turns up correctly.
I can only access the website from the server its hosted (localhost)

Thank you
LVL 1
mechanicus01Asked:
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.

TeazerMDCommented:
You can access it from the server it is hosted on becouse of one of the following reasons:
1. Your domain is not refered to the IP of the host.
2. From what I can see in your description the domain is attached to you local(intranetwork) IP, for the website to be accessible from outside you need to bind your website to your external IP. If you are using a router-modem you can setup port-forwarding for port 80 to point to your intranetwork PC.
0
mechanicus01Author Commented:
I want to access it from the internal network first.
I tried pinging the webserver and i get a time out.
any ideas?
0
TeazerMDCommented:
Do you need the domain name or do you just want to see the website?

Anyway, the most easy work-around is:
1. Go to:    C:\Windows\system32\drivers\etc\hosts
2. Add in the end of the file the following:
    192.168.12.1 domainname.com
P.S. Ofcourse you will have to replace "domainname.com" with the name of the domain you are currently trying to access.
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.

mechanicus01Author Commented:
Thats not what i am looking for, but thanks.
 Do you have any examples of how the records should be set up in a DNS server that is pointing to a webserver that is hosting a website?

I've done it using Godaddy but now i want to set up my own DNS server to host an internal wiki site.

Thanks
0
TeazerMDCommented:
It seems that you got a wrong idea here.
1. The domain itself must point to a DNS server
2. The DNS server must point to Host server
3. Host server must be configured to accept connections for that domain.

If you are hosting only 1 domain on this server, then I would recommend to set "IP Binding" to "All Unassigned". Then in Domain's Administration panel specify:
 www    host(A)   IPAdress

P.S. This must be your external IP adress.
0
mechanicus01Author Commented:
Right.
1. the domain is pointing to the DNS server ( they are in the same machine, so its pointing to 127.0.0.1)
2. DNS server is pointing to Host server ( its actually a windows 7 with IIS installed) and its joined to the above domain.
3. Host server's IP Bindings' set to "all Unassigned"

I am assuming that by "Domain's Administration" you are referring to DNS Administration for Forward Zones??
It is set as : www    Host(A)     IPaddress ( the Host Server's IP address)

I'm not sure i understand why it needs to be the external IP address if my intentions are to use it internally as a Wiki Site.

Thanks
0
TeazerMDCommented:
Sorry but you can't really do that.
The thing is that you want a domain that will virtually exist only in your local network. But domains are something that are available via all the Web.

If you want to setup a virtual domain it would have to be on the network's gateway server so that all computers in your network pass all the requests though this computer.

Can you do that?
0
mechanicus01Author Commented:
Ok.
So maybe we have the terminology crisscorssed. Im looking to create an intranet. for internal use only.
I need any pc from with in the domain to access wiki.local on their web browser and get to the wiki site.

Does that make more sense? Sorry, if get the terms mixed up.

Thanks
0
TeazerMDCommented:
ok, sorry - i probably misunderstood.
To that you will have to suffice one of the following 2 conditions:
1.The DNS server you wrote about is located on the network gateway.
2. Every computer in the network should have their DNS server adress pointing to the DNS server where you wrote: www    Host(A)     IPaddress ( the Host Server's IP address)
0
mechanicus01Author Commented:
Ok.
That is how it is configd. will test more tomorrow.
I'm going to set up a linux bind9 server.

Thanks
0
TeazerMDCommented:
PS. make shure there are no firewall/brandmawer restricting access to domain's host.
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
mechanicus01Author Commented:
That was it , firewall was blocking it
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
DNS

From novice to tech pro — start learning today.