Solved

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

Posted on 2004-08-05
5
793 Views
Last Modified: 2010-04-20
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.
0
Comment
Question by:LeeGolding
  • 3
  • 2
5 Comments
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 250 total points
ID: 11725771
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
 

Author Comment

by:LeeGolding
ID: 11741120
Cheers Dave. I'll look into these and get back to you ASAP.

:)

Lee.
0
 

Author Comment

by:LeeGolding
ID: 11749325
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
 
LVL 34

Expert Comment

by:Dave_Dietz
ID: 11749528
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
 

Author Comment

by:LeeGolding
ID: 11751186
Cheers Dave :)

Lee.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now