[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

DNS Server and internal web server

Posted on 2010-04-07
12
Medium Priority
?
282 Views
Last Modified: 2012-05-09
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
0
Comment
Question by:mechanicus01
  • 6
  • 6
12 Comments
 
LVL 2

Expert Comment

by:TeazerMD
ID: 30085009
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
 
LVL 1

Author Comment

by:mechanicus01
ID: 30085152
I want to access it from the internal network first.
I tried pinging the webserver and i get a time out.
any ideas?
0
 
LVL 2

Expert Comment

by:TeazerMD
ID: 30086222
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
Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

 
LVL 1

Author Comment

by:mechanicus01
ID: 30087323
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
 
LVL 2

Expert Comment

by:TeazerMD
ID: 30089365
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
 
LVL 1

Author Comment

by:mechanicus01
ID: 30090853
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
 
LVL 2

Expert Comment

by:TeazerMD
ID: 30091136
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
 
LVL 1

Author Comment

by:mechanicus01
ID: 30092610
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
 
LVL 2

Expert Comment

by:TeazerMD
ID: 30092873
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
 
LVL 1

Author Comment

by:mechanicus01
ID: 30093798
Ok.
That is how it is configd. will test more tomorrow.
I'm going to set up a linux bind9 server.

Thanks
0
 
LVL 2

Accepted Solution

by:
TeazerMD earned 2000 total points
ID: 30093948
PS. make shure there are no firewall/brandmawer restricting access to domain's host.
0
 
LVL 1

Author Closing Comment

by:mechanicus01
ID: 31712153
That was it , firewall was blocking it
0

Featured Post

Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

Question has a verified solution.

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

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
If you are looking for an automated solution for backup single or multiple Office 365 user mailboxes to Outlook data file, then you can use Kernel Office 365 Backup & Restore tool. Go through the video to check out the steps to backup single or mult…
Suggested Courses

607 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