If you use Webmin/Virtualmin and are to create a website hosting company, or have your own server with multiple domains, you will want to create a Virtualmin Domain Parking Page for your domains which do not have a website as of yet.
The pro’s to this are you can have a fancy page once you add your new domain to Virtualmin, be this for just holding your domain names, or you are a website hosting company, where customers can buy hosting, and you need a holding page until the customer logs in and uploads their new website.
Out of the box, Virtualmin creates a standard Apache holding page, until content is uploaded. To change this to your very own custom page, you will need to use a program such as WinSCP to gain access to your server directories, and navigate to /etc/httpd/conf.d/welcome.conf
Within this file, you will see the code below
# Options -Indexes
# ErrorDocument 403 /error/noindex.html
You will need to remove the hash tags (#) from infront of this to activate the error document, and also change the “noindex.html” to “holdingpage.php”.
Now, navigate to /var/www/error/ and create a new file and name this holdingpage.php. Using this file, create the holding page you desire, placing your images in the /var/www/icon/ directory
Restart your Apache service, and navigate to a website you have added into Virtualmin, that you know does not have an index page in its home directory.