Hosting Own IIS Webserver On Home PC and Pointing Internet Domains To This PC

Hi friends,

I have two active internet domains, and rather than pay a hosting company to provide webspace for these domains I would like to host them on my PC at home. They will be low traffice sites. I have a reliable 512kbps ADSL broadband connection.

1) How do I point these internet domains to my home IP address? So that when someone enters the domain in their webbrowser, internet DNS knows to point them to my home ip address of say 212.165.100.100?

2) Do I have to have a static IP address on my home PC? I currently use a dynamic IP service which translates a domain name to my IP address. Could I point the internet domain, to this dynamic domain, which is then resolved to my home IP address?

3) How do I configure IIS 5 to provide the correct local website on my PC acccording to the internet domain entered by the user in their web browser?

Thanks,

Lee.
LeeGoldingAsked:
Who is Participating?
 
Dave_DietzConnect With a Mentor Commented:
1) By registering these Domains with some sort of registrar and either finding a DNS hoster or providing your own DNS hosting (see next answer)

2) No.  A dynamic DNS provider will work just fine.  As a matter of fact you may well be able to host your other DNS names with your Dynamic DNS provider so that the entries get updated (if) when your IP changes.  I personally use DtDNS (www.dtdns.com) and they provide complete domain name hosting as one of their services.  As far as forwarding your DNS names to a dynamic DNS name I'm not sure how many DNS hosters provide that kind of service, and it would also make using Host Headers for site determination very difficult (see next answer)

3) If you are not going to use SSL you can use Host Headers.  In the Web Site Properties->Web Site->IP Configuration->Advanced you can set a Host Header name for your site.  When setting the host header you will want to use the FQDN that clients will enter into their browser i.e. if they use http://www.mysite.com/index.asp to hit your site you would want to set the host header to www.mysite.com.  If you want to use SSL on more than one site you will need a seperate IP Address.

Hope this helps.

Dave Dietz
0
 
LeeGoldingAuthor Commented:
Cheers Dave. I'll look into these and get back to you ASAP.

:)

Lee.
0
 
LeeGoldingAuthor Commented:
Hi Dave,

1 and 2 above have been setup fine. I used DynDns.org for my Custom DNS.

I am using Windows XP and IIS 5. Is it true that only one website can be created unless I run windows 2000 server? I can create virtual directories. If I use virtual directories can I assign host headers to these?

Can IIS be tweaked to allow creation of more websites rather than just 'Default Web Site'?

Would I need to use Apache instead?


Thanks,

Lee.
0
 
Dave_DietzCommented:
IIS 5.1 on Windows XP Professional (and IIS 5.0 on Windows 2000 Professional as well) is hardcoded to allow only one website.  It is intended as a low volume and/or development platform for IIS applications.

In order to run more than one site you would need to mve to a server version of the OS.

There is no way to assign Host Headers to a virtual directory.  The closes you could get would be to use some sort of script in the root of the Web Site that parses the Host field of the HTTP Request and redirects to a virtual directory based on that.

There is no way to get around the hardcoded limit of one site (that I am aware of).

Apache or some other Win32 based web server would likely allow you to host more than one site on a Windows XP machine, but you would still have some hardcoded limits in the TCP/IP stack that could end up limiting the scalability of any web server product run on a workstation class OS.

Sorry to have to tell you there's not an easy way to do what you want to but that's the way the OS is designed.

Dave Dietz
0
 
LeeGoldingAuthor Commented:
Cheers Dave :)

Lee.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.