Change default folder in Webmin

After you have installed Webmin you need to install it to the configuration you need.

Usually you need to change default folder where you will upload your files and scripts (.php, .html, .js…)

That’s very easy to do.

Login to webmin (xxx.xxx.xxx.xxx:10000 [xxx.xxx.xxx.xxx stands for your VPS’ IP Address of course]) and on left side select:

Servers > Apache Webserver

On right side click on

Global configuration and click on on very right side of your window.

Then from drop down menu on right side select /etc/httpd/conf.d/welcome.conf  and click Edit Directives in File like on picture below:

Remove everything from that file, or simply comment everything by adding # before every line in that file.

Click Save and now your default Webmin folder is:

/var/www/html

Leave a comment