Applications
Each application in DeployFly has its own settings page for configuring the domain, PHP version, document root, environment variables, and other per-app options.
Before you start
Go to your server, click "Applications", then click the application name to open its detail page.
In the "Domain" section, you can add aliases or change the primary domain. After saving, DeployFly updates the Nginx/Apache virtual host automatically. Make sure DNS points to your server before adding a domain.
In the "PHP" section, select a different PHP version from the dropdown. DeployFly updates the PHP-FPM pool for this application only — other applications are unaffected.
The document root is the folder Nginx/Apache serves publicly. For Laravel it should be `/public`, for WordPress it is the app root. Change it in the "Document Root" field and save.
The "Environment" section shows a key-value editor for environment variables injected into the PHP-FPM pool. These are available via `$_ENV` or `getenv()` in PHP. Use this instead of editing .env files manually.
Enable "Basic Auth" to password-protect the entire application with HTTP authentication. Useful for staging environments you don't want publicly accessible.
Watch out
Tips