Atlantic.Net Blog

How to Install Webmin on Ubuntu 18.04

Hitesh Jethva
by Atlantic.Net (85posts) under VPS Hosting

Webmin is a free and open-source web-based control panel for the Linux operating system. It is specifically designed for those who are unable to manage Linux servers from the command-line interface. Webmin allows you to manage users and groups, share files and folders, configure a web server, DNS, SSH, and FTP, install and update packages, create and manage databases, and start and stop services, all using a web-based interface.

Webmin is written in Perl language and runs as its own process and web server. It also allows you to control many Linux machines through a single interface.

In this tutorial, we will describe how to install Webmin on Ubuntu 18.04 server. We will also configure Apache as a reverse proxy for Webmin.


  • A fresh Ubuntu 18.04 VPS on the Cloud Platform.
  • A valid domain name pointed to your IP address.
  • A static IP address configured on your server.

Step 1 – Create Atlantic.Net Cloud Server

First, log in to your Atlantic.Net Cloud Server.  Create a new server, choosing Ubuntu 18.04 as the operating system with at least 2GB RAM. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.

Once you are logged into your Ubuntu 18.04 server, run the following command to update your base system with the latest available packages.

apt-get update -y

Next, install the required packages with the following command:

apt-get install software-properties-common apt-transport-https wget -y

Once all the packages are installed, you can proceed to the next step.

Step 2 – Install Webmin

By default, Webmin is not available in the Ubuntu 18.04 default repository. You can install it by adding the Webmin repository in your system.

First, download and add the Webmin GPG key with the following command:

wget -q -O- | apt-key add -

Next, add the Webmin repository with the following command:

add-apt-repository "deb [arch=amd64] sarge contrib"

Once the repository is added, run the following command to install Webmin in your system:

apt-get install webmin -y

Once Webmin has been installed successfully, you should get the following output:

You cal also verify the status of the Webmin service with the following command:

systemctl status webmin

You should get the following output:

At this point, Webmin is installed and listening on port 10000.

Step 3 – Configure Apache as a Reverse Proxy For Webmin

In this section, we will configure the Apache as a reverse proxy for Webmin so you can access Webmin without specifying the port (10000).

To do so, first install the Apache webserver with the following command:

apt-get install apache2 apache2-utils -y

After installing the Apache server, you will need to configure Webmin to disable SSL. You can disable SSL by editing the file /etc/webmin/miniserv.conf:

nano /etc/webmin/miniserv.conf

Change the SSH value from 1 to 0, as shown below:


Save and close the file. Next, you will need to add your domain name to the list of allowed domains. You can add your domain by editing the file /etc/webmin/config:

nano /etc/webmin/config

Add the following line at the end of the file:

Save and close the file when you are finished. Then, restart the Webmin service to implement the changes:

systemctl restart webmin

Next, you will need to create an Apache virtual host configuration file to serve Webmin.

You can create it using the following command:

nano /etc/apache2/sites-available/webmin.conf

Add the following lines:

<VirtualHost *:80>
        ServerAdmin [email protected]
        ProxyPass / http://localhost:10000/
        ProxyPassReverse / http://localhost:10000/

Save and close the file, then enable the virtual host and proxy module with the following command:

a2ensite webmin
a2enmod proxy_http

Finally, restart the Apache service to implement the changes:

systemctl restart apache2

Step 4 – Access Webmin Interface

Now, open your web browser and type the URL You will be redirected to the Webmin login page:

Provide your system root username and password and click on the Sign in button. You should see the Webmin dashboard in the following screen:

To access the file manager, click on the Others => File Manager. You should see the following screen:

From here, you can manage files and directory through a web-based interface.

To access the password manager page, click on the System => Change Passwords. You should see the following screen:

From here, you can change any user’s password easily.


Congratulations! You have successfully installed and configured Webmin on Ubuntu 18.04 server. You can now manage your Linux system easily through a web-based interface from the remote location. Test it today with a VPS Hosting package from Atlantic.Net!

Get A Free To Use Cloud VPS

Free Tier Includes:
G2.1GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G2.1GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4


London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom