Thursday, February 20, 2014

Setup Default Page For Virtualmin New Website

Virtualmin is one of Free Control Panel for Linux, it can host lot of website in one server. So if you create new website, that root webpage will be show empty.
To put Default Page or Landing Page for every new website created, you can put whatever you'd like into the skel directory. Usually the location is /etc/skel. So, you'd create:

/etc/skel/public_html
And drop an index.html into it with whatever default page you like... be sure to include any images or other bits. You can also, optionally, have variable substitution done within the files--so you could have the page display the domain name or description field in the temporary site.

0 comments:

Post a Comment