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

Currently I have my domain setup to access my home network, currently running an IIS web server for a frontend (port 80 is fowarded to this server). Now, IIS fits me fine enough in some areas but there are other times where I have an application that I want to use but it can only run on Linux, so I would have to setup a Linux web server. But, my problem is accessing that web server through my domain name. Ideally what I'd like to do is have "domain.com" forward to my IIS server, but if I explicitly say "linux.domain.com" it'll somehow retrieve pages from my Linux web server. Dunno if it's possible with a simple home setup, a DD-WRT router and IIS frontend, but any advice would be welcome.

Thanks!

share|improve this question

closed as off topic by Chopper3, Ward, Scott Pack, Michael Hampton, voretaq7 Aug 31 '12 at 18:30

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
It's impossible unless you have multiple public IPs or you settle for proxying. –  Tibor Aug 7 '12 at 9:12
    
All "Home setup" questions are off-topic on Server Fault per the FAQ -- If you would like I can move this question to SuperUser for you, or you can simply re-ask it there... –  voretaq7 Aug 31 '12 at 18:31

1 Answer 1

If you only require webserver traffic to be redirected then you could setup a proxy server such as Squid. This would allow you to create http redirectors based on the URL used to access the proxy -

http://wiki.squid-cache.org/Features/Redirectors

One redirector for domain.com and one for linux.domain.com should do the job

share|improve this answer

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