Skip to main content

Site settings

Introduction

To open site settings open the site card first and then select "Settings" menu

Website settings menu

Settings has several submenus:

This menu also contains "Delete website" button which removes the site and all related data (files, domains, certificates, databases etc.)

Let’s have a closer look on each section:

Main settings

This submenu includes general site settings:

  • Enable/disable a website
  • Enable/disable temporary link usage.
  • Domain
  • Admin email
  • Site encoding
  • IP-address, the site will be available at
  • Site aliases

Main website settings in FASTPANEL

HTTPS

This submenu contains management tools to make your site work via HTTPS protocol. After the certificate is specified in "SSL certificate field", additional options will appear:

  • HTTPS redirect - this option makes all requests redirected to HTTPS with 301 code. (Moved Permanently).
  • HSTS - when enabled this option sends Strict-Transport-Security header that forces browser to use HTTPS connection only
  • HTTP2 - enabling the second version of HTTP protocol

HTTPS settings in FASTPANEL

Redirects

This submenu contains redirect setting for incoming requests to the website:

  • The main site mirror - when it is enabled, requests will be redirected from aliases to the name specified in the parameter. For example, here you can set up a redirect from the main domain to the www subdomain, or vice versa.
  • Enable auto subdomains - Auto subdomains is a setting that automatically adds a wildcard alias (*.example.com) to the site. Subdomain files will be available from the main domain. They should be created in folders corresponding to the subdomain name in websites root directory. E.g. subdomains sub0.example.com root directory will be /var/www/www-root/data/example.com/sub0 .
tip

Please note that the wildacrd alias (*.example.com) must be added manually to the DNS.

Website redirects settings in FASTPANEL

Site directory

This submenu includes site directory settings:

  • Index page - this option specifies the page to show upon request to the site. Several pages can be specified.
  • Root directory - specifies a root directory to use for the website. Cannot be changed.
  • Subdirectory - specifies the site directory if it needs to operate from non-root directory.

Website root directory settings in FASTPANEL

Backend (PHP, Upstream, etc.)

This submenu includes options for backend processing by the web server:

  • Enable/disable PHP scripts processing
  • PHP mode
  • PHP version (can be changed only for a specific PHP modes)
  • Worker amount - specified for PHP-FPM mode only
  • Upstream mode

Read more in Can I change PHP mode for a site?
More about Upstream mode

Website PHP settings in FASTPANEL