Solved

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

Posted on 2004-08-05
5
814 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Coldfusion Datefield problem 2 125
SSL sertificate 5 75
whm high memory usage in processes 7 122
move expression web site to a new server 13 79
In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

696 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