Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am having an issue setting up a subdomain to proxypass using apache2 to webmin.

I can currently access webmin the following ways:


What I am trying to accomplish is this:


Here is my virtual host

<VirtualHost *:443>
    ServerName webmin.mydomain.com
    SSLEngine On
    SSLProxyEngine On

    #copied webmin's ssl cert which contains private key and certificate
    #also doesn't work when I generate these seperately myself
    SSLCertificateFile /etc/apache2/ssl/miniserv.pem
    SSLCertificateKeyFile /etc/apache2/ssl/miniserv.pem

    ProxyPreserveHost On
    ProxyPass         /  https://localhost:10000/
    ProxyPassReverse  /  https://localhost:10000/
    ProxyRequests     Off

    ErrorLog /etc/apache2/ssl.log

    # Local reverse proxy authorization override
    # Most unix distribution deny proxy by default
    # (ie /etc/apache2/mods-enabled/proxy.conf in Ubuntu)
    <Proxy https://localhost:10000/*>
      Order deny,allow
      Allow from all

I have read multiple threads on the issue but cannot find an answer. I am hoping someone can help.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.