For apache, https://httpd.apache.org/docs/2.4/vhosts/examples.html and https://www.howtogeek.com/devops/how-to-set-up-a-reverse-proxy-with-apache/

But I'd use nginx myself as the reverse proxy...