Howto setup apache2 request through 1 DMZ

Hello All,

I would like to send “sub-domain” traffice through 1 DMZ in my network. I have 1 fixed IP and send my domain requests to my server through my network. ie goes to my x.x.x.x fixed ip and ends up in my home server Now I because that server (debian 10) is the only server in the DMZ i would like to forward server requests from there to an other server in my network ie So in the dns I would still send traffic from the internet towards but from there would like to send it on to

Does anyone have tips on the virtual hosts, or proxy settings in the apache2 configs?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

As you are using Apache, I could suggest using mod_proxy to setup that kind of a reverse proxy for your websites.

You can follow the steps on how to do that here:

Hope that this helps! Regards, Bobby