Static HTML stack
We'd quite like the ability to specify a HTML-only stack with PHP disabled and no database. While this might seem an odd request, we sometimes have the need for temporary holding sites, additional sub-sites, etc. It's potentially also of use with headless CMS sites. Having related sites on the same server / within the same interface is useful.
While I realise we can use the PHP install for this, I'd prefer something that has code execution properly disabled from the start.
-
Anonymous
commented
Yes, this is exactly what I was looking for. A simple static webhosting managed by Cloudways.
-
Russell
commented
There is a nifty little trick with static apps that can speed WordPress websites up a little. It involves
a special type of static app that uses a symlink to point a website subfolder to this static app. When I was hosting with Webfaction, they would allow me to do this.The idea is that you can make the uploads folder of WordPress (/wp-content/uploads) a symlink to a static app. The WordPress uploads folder only has static resources like images and PDF documents, making it a perfect use-case for a static app. I know I would appreciate the performance gains from the reduced overhead in serving these static resources. Also, I don't know if this applies, but if the default configuration gzips images, that would harmful for performance as well -- jpegs and pngs are already compressed, so gzipping them is only wasting computing power and time.
If it's useful, you can find the documentation Webfaction created for speeding up requests to the uploads folder by using this technique on their platform at https://docs.webfaction.com/software/wordpress/advanced.html
TL;DR
A symlink that places a website's images folder in a static app would increase performance.Edit: Actually since Cloudways already uses Nginx to deliver static assets, there might not be any overhead to delivering static HTML files inside of a PHP app.
-
Linda
commented
I also think it would be phenomenal if we could host static websites :)
-
Babul Mukherjee
commented
YES please! Simple HTML still has value, without the overhead of PHP and MYSQL.
-
Dylan
commented
Im all for this, no need for all the bluster when you want to achieve something simple.
-
Andrew
commented
I would agree with this. I, for instance, just need to host some static image files. I don't need a LAMP stack for that and would like just a barebones HTML server. Came here to request the same thing.
-
Cesar Sacconi Falcao commented
There's many SSG (static sites generators) like Jekyll that can use Cloudways to easily host several plain HTML sites with SSL on Cloudways
-
Brendon
commented
With added nodejs installedwould be excellent and being able to git deploy from a subfolder
-
Erik Hansen
commented
Yes, I'd love this too. Just a simple nginx server with nothing else running.
-
Mark Hesketh
commented
Additionally this would mean a MySQL is not required, which I think is created by default for all the current stacks?
-
Mark Hesketh
commented
Was coming here to suggest this feature too. Would be a great addition.
-
AdminCloudways
(Admin, Cloudways)
commented
Interesting idea. Let's see if more people weight in.
Cloudways Team