This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
A common way of doing that is to first add a Virtual Server -- and then to add an alias.
So if you have a Virtual Server named "example.com" that points to one public_html folder -- you can then go into Create Virtual Server -> Alias Server, and create an alias for "example.net" that points to the same public_html folder as "example.com".
Virtualmin doesn't support having two separate Virtual Servers that share one public_html folder. The best you could do in that instance is configure one of the two Virtual Servers to redirect to the other one.
However, it may be easier to simply delete one of them, and then add it as an alias.
Howdy,
A common way of doing that is to first add a Virtual Server -- and then to add an alias.
So if you have a Virtual Server named "example.com" that points to one public_html folder -- you can then go into Create Virtual Server -> Alias Server, and create an alias for "example.net" that points to the same public_html folder as "example.com".
-Eric
I have both domain add as separat Virtual Server.. should i delte one and add it again as Alias Server to the other domain ?
Howdy,
Virtualmin doesn't support having two separate Virtual Servers that share one public_html folder. The best you could do in that instance is configure one of the two Virtual Servers to redirect to the other one.
However, it may be easier to simply delete one of them, and then add it as an alias.
-Eric
Thank you Eric;)