Low-budget hosting
This page is for the director, treasurer and technical volunteer who choose hosting. It names no prices: compare current offers yourself and put the result in the Grant budget worksheet.
Warning
.htaccess slows down every request. When .htaccess files are enabled (AllowOverride anything but None), let alone
used, Apache looks for them and reads and evaluates them on every request, in every directory of the path, and
page loading times go up drastically (measured). The only real fix is to switch the feature off for
the virtual host: AllowOverride None in the HTTPS virtual host, and the rules in the virtual host's own
configuration as mod_rewrite rules. That is far faster in production speed tests and well worth the time it takes
to optimize a production configuration. Switch over right away: copy the rules of the
example HTTPS virtual host into your virtual host (with the static cache, also
staticcache_offload.conf), set AllowOverride None, run apachectl configtest, reload Apache and
test the site. The same rules for other servers: nginx, LiteSpeed,
Caddy, IIS, Velocity (built in); where virtual host rules go in a control
panel: Plesk, cPanel, DirectAdmin, ISPConfig.
On LiteSpeed or OpenLiteSpeed, the server's own page cache can also answer anonymous visitors and crawlers without PHP: Page caching with LiteSpeed and OpenLiteSpeed.
Contents
- What any host must provide
- Three hosting models
- Try it first, for free
- Questions to ask a host
- False economies
- Checklist
What any host must provide
From README.md, "Requirements", and Requirements at a glance:
| Need | Note |
|---|---|
| PHP | A current version with the required extensions (PHP versions and extensions) |
| A web server | Apache, Nginx, LiteSpeed and others work, or the bundled Velocity, "which needs nothing installed beyond PHP" |
| A database | Optional: SQLite needs no database server; supported in order: SQLite 3, PostgreSQL, MongoDB, MariaDB, Oracle, MySQL |
| Writable directories | For storage and caches (Writable directories and permissions) |
| Cron | For newsletters, scheduled publishing, cleanups, the audit trail (Cronjobs) |
| HTTPS | A certificate; often free from the host |
| For forms and newsletters |
Three hosting models
| Model | Money | Your time and skills | Fits | Read |
|---|---|---|---|---|
| Shared hosting | Lowest | Low; limited control | Very small sites; Apache or LiteSpeed with .htaccess, SQLite or the panel's database; Velocity usually not | Shared hosting |
| A small virtual server | Low | Someone must patch and secure the server | Most small non-profits with a technical volunteer or partner | VPS hosting |
| Managed hosting | Higher | Low: the host patches and backs up | Organizations without technical volunteers | Managed hosting |
Comparison in detail: Choosing a hosting model and Hosting cost drivers.
Tip
The cheapest model is the one your organization can actually look after. A virtual server nobody patches is more expensive in the end than managed hosting.
Try it first, for free
./console exp:install --apply "installs the multisite package on SQLite, in eng-US", with a site and an administration
(Installing Exponential in one command). A volunteer can try the
whole product on a laptop before anything is bought, and show it to the board.
Questions to ask a host
- To do: Which PHP versions do you offer, and how are they updated?
- To do: Can I run cron jobs every few minutes?
- To do: Is HTTPS included, and renewed automatically?
- To do: How are backups made, how long kept, and how do I restore one? Can I test a restore?
- To do: Where are the servers (country), and who processes data for us? Will you sign a data processing agreement?
- To do: Can the site send mail, and with which limits?
- To do: What happens if we stop paying or you close: how do we get our data?
More: What to ask your host and Choosing a host.
False economies
| Saving | Why it costs more later |
|---|---|
| No backups, or untested ones | A lost site is rebuilt from nothing |
| Skipping updates | Security incidents and harder upgrades later |
| One person holds every password | That person leaves (When volunteers leave) |
| The domain registered to a volunteer personally | You can lose your address |
| No cron | Newsletters, scheduled pages and cleanups silently stop |
Checklist
- To do: Requirements confirmed with the host.
- To do: Model chosen for the people you have, not only the price.
- To do: Domain and hosting contract in the organization's name, two people with access.
- To do: Backups and restore tested before launch.
- To do: Cron, HTTPS and mail working.
- To do: Data processing agreement signed where your law requires it.
Related pages
- Operations for non-profits
- SQLite and Velocity for small teams
- Hosting for a website
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.