SYSTEM INFORMATION | |
---|---|
OS type and version | Rocky Linux 8.7 |
Webmin version | 2.021 |
Virtualmin version | 7.7 Pro |
install and configure webmin proxy reverse and SSL with the following indications
File: /etc/webmin/config
referers=miwebmin.domain.com.mx
File: /etc/webmin/miniserv.conf
ssl=1
redirect_host=miwebmin.domain.com.mx
redirect_port=443
/etc/httpd/conf.d/miwebmin.conf
<VirtualHost *:80>
ServerName miwebmin.domain.com.mx
Redirect permanent / https://miwebmin.domain.com.mx/
<VirtualHost *:443>
ServerName miwebmin.domain.com.mx
SSLEngine on
SSLCertificateFile /home/ssl/file.pem
SSLCertificateKeyFile /home/ssl/file.key
SSLProxyEngine On
SSLProxyCheckPeerCN on
SSLProxyCheckPeerExpire on
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / https://127.0.0.1:10000/
ProxyPassReverse / https://127.0.0.1:10000/
within the session
Webmin-> Webmin configuration → Trusted Referrers
Trusted websites => miwebmin.domain.com.mx
so everything works correctly.
the problem is when add primary domain with wirtualmin www.domain.com.mx
but it solves me is the subdomain miwebmin.domain.com.mx
right now delete the site (www.domain.com.mx) to try again
in that main domain I do not want DNS nor emails
any idea what i should do?