Skip to content

Website

Website overview

alt text

FunctionDescribe
Add WebsiteAdd a PHP website or static website
Website Name
Display the domain name of the website, click to view and modify the configuration of the current website
StatusDisplays the running status of the website, click to Running and Disabled the website
BackupDisplays the number of backups of the website. Click to perform Backup, Restore, Download, Delete and other operations
PathDisplay the root directory of the website, click to use File to manage files
RemarksDisplay website remark information, click to modify the remark information
PHPDisplay the PHP version of the current site. Click to modify the PHP version of the current site. Note that need to first PHP Interface installation
SSLDisplay the SSL status of the current site, click to manage and deploy SSL certificate
ConfigurationClick to view and modify the configuration of the current website. as: Domain Management, Redirect, Reverse Proxy, Default Index, Hotlink Protection, Limit Access, Traffic Control etc.
DeleteDelete the current website. Will not be able to access this website after deletion

Add Website

alt text

FunctionExampleDescribe
Resolve Domain
Manual, Automatic Add RecordAutomatic Currently requires adding the corresponding DNS API in the main aaPanel Domains and having a valid SSL certificate for the domain to function properly.
Domain Namesub1-161.kern123.topEnter the domain name of the website
Website Name
sub1-161.kern123.topEnter the website name
Root Directory
/home/kern/wwwroot/sub1-161.kern123.top
The root directory of the website
PHP VersionPHP-8.3Select the PHP version used by the website. Note that you need to first PHP Interface install
FTPkern_sub1-161_kern123_topCreate an FTP account when creating a website. After creation, View it on the FTP interface
Databasekern_sub1_161_kern123_topWhen creating a website, create a database, which can be viewed in the Database interface after creation.

Website Name or Configuration

  • Domain Management

    Add, delete domain alt text


  • Site Directory

    Set the Website Directory or Running Directory of the current website alt text


  • Limit Access
    1. Limit Access

      Specifying the site directory requires an account and password
      alt text

    2. Deny Access

      Disable access files in the specified directory of the site alt text


  • Traffic Control

    Limit traffic control for the current site alt text


  • URL rewrite

    URL rewrite is generally used to make dynamic addresses pseudo-static. By default, the .htaccess file in the site directory is used, or the URL rewrite template can be used. alt text


  • Default Index

    Set the default homepage of the current website, that is, the index file of the site alt text


  • SSL
  1. Set Certificate

    Configure encrypted access to the website, that is, use https to access the website alt text

    • Certificate Type : Display the type of SSL certificate

    • Certificate Brand : Display SSL certificate brand

    • Certificate Domain : Display the certified domain name of the SSL certificate

    • Expiration Time : Display the expiration time of the SSL certificate

    • Force HTTPS : Enable/disable forced HTTPS

    • TLS Version : Set the TLS version used by the current website

    • Private Key (KEY) : Display the contents of the SSL certificate private key used by the current website

    • Certificate (CRT/PEM) : Display the contents of the SSL certificate used by the current website

    • Save and Set Certificate : Save and set up SSL certificate

    • Renew : Renew the SSL certificate of the current website

    • Close certificate : Turn off SSL certificate

  2. Let's Encrypt Free Certificate

    • HTTP File Verification

      alt textLet's Encrypt servers verify domain ownership by accessing this website's files

      1. If an error occurs, please troubleshoot first and then verify. Multiple errors will be limited Let's Encrypt Rate Limits.

      2. If you encounter verification failure, please troubleshoot according to the prompts

        • Maybe the domain name resolution has not taken effect and no resolution has been added.

        • Let's Encrypt cannot access your website. You can check redirection and proxy issues. Try to access and see if the display is normal. Apply again after it is normal.

      3. If file verification is not available, use DNS verification

      4. If restrictions appear, use third-party website SSL

    • DNS Verification

      alt text

      Let's Encrypt server verifies domain name ownership by parsing DNS records.

      The following domain name resolvers are supported, and the TXT record of DNS is added through the API to verify the domain name.

      1. alidns

      2. azuredns

      3. cloudflare

      4. cloudxns

      5. godaddy

      6. tencentcloud


  • PHP Version

    Set the PHP version used by the current website. Note that Need to first PHP Interface installation alt text


  • Redirect

    Set the current site's specified domain name or directory 301/302 jump specified address

    alt text


  • Reverse Proxy

    Set the current website proxy to access resources of other sites

    alt text


  • Hotlink Protection

    Only the specified domain name can be used to access the resources of the current site. If it is not the specified domain name, an error will be returned.

    alt text


  • Response Log
    1. Response Log

      Access log of current site alt text

    2. Error Log

      Error log for current site, if there is an error on the website, you can view this log alt text

Backup

alt text

  • Backup : Click to back up current website files

  • File Name : Display the file name and path of the current backup

  • File Size : Display the file size of the current backup

  • Backup Time : Display the current backup time

  • Restore : Click to restore current website files

  • Download : Click to download the current backup file

  • Delete : Click to delete the current backup file

Usage example

Example: Deploy a Drupal 10.3.11 website

  1. In the Domain name provider website, point the IP of the Domain A record of sub1-161.kern123.top to the server IP, such as 192.168.66.161

    Domain name and server IP, please replace it with your own domain name and IP

    alt text

  2. Go to Drupal website to download drupal-10.3.11

  3. Add a PHP website and Select Database.

    • Website creation example: alt text

      • Website created successfully: alt text

      • Database created successfully: alt text

  4. After successfully creating the website, deploy the SSL certificate. If SSL is not deployed, you can only use http Visit website

    alt text

  5. Click Path Enter the File interface and upload the drupal file such as: drupal-10.3.11.tar.gz

    alt text

  6. After successfully uploading the file, right-click the file to decompress it.

    alt text

    • After decompression is complete, a drupal-10.3.11 directory will be displayed.

    alt text

  7. Enter the directory and enter according to the decompressed directory, such as:drupal-10.3.11

    Reference: /home/kern/wwwroot/sub1-161.kern123.top/drupal-10.3.11

  8. After selecting all, copy or cut all directories and files to the root directory of the website

    Reference: /home/kern/wwwroot/sub1-161.kern123.top

    alt text

  9. Copy or cut and paste it into the root directory of the website

    Reference: /home/kern/wwwroot/sub1-161.kern123.top

    alt text

    • After the pasting is completed, the display is as follows: alt text
  10. Use a browser to access the website and follow the prompts to install it.

    If SSL is not deployed, you can only access the website using http

    alt text

  11. After following the prompts, 4. Set up database

    You can go to the Database interface and copy Database Name,Username,Password, paste into the website before continuing

    If the password is incorrect, please checkDatabase Name,Username whether there are spaces,PasswordIs it correct.

    alt text

  12. Finally Configure site, enter your own information

    alt text

  13. Complete installation

    alt text