Deploy FastCP to production

Use this checklist to move from a fresh install to a secure and reliable live setup.

On this page

1) Provision the server

  • Use Ubuntu 22.04 or 24.04 with root access.
  • Assign a public IP and open ports 80, 443, and 2050 in provider network rules.
  • Ensure hostname and reverse DNS are configured correctly.

2) Install FastCP

curl -fsSL https://get.fastcp.org | bash

Save generated credentials and login at https://server-ip:2050.

3) DNS and SSL readiness

  • Point website domains to the server IP using A/AAAA records.
  • Wait for DNS propagation before forcing HTTPS redirects.
  • Use FastCP SSL status and reason fields to confirm certificate readiness.

4) Security baseline

  • Review SSH/SFTP settings and apply key-based authentication policy.
  • Enable firewall policy and keep required management ports allowed.
  • Create non-root admin accounts and enforce least-privilege workflows.

5) Reliability baseline

  • Configure backup backend and schedule with retention policy.
  • Test restore of one website and one database before launch.
  • Set Caddy/MySQL/PHP profiles according to server size.

6) Post-deploy verification

systemctl status fastcp
systemctl status fastcp-agent
systemctl status fastcp-caddy
Production is ready when sites serve over HTTPS, backups complete successfully, and all critical services remain healthy after restart.