Docker Community Forums

Share and learn in the Docker community.

Proxy URL Apache

Hi,

I have joomla site running inside container docker. It uses port 800. I want have something to map an URL joomla.site.com → to port 800. How can I use virtualhost on apache to do this ?

Thanks.

In order to achieve that, I install Apache on the host and perform reverse proxy.
There is much documentation about that: Apache Reverse Proxy Setup for Docker Containers · GitHub

Apache can be configured as both a forward and a reverse proxy . An ordinary proxy (also called a forward proxy ) is an intermediate server that sits between the client and the origin server. The client is configured to use the forward proxy to access other sites.