Apache Lounge


About Forum Index Downloads Search Register Log in  RSS Apache Lounge  

Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.



A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.

Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: vhosts question(s)

Joined: 31 Aug 2018
Posts: 1
Location: USA, Rochester NY

PostPosted: Fri 31 Aug '18 19:35    Post subject: vhosts question(s) Reply with quote

I have a static IP from my provider. ***.myweb.com all comes to that IP#. I use port forwarding in my router to route to 1 of 4 web service devices I have based upon port number.

I would like to be able to give people URL like port8080.myweb.com and send that to one device running apache and have it, using vhosts, redirect it to the device on my LAN 192.168.1.xx:8080 and so on. They do not need to worry about port numbers to connect. Is that possible?
Back to top
James Blond

Joined: 19 Jan 2006
Posts: 6786
Location: Germany, Next to Hamburg

PostPosted: Wed 05 Sep '18 11:29    Post subject: Reply with quote

it is possible with a reverse proxy setup.


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so

<VirtualHost *:80>
    ServerName port8080.myweb.com
    DocumentRoot "c:/Apache24/htdocs"
    <Directory "c:/Apache24/htdocs">
        Options Indexes Includes FollowSymLinks
        AllowOverride None
        Require all granted
    <Location />
Back to top

Reply to topic   Topic: vhosts question(s) View previous topic :: View next topic
Post new topic   Forum Index -> Apache