Instructions on how to change default website by the hostname or IP address.
To edit default index file:
Go to Folder
vi /usr/local/apache/htdocs/
and edit index.html file
Apache Logs are in:
vi /usr/local/apache/logs/
by dev
Instructions on how to change default website by the hostname or IP address.
To edit default index file:
Go to Folder
vi /usr/local/apache/htdocs/
and edit index.html file
Apache Logs are in:
vi /usr/local/apache/logs/
by dev
Time: Tue Jun 22 19:06:10 2021 +0600
Account: clamupdate
Resource: RSS Memory Size
Exceeded: 831 > 256 (MB)
Executable: /usr/bin/freshclam
Command Line: /usr/bin/freshclam –quiet
PID: 15461 (Parent PID:15440)
Killed: No
add /usr/bin/freshclam to / etc / csf / csf.pignore
And then restart the firewall
csf -r
That’s all
by dev
Backup of all important data before proceeding! Changes to the partition table always bear the risk of complete data loss.
by dev
Website Protection
Most of the hackers will be denied by ModSecurity and FileSystemLock.
Set for all .php files permissions to 640.
– Disable dangerus PHP functions
http://wiki.centos-webpanel.com/how-to-disable-dangerous-php-functions
* If you are hosting multiple sites for your clients then some sites might need some of this disabled functions.
– PHP Open_Basedir protection
http://wiki.centos-webpanel.com/php-open_basedir
* We recommend to use option per user.
– ModSecurity for CWP: It will block many malware infections.
http://wiki.centos-webpanel.com/mod_security-for-cwp
– File System Lock: It will deny any kind of change on the files system and also disable any file uploads, and that means no more malware infections and website hacks.
– Hide system processes: This will hide all system process from the users. http://wiki.centos-webpanel.com/hide-system-processes-from-users
-Notification Alerts – SECURITY ISSUE
Notification Email Alerts are NOT set on your server. Go to hostname/…./admin/index.php?module=notifications
by dev
service cwpsrv reload
Security Issues