Page 1 of 1

Help! Add subdomain to folder

Posted: Tue Aug 09, 2016 1:29 pm
by huuloc
Hello all,
I'm a newbie, first time I installed VestaCP on my VPS.
Normaly, I can add subdomain (vhost) on admin page (port 8083). But, I want add subdomain to folder.
Example: subdomain.mydomain.com ==> path "/home/admin/web/mydomain.com/public_html"
NOT "/home/admin/web/subdomain.mydomain.com/public_html"
Picture below :
http://imgur.com/1NDzFYd

Sorry, My english aren't well.

Re: Help! Add subdomain to folder

Posted: Sat Aug 13, 2016 9:10 pm
by SS88
Edit the domain mydomain.com and set Aliases to include the subdomain.