Multiple domain names under one domain

I am running a Magento store and have decided to try creating another store view with a different domain.

I’ve gone into virtualmin and created an alias server, but maybe this isn’t the right one.

I have and would like to work out of the same directories as

Magento has the ability to listen to the incoming domain names and handle them appropriatly.

The issue right now is that if I type, I get redirected to

Is an alias server the right selection for what I’m trying to achieve?



The answer is yes.