In a previous article, we introduced CentOS Web Panel and CWP installation tutorials. However, there is no description of how to configure and use CWP. Today we will detail how to configure CWP and the main functions of CWP.
The main settings include CPW settings and server settings. If you have no special requirements for Apache and PHP settings, use the default configuration.
CWP settings
Shared IP
You must first set the shared IP address, which can be set under Edit Settings under CWP. By default, the system recognizes your public IP address as a shared IP address. If you have multiple IP addresses, or you need to test the IP address in the LAN, set the desired IP address manually. Root Mail is the address of the Web master mailbox. When an error occurs on your website, this mailbox may appear on the error page.
Backup settings
Unlike cPanel's Backup settings, CWP backup does not have much configuration. Only the Daily, Weekly, and Monthly options are available, but the specific backup time cannot be configured. For example, you cannot set the number of backups per week. At the same time, CWP supports backing up data to a remote server, but only through SSH. This means that you can only back up data to another linux server.
Server settings
The server mainly creates a scheduled task (Crontab), modifies the root password, modifies the time and date, and modifies the disk quota. The Cron Job set for logon with different user identities runs with different identities. It is much safer than directly modifying/etc/crontab.
Package settings
To facilitate the management of your domain name and website, you need to set up a package, which is similar to the host package used when you buy a virtual ps. me/tag/host "> host. Naturally, you can use CWP to sell virtual hosts, if you have enough powerful servers.
For personal use only, you can use different accounts for each website for security reasons, so that the Package only needs to meet the needs of a website, such as an FTP account. The difference between Packed Domain and Addon Domain must be noted here. Chinese is called pause domain and additional domain. A paused domain is an additional domain name that directs only to the primary domain name. For example, if the primary domain name you created is mydomain1.com and you want to use mydomain2.com to direct to this website and display the same content, you need to set mydomain2.com to suspend the domain. The additional domain refers to the second website that you can build outside the primary domain name.
PHP settings
Depending on your program, you can select different PHP versions. If you want different websites to use different PHP versions, you need to install the PHP Selector of CloudLinux