Multiple folders
-
- Posts: 3
- Joined: Tue Mar 15, 2016 7:49 pm
Multiple folders
Hi guys,
First post here so take it easy on me. I used the search function but couldn't find anything related to my question.
But I want to be able to host multiple domains on my droplet (VPS). And I want each domain to have its own folder inside the public_html. I know that this can be done with a standard apache and all I would have to do is to create virtual hosts. But with VestaCP on top of apache, how can I do this?
First post here so take it easy on me. I used the search function but couldn't find anything related to my question.
But I want to be able to host multiple domains on my droplet (VPS). And I want each domain to have its own folder inside the public_html. I know that this can be done with a standard apache and all I would have to do is to create virtual hosts. But with VestaCP on top of apache, how can I do this?
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Multiple folders
VestaCP is a little different. Vesta uses this file structure for multiple domains per user:
/home/yourusername/web/yourdomain1.com/public_html
/home/yourusername/web/yourdomain2.com/public_html
/home/yourusername/web/yourdomain1.com/public_html
/home/yourusername/web/yourdomain2.com/public_html