Allow the public_html folder be symlinkable
In Short allow the ability to symlink the public_html folder in order to use Ci tools such as bamboo, deploybot, envoyer to handle deployment of code.
It would be great to run a build scp a zip of the site unzip on the server and then symlink the public_html with the current release, therefore having no downtime when deploying code.
Marinus Klasen commented
Update: After talking to Paolo from Cloudways I've created a new configuration.
I now deploy to public_html and set the web root to public_html/current/app/www/
I second this idea. I did get this to work by changing the root directory from within the Cloudways' UI.
The root directory now points to: public_html/current (as I can't go beyond public_html)
The public_html/current is a symlink to: ~/sites/website1/current/app/www/
It works, but it would be nice if I could just remove the public_html folder and make it a symlink. This is quite a work-around.
Would love that public_html folders would be symlinkable as I need multiple domains to use the same code base. Domain pointers are not an option as I work with separate databases and need to be able to restore them separately. In addition, SSL (Let's Encrypt) is not available for domain pointers.
I cannot create a symlink currently because I'm unable to delete the original folder (public_html).
Not having this feature prevents me from signing up for a paid plan (currently on a trial).