I think this is possible with cPanel. What I want is the ability to park/point another domain over existing one. For example: now if we want to create a domain it will create a separate directory example.com. So, if I would like to share the same code with other domain then I’ll require to create an alias of example.com but in my new domain example2.com has separate SSL certificate. I know this can be done by doing customized configuration file but will be helpful if can do automatically. So, what I want is to share other domain’s public_html with new one under same username.
As long u want to view D2 name but rendering D1 files, possible but cant use SSL.
As long as there is no real directory for D2, Where u will render SSL for D2 ?
Isn’t it possible to use same directory of other domain for SSL? I don’t think so. SSL don’t require a separate directory. It just need to add configuration in Nginx & Apache. It’s nothing about directory I think as long as the directory is valid & accessible by Nginx.
We will discuss it then within the team and decide if we want/can implement it or not. You also have the option, to send us a pull request - then the change gets mostly implemented directly .
Woowww, this is a so big feature (and easy to use from graphic panel, see image below)!!
I’ve discovered today for my Dolibarr installs, because Dolibarr comes with 2 main directories to install on “public_html”:
/htdocs
(with the PHP public webapp)
/documents
(with all the PDFs and documents, not directly accessible from web browser)
but only setting this “Custom document root” you can finally HIDE to visitors the /documents directory and only let navigate through the /htdocs PHP files and directories. Great!!
Last note for people installing Dolibarr: don’t forget to change /htdocs/conf/conf.php file to set correctly the URL without htdocs!
I really think that these “small details” like this put HestiaCP at the same level or over the level of other “cpanels”