Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-08-05
5
Medium Priority
?
835 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 1000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

636 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