In Virtualmin, I've read that you can set up a proxy website under a subdomain.

All traffic on port 80 hits Apache where there are multiple virtual servers sharing the internal server IP.

I have a separate machine, a Raspberry Pi3 running a web service on port 8123.

If I create a subdomain.mydomain.example, can I get Apache to load the http://internalip:8123 site and send it to the requestor?

Is this what a reverse proxy is?

  • Yes, this is what a reverse proxy is for - see Apache - Reverse Proxy Guide. How to configure this is a bit outside the scope of this site, which is primarily for operating websites. Generally for advanced server configurations, we point users to Server Fault. They don't permit questions about control panels, otherwise I'd migrate this there, but if you edit this to just focus on the required Apache configuration, they might be able to help.
    – dan
    Oct 23 '18 at 6:40
  • Perhaps this guide might help (check the last topic).
    – dan
    Oct 23 '18 at 6:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.