Hi,
I use Contao, which handles multiple domains (like other CMSs). I created an own user for multiple domains, which should point to the same directory, where Contao is located. If I select custom root I can only choose a subfolder of the wrong folder.
So how to point multiple domains or subdomains to the same folder?
Thanks eris, I tried that, but the root directory can only be changed to a subfolder of the given document root.
But I found another similar forum entry, which lead me to the following github site:
So for Contao users it’s the following procedure:
choose your main domain for Contao
open file manager, navigate to public_html and create subfolder “web”
go to domain and select customn document root in “Advanced Settings”
enter “web”
create the other domains you want to use with Contao
go to terminal and enter v-change-web-domain-docroot admin domain2.tld domain1.tld
I noticed that in Hestia there appeared an additional dropdown after this: “Point to”.
You can use this for all other domains.
I didn’t test this with Contao itself, but will update here, if there is any issue.
Hi eris,
you’re right, there is no terminal necessary anymore. I double-checked with another Hestia test installation and the “Point to” option was already here. So it’s really easy with Hestia, again. I completely overlooked this option
So just: select desired domain, enter “web” and done.
Thanks for your support!