Installing Webmin: The Complete Guide for Ubuntu 20.04 (Up to Date + Secure)
This guide walks you through Webmin installation, secure configuration, SSL settings and best performance tips on Ubuntu 20.04.
- Optimized to rank higher on Google.
- It contains simple, fluent and modern expression that increases the user experience.
What is Webmin?
Webmin; It is a powerful control panel that allows you to easily manage servers via browser.
You can manage services such as Apache, Nginx, MySQL, PHP, DNS, FTP from one place.
Pre-Installation Requirements
- Ubuntu 20.04 (can be fresh or in active use)
- Root or sudo authority
- Current packages
sudo apt update && sudo apt upgrade -y
1. Install Required Packages for Webmin Repository
sudo apt install software-properties-common apt-transport-https wget -y
2. Add Webmin GPG Key
wget -qO- https://download.webmin.com/jcameron-key.asc | sudo apt-key add -
3. Define Webmin Repository to the System
sudo add-apt-repository "deb https://download.webmin.com/download/repository sarge contrib"
- Then refresh the packages:
sudo apt update
4. Install Webmin
sudo apt install webmin -y
Once the installation is finished, Webmin starts automatically.
5. Accessing Webmin (Default Port)
- Enter the browser:
https://sunucu-ip-adresi:10000
You may see a certificate warning when you first log in.
- It is normal because Webmin creates its own self-signed certificate.
6. Open Firewall Settings (If Using UFW)
sudo ufw allow 10000
sudo ufw reload
7. SSL/TLS Certificate for Webmin (Let's Encrypt)
- Go to Webmin Panel → Webmin Configuration → SSL Encryption → Let's Encrypt.
Settings:
-
Domain: panel.siteadresi.com
-
Webroot: /var/www/html
-
Auto-renew: Available
As a result of this process, Webmin becomes completely secure.
8. Optimize Webmin (Recommended Settings)
1. Turn on Login Attempt Protection Webmin Configuration → Authentication
2. Close Root Login, Use User Authorization Terminal:
sudo nano /etc/webmin/miniserv.conf
- You can add users using allowuser=ubuntu.
3. Close Unnecessary Modules Lightens the system and increases security.
9. Webmin Service Commands
- Restart
sudo systemctl restart webmin
9.1 Status Check
sudo systemctl status webmin
Frequently Asked Questions (FAQ)
1. Why am I getting a "Not Secure" warning in the browser? Because the certificate we created was signed by you, not by authorities like Google or Microsoft. Browsers warn the user that they cannot verify your identity, but data traffic is still encrypted.
2. Can I use this certificate on my e-commerce site? Absolutely not. Your customers will not trust your site when they see a security warning. For live systems, you must obtain a certificate from authorities such as Let's Encrypt.
3. How long is the validity period of the certificate? Since we use the -days 365 parameter in this guide, the certificate is valid for 1 year. At the end of the period, you must repeat the process.
4. Does this certificate work in mobile applications? Usually it does not work. Mobile operating systems (iOS/Android) reject self-signed certificates. You must define a custom trust rule (trust anchor) within the application.
Result
Install Webmin on Ubuntu 20.04 with this guide:
-
With the most up-to-date methods
-
SSL supported
-
Safe
-
Optimized
You have established it. If you are planning to take your project live and need a professional infrastructure, you can immediately examine the flexible server solutions offered by the GenixNode platform. Take your projects one step further with our safe and fast infrastructure.

