Assign subdomains to separate ports on web server

Posted by Michael Frank on Pro Webmasters See other posts from Pro Webmasters or by Michael Frank
Published on 2012-10-01T06:14:27Z Indexed on 2012/10/17 11:23 UTC
Read the original article Hit count: 292

Filed under:
|

I have set up an Abyss web server as a little experiment, and I want to know if it is possible to assign subdomains to different ports on the machine the web server is running on.

I have a couple webUIs that I'd like to assign subdomains:

192.168.1.1:8000 becomes example.com/webui1/ 192.168.1.1:8001 becomes example.com/webui2/

The webUIs are available by accessing their ports via example.com:8000.

I have tried using a reverse proxy, but it seems that this is only usable on one internal IP at a time.

What other options do I have?

Answer is good, but my current set up doesn't meet the requirements. Abyss Web Server X2 is required to use Virtual Hosts with Abyss.

© Pro Webmasters or respective owner

Related posts about subdomain

Related posts about webserver