Questions tagged [cpanel]

Off Topic Warning: cPanel control panel questions are generally considered off topic for ServerFault and more appropriately asked on https://webmasters.stackexchange.com/

cPanel

cPanel is a Linux based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. It provides capabilities for administrators, resellers, and end-user website owners to control the various aspects of website and server administration through a standard web browser. http://cPanel.com

Off Topic Warning:

The majority of questions regarding the cPanel control panel are likely to be more appropriate for the Pro Webmasters Stack Exchange and will be closed here as they are not considered on-topic for ServerFault:

Questions involving web hosting control panels are off-topic at Server Fault because they customize their systems such that normal administration tools and methods no longer apply, and thus require support from the vendor or the web hosting industry. See Where can I ask questions about web hosting control panels?

There have been several discussions on meta.serverfault.com regarding this policy.

84 questions
0
votes
1 answer

Whitelist for IP range on ModSecurity 2.9 & Apache 2.4.3

I'm try to add Google Ip range on white list for Mod Security I use Cpanel+Apache 2.4+ModSecurity 2.9.0+OWASP Rules On several post i se this conf SecRule REMOTE_ADDR "@ipMatch XX.XX.XX.XX,66.249.64.0/19"…
abkrim
  • 417
  • 7
  • 18
0
votes
1 answer

Exim script to output the sender and receiver

We have an anti-spam system that sometimes create false-positives. When reported, we verify and whitelist the domains or IPs that have been wrongly triggered. However, I'd like to automate this by making a script that do the following when someones…
rnehme
  • 15
  • 6
0
votes
1 answer

Shared hosting server sites showing up suspicious results on google

I seem to have found loads of hacked websites on a shared hosting server, or at least something really strange must have happened. The server company refuses to admit there is anything wrong, so I would like someone's expert opinion about it. My…
Martin
  • 121
  • 1
  • 5
0
votes
1 answer

Cloudlinux + CageFS + PHP Selector - how to update default php.ini for each PHP version or for each domain account?

My server runs Cloudlinux 5.11 with CageFS and PHP Selector. Default PHP version is 5.3. I have one account using PHP 5.3, one account using PHP 5.5, and one account using PHP 5.6. I'm trying to figure out how to update each account's php.ini or…
Shawn
  • 101
  • 3
0
votes
1 answer

How to create an Exim router to redirect email and then use alternate gateway

essentially we are migrating to Google Apps for Work away from cPanel (centOS5.11 Exim 4.86) I need to tell Exim: redirect a list of users to an alternate list of email address and then use an alternate smarthost only for these redirected…
cwheeler33
  • 764
  • 2
  • 5
  • 16
0
votes
1 answer

best practice of disable cpanel from edit apache main conf file

i have a centos server controlled by cpanel, i have some proxy i want to set for my main domain, my configuration work clearly at /etc/apache2/conf/httpd.conf, but any edit in cpanel will remove my configuration and regenerate the file again, how to…
Centos
  • 11
  • 2
0
votes
0 answers

How to use variables in Exim filter file?

I'm using Exim with Cpanel. I created a filter file: touch /usr/local/cpanel/etc/exim/sysfilter/options/forward_filter with the following content: # Exim filter if ("$sender_address" does not contain "@example.com") then headers remove From headers…
mm1234
  • 1
0
votes
0 answers

Exim filter check if email is forwarded

I'm using Exim with Cpanel. I created email forwarding from 'email@example.com' to 'forward@example.com' and 'email2@example.com' to 'forward2@example.com'. I want to filter only emails that are forwarded so if a user sends an email to…
mm1234
  • 1
0
votes
0 answers

How to resolve infection SMW-INJ-15328-cron.bkdr.perl-3 found by ImunifyAv

I have a report of a malware infection from imunifyAv and this is all I'm given: SHELL="/usr/local/cpanel/bin/jailshell" */9 * * * * perl /var/tmp/CpUOSh >/dev/null 2>&1 Reason: SMW-INJ-15328-cron.bkdr.perl-3 ChatGPT tells me I need to remove the…
mediaguru
  • 101
  • 1
0
votes
0 answers

Uploading big files result on connection aborted

I'm triying to upload a 2,4GB of files to a Wordpress site hosted on my server. I already increased a lot of php.ini resources limits, specifically: upload_max_filesize = 7000M post_max_size = 12000M memory_limit = 4000M max_execution_time =…
Jjsg08
  • 1
  • 1
0
votes
0 answers

cloudlinux-root disk usage error? Increasing disk size?

devtmpfs 32G 0 32G 0% /dev tmpfs 32G 77M 32G 1% /dev/shm tmpfs 32G 3.2G 29G 11% /run tmpfs 32G 0 32G 0%…
uniak
  • 1
0
votes
0 answers

Isolating a WordPress wesbite within a sub-directory of another

Is it possible to isolate a website within a sub-directory of another on a WHM server? And by isolate, I mean in the event that website within the sub-directory is compromised any malware is contained to that site and cannot affect anything within…
Levi Cole
  • 101
  • 2
0
votes
1 answer

Prevent Apache from showing first virtual host if domain does not exist?

Not sure when but WHM/cPanel and/or Apache have changed how they handle requests for domains that do not exist. Previously it would redirect to http://requested-domain.tld/cgi-sys/defaultwebpage.cgi however it will now simply show the content of the…
Gavin
  • 101
  • 2
0
votes
0 answers

MariaDB won't boot up on (VPS cPanel/WHM server)

I thought I would ask on here as a final option before rebuilding my VPS server. Long story short, my server was operating fine for years and all of a sudden a recent CentOS upgrade crashed my server and the only option I had at the time (Based on…
0
votes
0 answers

Cron Job Shell Backup file: Permission Failed

Ive been trying to create a Cron Job to Ultimatly back up the Data within my Public Html File backup-JMORetail.sh Code #!/bin/sh NOW=$(date +'%Y.%m.%d') tar cfz /home/jmoretai/Back-Ups_Local/TempLocalBack-UpDir/back-up_JMORetail.Com_$NOW.tar.gz…