I would like to use the Jenkins docker container, that allows an access from localhost:8080, from a subdomain, such as jenkins.subdomain.me
I came accross this post, applied it to my situation, activated the proxy_http
mod for Apache, then restarted without any trouble. However, when I tried to reach the subdomain I just created, I got the following error:
Can not find the IP address for the server jenkins.mydomain.me
Here is how I set up my virtualHost:
<VirtualHost *:80>
ServerName jenkins.mydomain.me
ProxyPreserveHost On
# setup the proxy
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
ProxyRequests Off
</VirtualHost>
I don't know if anything is missing, or if I need to add something to my domain's name DNS
Any help is welcome