Deploy a WordPress Site by CadoWP
-
Install CadoWP core.
Copy and paste the following command into the terminal:
curl -fsSL https://cadowp.com/cado-install.sh -o cado-install.sh && chmod +x cado-install.sh && sudo ./cado-install.sh
-
Open the menu.
Type
m
orcado m
in the terminal to open the CadoWP menu. -
Add a site.
Go to menu Sites → Add site → enter primary domain and admin e‑mail → choose PHP version.
- Containers start automatically (first start may pull images).
- Database and user are created with safe defaults.
- Cache defaults OFF for development; you can enable later.
-
Install WordPress.
Go to menu Sites → Install WordPress
CadoWP will install new WordPress core and set admin credentials.
Note: If re‑installing, choose “force” to reset tables and files.
-
Point DNS.
Set A/AAAA records for apex and www to your VPS IP. Open ports 80/443.
-
Enable SSL.
Go to menu Sites → SSL Modes → Let’s Encrypt (ACME). Then
cado caddy reload
and visithttps://yourdomain
.Cloudflare users: use Full (Origin Cert) if proxy is ON.
-
Enable cache (optional).
Go to menu Sites → Enable Page Cache. Purge via Sites → Purge Cache (full/URL).
Plugin static HTML (e.g., Cache Enabler’s
https-index.html
) is served with precompressed gzip automatically. -
Optimize database (optional).
Go to menu Sites → Tables Optimize to add indexes for core/Woo tables.
Go to menu System → Database Config Optimize to apply safe server tuning.
-
Back up and restore.
Go to menu Database → Backup DB creates a non‑blocking dump (gzip). Go to menu Database → Restore DB sanitizes DEFINER/GTID/SQL_LOG_BIN.
SSL Modes
- Let’s Encrypt (ACME): direct DNS to VPS; Cloudflare proxy OFF for HTTP‑01.
- Cloudflare Full (Origin Cert): paste origin cert/key; safe behind orange cloud.
- Flexible (HTTP origin): not recommended; CadoWP adjusts admin redirects.
Cache Controls
- Page cache: Sites → Enable/Disable Page Cache. Defaults OFF for new sites.
- Purge: Sites → Purge Cache (full site/URL).
- Plugin HTML: CadoWP serves
https-index.html
with precompressed gzip automatically. - Headers: responses include
X-Cache-Status
andX-Cache-Handler: CadoWP Cache
. - Redis: Sites → Enable/Disable Redis. Safe
WP_REDIS_*
constants are applied.
Database
- Backups: Database → Backup DB (non‑blocking dump to gzip).
- Restore: Database → Restore DB (sanitizes DEFINER/GTID/SQL_LOG_BIN).
- Optimize: Sites → Tables Optimize (adds indexes via WP‑CLI inside php container).
- Tuning: System → Database Config Optimize (renders/update 50-server.cnf, restarts DB).