Link to home
Start Free TrialLog in
Avatar of Rezwan Senobarian
Rezwan SenobarianFlag for United States of America

asked on

Explain in detail how you would configure Apache in Debian to proxy

Anyone can help with this? Explain in detail how you would configure Apache in Debian to proxy requests for a website “www.test.com” from standard port “80” to an internal web server located at “192.168.1.3” who’s web server is running on port “8080”.  How would you then add proxying to a second website “www.test2.com” to “192.168.1.4” utilizing standard port “80” for both the proxy and the internal web server
Avatar of David Favor
David Favor
Flag of United States of America image

You're asking many questions + hard to follow.

2x general solutions for forwarding.

1) Use a simple redirect rule.

2) Use a proxy engine like HAProxy or Squid or NGINX.

Fairly simple, so my guess is there's far more to your question.

Add additional description, for more specific answers.

Tip: If you're using HTTPS what you're describing will require some considerable plumbing to serve content correctly + quickly.

Tip: If you require maximum speed, then only use redirect rules, as all proxy engines eat up serious resource + decrease throughput.
As mentioned above, I would use NGINX
What you want is called a reverse proxy. There is an Apache tutorial exactly for this.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.