Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a home server, on which I have installed Apache, and several other applications that have a Web GUI (JDownloader, Free Download Manager).

In order to access each of these apps (whether be it from the local network or the Internet), I have to enter a different port, e.g.,

http://server:8085 or http://xxxx.dyndns.org:8085 for Apache  
http://server:90   or http://xxxx.dyndns.org:90   for FDM  
http://server:8081 or http://xxxx.dyndns.org:8081 for JDownloader

I would like to be able to access them using sub-domains, e.g,

http://apache.server      or http://apache.xxxx.dyndns.org      for Apache,
http://fdm.server         or http://fdm.xxxx.dyndns.org         for FDM,
http://jdownloader.server or http://jdownloader.xxxx.dyndns.org for JDownloader

First of all, would it be possible like I want it, i.e., both from LAN and Internet, and if yes, how? Even if it's possible only for Internet, I would like to know how to do it, if there's a way.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Possible, yes, but I don't know if you'll find a free solution on Windows. You'd want to install a reverse proxy server which would listen on port 80 for incoming connections. It would look for requests to the appropriate hostname and then forward those connections internally to the appropriate local IP/port combination (for example, apache.xxxx.dyndns.org -> localhost:8085).

share|improve this answer
    
Ah, thank you very much Justin, I'll try investigating that solution. –  Yusuf May 28 '10 at 10:04
    
@Yusuf: nginx can act as a reverse proxy, and runs on Windows. As far as I know stackoverflow/serverfault/etc. uses it as part of their stack... nginx.org –  MattB May 28 '10 at 13:57
    
Thanks Matt, I'll try that as soon as I have some time; I hope there's nothing like conflicts with IIS7 or Apache, since it is also an HTTP server? –  Yusuf Jun 1 '10 at 6:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.