TechBuzzPro

How to Configure Webmin on Windows: Step-by-Step

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Webmin is a browser-based server administration tool that runs on Linux and other Unix-like systems, not natively on Windows. You cannot install Webmin directly on Windows and expect it to manage that Windows machine; there is no official Windows build. What you can do is run Webmin inside a Linux environment on Windows (WSL2 or a virtual machine) and then reach its web interface from your Windows browser. This guide walks through that practical setup, explains what each step does, and covers the mistakes that most often stop people from getting a working login page.

What You'll Need

  • A Windows 10 or Windows 11 PC with virtualization enabled in the BIOS/UEFI (needed for WSL2 or a VM).
  • Administrator rights on the Windows account you are using.
  • A Linux distribution. For WSL2, Ubuntu from the Microsoft Store is the simplest choice. For a VM, any current Ubuntu Server or Debian ISO works.
  • An internet connection to download packages and the Webmin installer.
  • A modern browser on Windows (Edge, Chrome, Firefox) to open the Webmin interface.
  • Optional: a second machine on the same network if you want to test remote access, and a firewall rule only if you deliberately want that.

Step-by-Step

  1. Confirm virtualization is on. Open Task Manager, go to the Performance tab, and check that Virtualization says Enabled. If it says Disabled, enable Intel VT-x or AMD-V in your BIOS/UEFI before continuing. WSL2 and most VM software will not start without it.
  2. Install WSL2 with Ubuntu. Open PowerShell as Administrator and run wsl --install. This enables the required Windows features, installs the WSL2 kernel, and sets up Ubuntu. Restart when prompted, then launch Ubuntu from the Start menu and create your Linux username and password when asked.
  3. Update the Linux environment. In the Ubuntu terminal run sudo apt update && sudo apt upgrade -y. This ensures the package lists and installed packages are current before you add Webmin.
  4. Add the Webmin repository. Webmin is not in the default Ubuntu repositories, so you add its official repository. Download the repository setup script from webmin.com and run it with sudo. The exact command is published on the official Webmin download page; use that page rather than a third-party mirror so you get the current, signed package source.
  5. Install Webmin. After the repository is added, run sudo apt install webmin. The installer starts the Webmin service automatically and prints the URL it is listening on, usually port 10000.
  6. Check that the service is running. Run sudo systemctl status webmin. You want to see active (running). If it is not running, start it with sudo systemctl start webmin and read the error output before going further.
  7. Open Webmin from Windows. In your Windows browser go to https://localhost:10000. Because Webmin uses a self-signed certificate by default, the browser will warn you; accept the warning to continue. Log in with your Linux username and password (a user with sudo rights).
  8. Decide whether you need remote access. By default Webmin listens only on the local machine inside WSL, which is the safe choice. If you want to reach it from another device, you must change Webmin's listening address and open the port in Windows Firewall. Only do this on a trusted network, and set a strong password first.
  9. Harden the login. In Webmin, open Webmin > Webmin Users and review accounts. Change the default behaviour so only the users you intend can log in, and consider enabling two-factor authentication if your version offers it under the same area.
  10. Test a real task. Use Webmin to view system information or manage a service. This confirms the interface is talking to the Linux system correctly, not just serving a login page.

Common Mistakes

  • Expecting Webmin to manage Windows itself. Webmin manages the Linux system it runs on. Running it in WSL does not give you Windows administration features; use Windows' own tools for that.
  • Skipping the virtualization check. If wsl --install fails or the VM will not boot, virtualization is usually the cause.
  • Using a third-party installer script. Only use the official Webmin repository setup from webmin.com. Random scripts can install outdated or modified packages.
  • Opening port 10000 to the internet. Webmin is a powerful administrative interface. Exposing it publicly without a reverse proxy, TLS certificate and strong authentication is a serious risk.
  • Forgetting the browser certificate warning is expected. The default self-signed certificate triggers a warning; that is normal for a local install, not a sign the install failed.
  • Logging in as a user without sudo rights. Webmin will accept the login but many modules will be read-only or fail. Use an account with administrative privileges.

Tips

  • Keep WSL and the Linux distribution updated; Webmin updates arrive through the same apt repository.
  • If you plan to use Webmin regularly, replace the self-signed certificate with a trusted one or put it behind a local reverse proxy.
  • Take a snapshot of your VM, or back up your WSL distribution, before making major configuration changes through Webmin.
  • Use a dedicated Linux user for Webmin rather than your day-to-day account, and give it only the privileges it needs.
  • Bookmark https://localhost:10000 so you do not have to remember the port each time.

Troubleshooting

If the browser cannot reach https://localhost:10000, first check the service with sudo systemctl status webmin. If it is stopped, start it and read the log output. If it is running but the page will not load, confirm you are using https, not http, and that no other service is using port 10000. Inside WSL, port forwarding from Windows to the Linux environment is normally automatic; if it is not, restart WSL with wsl --shutdown from PowerShell and launch Ubuntu again.

If the login page appears but your credentials are rejected, verify the username exists in Linux and has a password set. If modules show permission errors after login, the account lacks sudo rights. If you changed the listening address for remote access and now cannot connect locally, revert the change from the Linux terminal rather than through the web interface.

If wsl --install itself fails, run wsl --status and check that the Virtual Machine Platform and Windows Subsystem for Linux optional features are enabled in Windows Features. A reboot is usually required after enabling them.

Frequently Asked Questions

Can I install Webmin directly on Windows?

No. Webmin is designed for Linux and Unix-like systems. On Windows you run it inside WSL2 or a virtual machine and access it through your browser.

Does Webmin in WSL manage my Windows PC?

No. It manages the Linux environment it is installed in. Windows settings and services are handled with Windows' own tools.

Why does my browser warn about the certificate?

Webmin uses a self-signed certificate by default, which browsers do not trust automatically. Accept the warning for local use, or install a trusted certificate if you need to avoid it.

Is it safe to open Webmin to my network?

Only on a trusted network and only after setting strong passwords and limiting which users can log in. Never expose it directly to the internet without additional protection.

How do I update Webmin?

Use the same apt repository you added during installation: run sudo apt update then sudo apt upgrade in the Linux terminal.

Can I use a virtual machine instead of WSL?

Yes. Install Ubuntu or Debian in VirtualBox, VMware or Hyper-V, then follow the same repository and install steps inside the VM. Access Webmin from the Windows browser using the VM's address.