Solved

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

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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Website Hosting for Best Worldwide Response Times 6 136
IIS 8.5 2 51
Webserver access problem 5 67
Is it true tt IIS7 can't support TLSv1.2 if OS is on Win2008 1 54
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
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 …

937 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

15 Experts available now in Live!

Get 1:1 Help Now