Point domain to other domains dir

I have a question…

I have a few domains running in VM and i would like to adjust some things.

I want to point one domain (which is already live and setup in VM) point to the directory of another domain which is already setup.

I tried everything, but i can’t seem to make it work. What i want is that the domain get linked to everything from the other domain. Is that possible?


That’s unfortunately not a setup Virtualmin supports.

It’s not possible to configure a Virtual Server’s DocumentRoot to point at the DocumentRoot of another domain – the DocumentRoot’s would need to be unique.