Managing a Debian or Ubuntu server from a browser calls for an administration tool that runs on the server. Webmin provides that interface, which you access through a browser.
I’ll show how to install Webmin from its APT repository and connect to its HTTPS interface.
TL;DR
Use Webmin’s setup script to configure its APT repository and signing key, install the webmin package with recommended dependencies, then connect to the server on TCP port 10000 using HTTPS.
- Use a supported Debian or Ubuntu system and an account with sudo access.
- Follow the repository setup script rather than old apt-key instructions or the manual .deb path.
- Allow TCP 10000 only from the networks that should administer the server.
What Is Webmin?
Webmin is an administration interface for Unix-like systems, accessed through a browser. The browser connects to a service running on the server, which the operating system manages. Keep an independent recovery route such as SSH or the provider console because Webmin runs on the host it manages.
| Module group | Scope indicated by the group |
|---|---|
| Webmin | Webmin configuration |
| System | System administration |
| Servers | Server software |
| Tools | Administration utilities |
| Networking | Network functions |
| Hardware | Hardware information |
| Cluster | Multi-server functions |
| Un-used Modules | Modules not currently in use |
How to Install Webmin on Debian and Ubuntu
Run these changes on the Debian or Ubuntu server you intend to administer. The account needs sudo access because repository configuration and package installation change system files.
Step 1: Check the system and administrator access
Use the command below to check the account’s numeric user ID before installing. A result of 0 means the shell is running as root. A nonzero value means it is a regular user, who can run the later commands with sudo.
id -u
1001

- The screenshot shows a non-root UID. Your numeric value may differ. See the Linux users, groups, and permissions guide for user ID context.
- For a new system, see the Debian installation guide before setting up Webmin.
- Confirm outbound access to Webmin’s script and package repository. An egress firewall or proxy may need an approved route before the server can fetch those resources.
Check the exact Debian or Ubuntu release against Webmin’s current installation page before using these commands. Sharing APT does not guarantee that every release or derivative is supported.
Step 2: Configure the Webmin APT repository
The commands below download and run a script from Webmin’s official repository. Review the fetched script before executing it on a production host. It runs with the privileges granted to it.
curl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh
sudo sh webmin-setup-repo.sh
The script needs administrator privileges because it changes package-source configuration. It configures the repository and installs its signing key, so APT can verify packages from that source.
Step 3: Install Webmin and recommended packages
APT can only install Webmin after its repository has been configured and the package index refreshed.
sudo apt-get update
sudo apt-get install webmin --install-recommends
The commands do not upgrade all installed software. The recommended package option asks APT to include recommended packages as well as required dependencies. Review the proposed transaction for unexpected removals or changes before confirming, especially on a production server.
Keep the repository-managed package as the update path. A manually downloaded .deb follows a separate installation route and is not needed for this procedure.
If you are new to APT, see our guide to the apt command in Linux. It explains how package indexes and package operations fit together.
Step 4: Open the Webmin interface
After installation, open a browser on your workstation and replace the placeholder with the server’s reachable IP address or hostname.
https://SERVER_IP:10000
Use a hostname or IP that routes to the server from your network. Localhost refers to the computer running the browser, so it works only when the browser runs on the server. Sign in with an account permitted by Webmin and the system configuration.
The HTTPS page may show a certificate warning when the server uses a self-signed certificate. That warning concerns whether the browser trusts the certificate, not whether the Webmin package installed correctly.
When you connect by IP, the certificate’s hostname may not match the address. Use the certificate’s hostname in the browser URL when that is the address configured for the server.
Fix Webmin Access Problems
Use the symptom table to choose which part of the connection to inspect first.
| Symptom | Check | Next step |
|---|---|---|
| Connection refused | Whether Webmin is installed and its service is running | Check the package and service state on the server |
| Connection times out | Whether TCP 10000 is allowed along the network path | Review host and provider firewall rules |
| Certificate warning | Whether the certificate is trusted for the hostname | Configure a trusted certificate for the deployment |
| Browser reaches a different host | Whether the hostname resolves to this server from the client network | Check the address and DNS record before changing Webmin settings |
| Login rejected | Account credentials and Webmin access policy | Use an authorized account and inspect access settings |
HTTPS tells the browser to establish an encrypted web session. TCP 10000 identifies the destination service port.
- If APT rejects a Webmin package signature, correct the repository or signing-key configuration.
- When UFW is active on the host, inspect its policy before adding a rule. The UFW firewall guide explains how Debian and Ubuntu handle allowed traffic.
- Check provider firewall or router rules separately from host rules because they can block traffic before it reaches the server.
- For a refused connection, inspect whether the Webmin service is running on the server.
- For a timeout, trace the client-to-server path and review firewall rules before changing service settings.
- Before editing repositories or importing keys, confirm that the official repository setup and package installation completed.
For background on the command-line download used by some setup workflows, see our guide to the wget command. For account and permission concepts, see Linux users, groups, and permissions.
Conclusion: Use the Official APT Repository
Webmin is an administrative interface, so decide which networks and accounts should have access before making it reachable beyond a trusted network.
For the exact supported platforms and current repository instructions, use the official Webmin download and installation page.
FAQ
These answers cover the installation and connection questions that commonly follow the setup steps.
What port does Webmin use?
Webmin uses TCP port 10000 by default. Connect to the server with an HTTPS URL and allow the port only from authorized networks.
Should I install Webmin from a downloaded .deb file?
Webmin recommends its repository setup script and APT installation. The repository method configures package sources and signing keys for installation and future updates.
Why does the Webmin page not open?
Check that the package is installed, the Webmin service is available, and TCP port 10000 is permitted through both the host firewall and any upstream firewall.
Does the setup script install Webmin?
The setup script configures the repository and signing key. Install the webmin package separately with the APT command shown in the guide.
Can I open Webmin from another computer?
Yes. Use the server’s reachable hostname or IP address with HTTPS and port 10000, and allow that connection through the relevant firewalls.
