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 www.example.com goes to my x.x.x.x fixed ip and ends up in my home server 192.168.1.43. 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 192.168.1.39. So in the dns I would still send traffic from the internet server2.example.com towards 192.168.1.43 but from there would like to send it on to 192.168.1.39
Does anyone have tips on the virtual hosts, or proxy settings in the apache2 configs?
Thanks!
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.