How To Setup Magento 2 Multi Domain Websites On Virtualmin

Hello Newbe here and thanks in advance for any help my setup

PHP Version

Webmin version 1.942 Virtualmin version 6.09

I’m trying to setup multiple websites or domains on one Magneto 2 installation on Virtualmin.
There’s a few ways to do this for example this one below

When I follow the instructions I can’t get it to work in Virtualmin.
I’ve set up the main Magneto installation on x y z .c o m then manually set the home directory of a b c . c o m to the home directory of x y z. c o m by editing /etc/apache2/sites-available/ a b c. com.conf file ( not sure that’s right way ) but I just get “No input file specified.” this in the browser.

When I make a test.html in x z y .c o m home directory it opens with a b c . c o m / test.html but I can’t execute a test.php file the same so I think probably there’s a problem with permissions? Any ideas how to to this in Virtualmin or any advice I will be grateful.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.