Submitted by sonoracomm on Fri, 07/01/2011 - 15:16 Pro Licensee
Hi,
I just enabled site previews using:
System Settings -> Server Templates -> Default Settings -> Virtual Server Creation
Then I tested successfully by creating a new site "test" which I was able to preview with:
http://test.myhosterdomain.com
My question is this: how can I enable the same functionality for previously created sites? I don't immediately see how you made that magic work in order to duplicate it!
Maybe a nice command line option?
Thank in advance,
G
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Fri, 07/01/2011 - 15:30 Comment #1
You could do this by creating an alias for existing domains.. this can be either done via the UI, or from the shell with a command like :
virtualmin create-domain --domain foo.myhosterdomain.com --alias foo.com --dir --web --dns --mail
Submitted by Locutus on Fri, 07/01/2011 - 18:12 Comment #2
Yeah, like Jamie said, all the "magic" that this function does is when creating a new domain, it will additionally create another domain, namely of type "alias", for the one you're creating, giving it a sub-domain name of an already existing and DNS-active domain.
Submitted by sonoracomm on Sat, 07/02/2011 - 14:01 Pro Licensee Comment #3
Thanks much, that seems to work well.
G
Submitted by Issues on Sat, 07/16/2011 - 14:21 Comment #4
Automatically closed -- issue fixed for 2 weeks with no activity.