Adding a Domain
A new domain can be added by clicking on the button Add Domain top right.
In this form you enter the Domain Name, the Document Root and you select a Vhost Template
and PHP Version for your application.
Deleting a Domain
When you delete a domain, only the vhost and the NGINX and PHP log directories will be deleted,
NOT the Document Root Directory.
In the settings of your domain, you can change the Document Root for your domain.
In the Vhost Editor, you can make changes on the NGINX Vhost, like apply rewrites and redirects.
In the PHP Settings of your domain, you can change the PHP Version and change other settings like:
The most common settings can be modified to your needs but if you need to change other parameter values you can overwrite them in the Additional configuration directives.
In the Basic Auth settings of your domain, you can enable and disable Basic Auth.
In the Log Viewer, you can check the NGINX Access and Error Logs and the PHP Error Log.
Developers who prefer the command line can find the logs in the following directories:
- Access Log: /home/cloudpanel/logs/domain.com/nginx/access.log
- Error Logs: /home/cloudpanel/logs/domain.com/nginx/error.log
- Error Log: /home/cloudpanel/logs/domain.com/php/error.log
To see the last 100 lines of your PHP Error Log, you can use the tail command with the follow option.