We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
same root folder (one folder) for multiple domain ?
same root folder (one folder) for multiple domain ?
is it possible to set-up same root folder (one folder /// public_html) for multiple domain as standard drupal multisite ?
Re: same root folder (one folder) for multiple domain ?
I would like to know if this is possible also.
Re: same root folder (one folder) for multiple domain ?
I'm even interested in this feature.
Re: same root folder (one folder) for multiple domain ?
Hi!
Add the domain name in the DNS section and then set up an alias for the base site in the Web section. This way when the second domain is requested from the server it will simply reply like it's the base site.
Example:
--
DNS Section:
exampl.com - <server ip>
example.com - <server ip>
examplee.com - <server ip>
--
Web Section:
example.com with exampl.com & examplee.com alias
--
Add the domain name in the DNS section and then set up an alias for the base site in the Web section. This way when the second domain is requested from the server it will simply reply like it's the base site.
Example:
--
DNS Section:
exampl.com - <server ip>
example.com - <server ip>
examplee.com - <server ip>
--
Web Section:
example.com with exampl.com & examplee.com alias
--
-
- Posts: 3
- Joined: Wed Sep 30, 2015 10:03 am
Re: same root folder (one folder) for multiple domain ?
Hi szimre,
I have some issue for the some situation, but I do not understand your solution.
I am new for VestaCP!
Can you explane me your solution in details ?
Thank You
I have some issue for the some situation, but I do not understand your solution.
I am new for VestaCP!
Can you explane me your solution in details ?
Thank You
Re: same root folder (one folder) for multiple domain ?
I have searched, But I have not found any solution!
Any one can help in this?
Means, Same folder/directory for 2 domains (multiple domains)!
For e.g, When we add web so, automatically created folder as a domain name! But, we want to 1 folder (home/web/example.com/public_html/index.html) and access from 2 domains!
Any one can help in this?
Means, Same folder/directory for 2 domains (multiple domains)!
For e.g, When we add web so, automatically created folder as a domain name! But, we want to 1 folder (home/web/example.com/public_html/index.html) and access from 2 domains!
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: same root folder (one folder) for multiple domain ?
Very simple solution - simlink. Or, you can create template with hardcoded docroot.sheraz.co wrote: ↑Wed Oct 21, 2020 10:18 amI have searched, But I have not found any solution!
Any one can help in this?
Means, Same folder/directory for 2 domains (multiple domains)!
For e.g, When we add web so, automatically created folder as a domain name! But, we want to 1 folder (home/web/example.com/public_html/index.html) and access from 2 domains!
Re: same root folder (one folder) for multiple domain ?
I'm new in vesta... So How template/simlink etc work?
Can you explain me with details? How can I do it?
Can you explain me with details? How can I do it?