Creating sites, installing applications, and managing your server.
/public
directory.www
subdomain to the root domain. For example, if you create a site with the root domain example.com
, Forge will automatically create a redirect from www.example.com
to example.com
. Likewise, if your site’s domain is www.example.com
, Forge will automatically create a redirect from example.com
to www.example.com
.
site:create
and site:delete
permissions.
user/repository
format, e.g. laravel/laravel
. Self-hosted projects should use the full SSH URL, e.g. [email protected]:laravel/laravel.git
.
Before you install the repository, you can also decide whether or not to install Composer dependencies. If your project does not contain a composer.json
file, you should uncheck this option.
wp
terminal command.
wp-config.php
file through the WordPress tab on your site’s management dashboard. You can use this to add authentication keys, define constants like DISALLOW_FILE_EDIT
, or modify the database table prefix.
$table_prefix
will invoke the WordPress installer and you will need to reinstall your WordPress site after making this change. The following variables will trigger the WordPress installer if they are changed:$table_prefix
AUTH_KEY
AUTH_SALT
DB_HOST
DB_NAME
DB_PASSWORD
DB_USER
LOGGED_IN_SALT
NONCE_KEY
NONCE_SALT
SECURE_AUTH_KEY
SECURE_AUTH_SALT
t2.nano
on AWS, do not have enough resources to run an application like phpMyAdmin.default
. This site may be accessed by visiting the IP address of your server in your web browser. This is convenient because sometimes you may not have a particular domain you want to associate with a given server immediately after provisioning.
When you are ready to transition your application to an official domain name, you may rename the site in the Settings tab of the site’s management panel. After renaming the site, you will no longer be able to access it using the server’s IP address. After renaming the site, you should add a DNS A
record for the domain that points to your server’s IP address.
/etc/nginx/sites-available/000-catch-all
. This is a special site that is used to stop domains that are not configured on your server from being served. This site will respond with a special Nginx 444
status code for any request that does not match a configured domain.
daily
and single
log formats are supported. Forge will automatically read the last updated file./etc/logrotate.d/
. The primary configuration file is located at /etc/logrotate.conf
.
To view older “rotate” or “compressed” logs, you can use cat
for non-compressed files or zcat
for compressed files.