Log inSign up

Run Webmin as a browser front end for your VPS

Download webmin-setup-repo.sh from the Webmin project, run it with sudo to add the signed repository, then install the webmin package with apt or dnf. The panel listens on HTTPS port 10000, so allow that port only from your own IP address and sign in at https://198.51.100.24:10000 with root or a sudo user. From there you manage packages, services, users, cron jobs and logs without memorising every command.

Topic: Control panels · Tested on: Ubuntu 24.04 and 22.04, Debian 12 and 13, Rocky Linux 9, AlmaLinux 9 · Updated 2026-12-03

What does Webmin actually do on a server?

Webmin is a web interface for everyday Linux administration. It reads and writes the same configuration files you would edit over SSH, so nothing is hidden in a private database: if you change an Apache virtual host in Webmin, the change lands in the normal Apache file. That makes it safe to mix browser work with shell work. Modules cover users and groups, the package manager, systemd services, scheduled jobs, disk usage, network settings, log files, firewall rules and a file manager, plus optional modules for web, database and mail servers that appear once that software is installed.

Webmin is free and open source. It is a system panel, not a hosting panel: it does not create customer accounts with their own sites. If you want that layer on top, read the Virtualmin guide, which builds on Webmin.

Which server should Webmin go on?

Start from a freshly deployed image so the panel sees a clean, predictable system. Ubuntu 24.04 or 22.04, Debian 12 or 13, Rocky Linux 9 and AlmaLinux 9 all work with the official repository. If the server already carries experiments you no longer trust, reinstall it from the Settings tab of the instance page (this erases the disk) as described in reinstalling an image. Webmin itself needs very little memory, around 100 MB while idle, so even a 1 GB plan is enough when Webmin is the only extra service.

Log in over SSH (the first SSH session tutorial covers this), create a normal user with sudo rights and update the system before you add anything:

# Ubuntu and Debian
sudo apt update && sudo apt full-upgrade -y

# Rocky Linux and AlmaLinux
sudo dnf upgrade -y

How do I install Webmin from the official repository?

Use the setup script that the Webmin project publishes. It detects the distribution, imports the signing key and writes a repository file, so later updates arrive through your normal package manager.

curl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh
less webmin-setup-repo.sh
sudo sh webmin-setup-repo.sh

Reading the script with less before running it is a good habit for anything piped into a root shell. Answer yes when it asks to set up the repository, then install the package:

# Ubuntu and Debian
sudo apt install --install-recommends webmin

# Rocky Linux and AlmaLinux
sudo dnf install webmin

The package pulls in Perl and a few modules, then starts the webmin service. Confirm the version and that it is listening:

cat /etc/webmin/version
sudo systemctl status webmin --no-pager
sudo ss -tlnp | grep 10000

How should I open port 10000 safely?

Open it only for the address you administer from. A login page reachable by the whole internet attracts password guessing within hours. Replace 203.0.113.7 with your own public IP:

# Ubuntu and Debian with UFW
sudo ufw allow OpenSSH
sudo ufw allow from 203.0.113.7 to any port 10000 proto tcp
sudo ufw enable
sudo ufw status numbered

# Rocky Linux and AlmaLinux with firewalld
sudo firewall-cmd --permanent --add-rich-rule="rule family=ipv4 source address=203.0.113.7 port port=10000 protocol=tcp accept"
sudo firewall-cmd --reload
sudo firewall-cmd --list-all

If your home address changes often, skip the firewall opening entirely and reach Webmin through an SSH tunnel. Set bind=127.0.0.1 in /etc/webmin/miniserv.conf, restart with sudo systemctl restart webmin, then run ssh -L 10000:127.0.0.1:10000 deploy@198.51.100.24 on your computer and browse to https://localhost:10000. More firewall background is in the UFW guide and the firewalld guide.

Which account do I sign in with?

Webmin accepts the root account and any Unix user that can run all commands through sudo. Signing in as your sudo user, for example deploy, is the cleaner option because you can later disable direct root logins over SSH without losing the panel. If that user only has an SSH key and no password, give it one first with sudo passwd deploy, since the Webmin login form needs a password. The root password of a new server is shown on the Overview tab of the instance in your console.

The first visit shows a browser warning because Webmin generated a self-signed certificate during install. Accept it once to reach the dashboard, then replace the certificate as shown below.

How do I add a trusted certificate and two-factor login?

Point a name such as panel.example.net at the server with an A record (and an AAAA record for 2001:db8:4f2a::24), as covered in the DNS records tutorial. Then open Webmin Configuration, choose SSL Encryption and use the Let's Encrypt tab. Webmin validates through a website directory, so it needs port 80 open and a web server answering for that host name; install Apache or Nginx first if the server has none. Renewal can be scheduled on the same tab.

For two-factor login, go to Webmin Configuration, then Two-Factor Authentication, pick the time-based one-time password provider and let Webmin install the Perl module it asks for. Each user then enrolls under Webmin Users with an authenticator app. Also check Authentication settings: Webmin blocks a host after repeated failed logins, and you can tighten the limits there.

How do I keep Webmin updated?

Updates come from the repository you added, so the normal upgrade commands cover Webmin too:

# Ubuntu and Debian
sudo apt update
apt policy webmin
sudo apt install --only-upgrade webmin

# Rocky Linux and AlmaLinux
sudo dnf check-update webmin
sudo dnf upgrade webmin

The dashboard also shows a notice when new package updates exist, and the Software Package Updates module can apply them on a schedule. Pair this with automatic security updates for the base system, and consider the optional daily backups add-on before large changes.

What if the login page does not load or my password stops working?

Work from the outside in. First check that the service runs and listens, then look at its logs, then at the firewall:

sudo systemctl status webmin --no-pager
sudo journalctl -u webmin -n 50 --no-pager
sudo tail -n 30 /var/webmin/miniserv.error
sudo ss -tlnp | grep miniserv

A timeout in the browser usually means the firewall rule does not match your current IP. A connection refused means the service is down or bound to another address. If you lost the panel password for root, reset it from SSH. The helper script lives in a different folder per distribution:

# Ubuntu and Debian
sudo /usr/share/webmin/changepass.pl /etc/webmin root NewStrongPass

# Rocky Linux and AlmaLinux
sudo /usr/libexec/webmin/changepass.pl /etc/webmin root NewStrongPass

To move Webmin to a different port, edit the port= and listen= lines in /etc/webmin/miniserv.conf, restart the service and update your firewall rule to match.

Plans that fit this guide

Base city prices. Every plan includes a dedicated IPv4 address, IPv6, full root and all 18 images.

All prices
PlanFits becauseSizeMonthlyOrder from
A1-1Webmin on its own needs little memory1 vCPU, 1 GB RAM, 25 GB NVMe$3.60/mo$43.20 for 12 months
A1-2room for Webmin plus a small web server1 vCPU, 2 GB RAM, 50 GB NVMe$7.20/mo$43.20 for 6 months

Questions about Webmin system admin panel

Does Webmin slow the server down?

Very little. The miniserv process sits idle until you open a page, and its memory footprint is small compared with a database or web server running beside it.

Can Webmin and SSH changes conflict?

Not in normal use. Webmin edits the real configuration files, so a change made over SSH shows up in Webmin on the next page load. Avoid editing the same file in both places at the same moment.

Is it safe to leave port 10000 open to everyone?

It works, but it invites login attempts. Limit the port to your own IP, use an SSH tunnel, or at least turn on two-factor login and keep the failed login blocking active.

How do I remove Webmin later?

Run sudo apt purge webmin on Ubuntu or Debian, or sudo dnf remove webmin on Rocky and Alma, then delete the firewall rule for port 10000. Your services keep running because Webmin only edited their normal files.

Can I host websites for clients with Webmin alone?

You can configure Apache or Nginx by hand through it, but per client accounts, quotas and automatic DNS are what Virtualmin adds on top. Plan that from the start on a clean server.