Discussion Locked

Configure DNS and IIS (websites) behind

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a Netgear Router FVS318 (on DSL). I want to host 2 websites on my internal server (IP :192.168.1.100). Router has a pulbic IP.

Can I host two websites on this machine and access from outside?

To try this I have hosted two diffrent websites on this machine as well the DNS is configured on the local network (on same machine). It is working fine on thelocal network but even after assgining the ports on the router (80 and 53) it is not working from outside network.
From outside only one website works, not both.
What is wrong? Do I have to configure something more?

As well can I use this router to pass the DNS traffic so that hostname will get resolved by my own DNS server which is the same machine.

I already have assignedports like 80, 53 to this machine (192.168.1.100)on the router.

Quick help would be appriciated.

Thanks

5 replies

by cg it

For your first question, yes you can host multiple web sites using host headers in IIS.
For your second question, port 80 is the default HTTP inbound & outbound web request port. All HTTP [web site request] traffic goes through the default port. Technet article 190008 "How to use Host Headers will give you info on how to host multiple web sites. see the link below http://support.microsoft.com/default.aspx?scid=kb;en-us;190008

To answer your third question, Yes you can use your router to pass DNS traffic to your name server, however to get this to work on the internet so that all name servers query your name server for resolutition, you will have to register your name server [DNS server][usually with your domain name registrar].

by justanadmin

The easiest way I've found to get this working with the least headache is to use something like Zone Edit http://www.zoneedit.com for DNS services. They are free if you have less than 5 domain names.

On the server side, set up the virtual hosting to allow your machine to host multiple web sites with different domain names, then use zone edit to point those names to your WAN ip address with only port 80 forwarded to your server.

That is how my server is set up on my DSL line and it is working great. Zone edit is also very fast when you make changes, usually takes less than an hour to update once you make a change.

Good luck!

This discussion is closed to new replies.