Report this

What is the reason for this report?

How to install Webmin on existing Apache + Let's Encrypt SSL configuration?

Posted on July 15, 2020

Using this guide for reference: https://www.digitalocean.com/community/tutorials/how-to-install-webmin-on-ubuntu-18-04

Currently have Apache + Let’s Encrypt SSL configured and working fine, plus a reverse proxy for Discourse in a Docker container. I was able to follow all points of the Webmin installation until I was tasked with obtaining an SSL certificate, which won’t work as I already have one. I tried just skipping that part but Webmin doesn’t appear at mydomain.com:10000 or mydropletip:10000, with or without https in the URL.

My vhost file looks a little different from the guide because of the aforementioned server configuration.

<VirtualHost *:80>
	ServerAdmin mygmail
	ServerName mysite.com
	ProxyPass / http://localhost:10000/
	ProxyPassReverse / http://localhost:10000/
	ServerAlias www.mysite.com
	DocumentRoot /var/www/mysite.com
	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =mysite.com [OR]
RewriteCond %{SERVER_NAME} =www.mysite.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

Is there any way I can manually configure what I need for Webmin to work?

Thanks!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @orbitstorm88,

Can you check if WebAdmin is actually running on the said port? You can do that by typing in :

netstat -tulpen | grep 10000

If it’s there, then most probably you’ll need to allow it through your firewall. What firewall are you using, is it ufw or plain iptables?

Additionally, if you try your droplet’s IP + the port does it work?

Regards, KFSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.