Questions tagged [cpanel]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

is this possible to create CPANEL account without pointing NS and A record to host?

I want to set up a Cpanel account which is not pointing(A Record) to the server as well as nameserver. I don't want to change nameserver and A record. Because the current site is live on another ...
0
votes
1answer
56 views

Server Information

We have just set up a dedicated-server (Linux / Centos7.7 / WHM/Cpanel) As it is managed by the hosting-company we are not given access to SSH. Under Server Information in WHM dashboard the info ...
0
votes
0answers
31 views

call a file in exim filter

Hi I have hundreds of exim filter conditions as below. each condition block has 2 white listed domain as @safedomain1.com and @safedomain2.com. I want to be able to create a file e.g /etc/...
0
votes
0answers
9 views

How to connect to a web server that uses cpanel via ssh?

I have generated the private and public key on the cpanel interface I have ssh installed on Linux I know the IP of my web server I cant seem to find the open port on cpanel interface, I am not able ...
0
votes
0answers
5 views

How to setup custom Error file for mod_security (401 Error)

I tried multiple method for setting up custom error file for mod_security. Panel: Cpanel Linux Os: Centos 7 In Cpanel server, I tried to show a customized error page whenever mod security blocks a ...
1
vote
0answers
47 views

Can I change root's domain name in emails?

I already changed my root alias to my email so that whenever a email is sent to root, i get a copy of that. Which is perfectly working fine. Now, when i receive an email, the From address is : root @ ...
1
vote
1answer
52 views

Command working in CLI but not in cron

I'm trying to set up a cron job via cPanel on a machine running CloudLinux/CentOS. The command should run a PHP script every minute to update stats; cd /home/account/public_html/phpredmin/public/ &...
-1
votes
1answer
59 views

mysqldump have issue in cPanel cron job

To create auto backup of database, I am using this command in cPanel cron job mysqldump --opt -Q -u {mysql_user_name} --password='{password}' {database} | gzip > /home/[account_name]/db_backup/...
0
votes
0answers
24 views

Can't run composer update in a subdomain because the php version is lower that required

I have to run a Laravel command from SSH to install packages (the command is 'composer update') and when I run it puts an error that the php version is 7.0.3 and that it requires 7.1.3 The command is ...
0
votes
2answers
60 views

Copy folder to multiple (similar) locations simultaneously

I have around 90 websites I need a plugin installed on (wordpress) and I was wondering if there's a way to copy the plugin folder to all of them in a single run (i.e., simultaneously / in parallel).  ...
2
votes
2answers
5k views

Network is unreachable in CentOS 7 after disabling Network Manager for cPanel + restart

I have a server from OVH (SoYouStart technically), it's running Proxmox and the VM is running CentOS. I followed the instructions here and then here to disable the network manager, I installed cPanel ...
3
votes
2answers
5k views

A filename has an asterisk for some reason - it won't be changed and content not executed

I use CentOS shared server environment with Bash. ll "$HOME"/public_html/cron_daily/ brings: ./ ../ -rwxr-xr-x 1 user group 181 Jul 11 11:32 wp_cli.sh* I don't know why the filename has an ...
0
votes
0answers
47 views

Use proxy in linux server. Different result between command line and browser execution

In my web server i am trying to use proxy in all outgoing http(s) request in linux ( centos7 ). example: curl request. After set proxy by export http_proxy and https_proxy, when i run a file (php) ...
1
vote
1answer
1k views

Apache: how to run PHP files via CGI as normal user and without them being executable

Background Config of server I want to mimic I have access to a CentOS 7 server with cPanel/WHM installed, running EasyApache4 with the following configuration: # /usr/local/cpanel/bin/...
0
votes
1answer
356 views

Installing cPanel on a load-balanced environment?

I have a cluster set up on AWS Ubuntu under 2 load balancers. Is there a way to install cPanel on the servers so that it will still work under the load balancer? I know cPanel doesn't currently have ...
2
votes
1answer
4k views

How to make my system centos 7 use primarily ipv4 if it's available

I have CentOS 7 running on an AWS machine. I recently enabled IPv6, and everything was working fine – except for the fact that PHP connection requests (also curl from command line) always prefer to ...
1
vote
2answers
2k views

sudo: command not found on cPanel [closed]

I have a webserver with cPanel, and I tried to install mod-pagespeed. but when use the commands in every tutorial, I get permissions denied and when I use sudo I get bash: sudo commando not found. ...
2
votes
0answers
268 views

Postfix stop continuously

I just successfully configured Sendgrid into a Google Cloud Instance which is CPanel installed on CentOS. Here I have done it. When install Postfix I have to remove currently installed exim4. ...
-3
votes
1answer
13k views

Yum, Rpm and Find Command Not Found [closed]

I am trying to use "yum", "rpm" and "find" commands to install cpanel on my vps, but i am just getting "command not found", please help
1
vote
0answers
363 views

HTTPS not working for example.com, only for www.example.com

I have installed SSL certificate on my webserver and enabled redirection of all http requests to https using certbot. So far this works when I try to open www.example.com but not with example.com. ...
2
votes
2answers
1k views

How to run cronjob every 4 hours minus 1 second

I have data coming from API and I want to call it and dump the data in my db every 4 hours (current day data). I used the following : 0 */4 * * * The data in my report is missing some values, ...
0
votes
1answer
98 views

Why is my command prompt different

Long story short, I needed to completely reinstall my CentOS/WHM/cPanel stack on a server. I had cPanel account backups available to me (backed up on S3 using the built in WHM backup system), so I ...
1
vote
0answers
326 views

CentOS server freezing daily

Host: CentOS release 6.8 (Final) Server is freezing on a daily basis, usually around 5am. I cannot login to the terminal, and the Apache websites are inaccessible. Terminal shows following screen: ...
0
votes
2answers
2k views

How to access home directories via server IP address

I am trying to set my server up to access accounts such as: 192.169.200.88/~dirname where dirname is the account's home directory. I set the accounts up via WHM, and I can access the Cpanel. But ...
1
vote
0answers
530 views

Access files from one cpanel account to another

I have a server which has CloudLinux installed with cpanel and whm. On this server I have 2 cPanel accounts, ABC1 and ABC2. I want ABC2 to access files in ABC1? I created a link using SSH WinSCP, ...
0
votes
2answers
8k views

SSH connect to HOSTNAME port 22: Connection timed out

Using the "SSH Shell Access" in my Cpanel I have added my public and private key in the import key section and I also have authorised them. But I am getting this "Connection timed out" error on port ...
0
votes
1answer
745 views

Cannot access WHM and SSH/root after a configuration in Host Access Control

I added my IP (like 172.32.1.0/255.255.255.0) to allow access for ssh, whm and cpanel in WHM -> Host Access Control. Then, I added all IP to deny access for them. However, after saved changes, I lost ...
0
votes
1answer
1k views

too many connection to SMTP server in exim_mainlog, How to solve it?

It is a cPanel server and from /var/log/exim_mainlog, I can see that, there are too many connections to the server. Mostly the number of action connection will be less than 25. But even after ...
3
votes
3answers
7k views

Is it a correct way to clear the exim mail queue?

I use the following command to delete the exim mail queues exiqgrep -i | xargs exim -Mrm or # following commands seems to work faster compared to the above. exim -bpru | awk {'print $3'} | xargs ...
1
vote
1answer
45 views

Does 'reloading' a server reset dns/email settings

I have a client with web hosting on a Linux VPS. Unfortunately, I know very little about VPS hosting and am having a hard time finding information on how to set up email and DNS records. So the best ...
0
votes
3answers
495 views

How to install Nginx while Apache running?

I am trying to install nginx as a backend proxy for Apache and I get this errors: === Install Nginx from official repositories === Loaded plugins: fastestmirror, remove-with-leaves, tsflags, ...
0
votes
1answer
28 views

Only One Resolver ip

so i was trying to setup Cpanel and i got this problem it asked me for a Secondary Resolver which i don't have i tried getting my ip resolver by typing cat /etc/resolv.conf in centos and it gave me ...
0
votes
2answers
2k views

Unable to install yum on cpanel server

I recently signed up on godaddy and have a user account on cpanel I can successfully use ssh to login to my server this is my operating system details when i use uname -a Linux a2plcpnl0360.prod....
1
vote
0answers
165 views

Remove permanent redirect and clean DNS

I am experiencing "Server not found" errors since I did the following, in my server I had this domain structure: example.com -> permanent redirection to app.example.com app.example.com I removed ...
-1
votes
1answer
336 views

Number Of email accounts can be hosted on server using cpanel

I need to know how many number of accounts be hosted on a dedicated server with cpanel, with a HDD of 100 GB , and also max number of accounts, And also I would need assistance on "How I use a single ...
19
votes
2answers
12k views

nmap doesn't appear to list all open ports

My rental Linux server doesn't respond to nmap the way I thought it would. When I run nmap it shows three open ports: 80, 443 and 8080. However, I know ports 2083, 22 and 2222 should all be open, as ...
3
votes
2answers
258 views

Can i run grep from cPanel without SSH?

I need to search a large amount of files on my hosting that runs cPanel. They don't have SSH, is there a way I can run grep in any other way to search my files for a certain piece of text?
0
votes
1answer
104 views

How to check banned ports?

I need to check if I can connect to a cpanel, FTP or SSH. Is there anyway to check if a port is banned? p.s. I'm living in a Dormitory so I have no control over modems or etc.
1
vote
1answer
3k views

How to change FTP home directory in Centos 6

I have created one Linux CentOS 6 instance in Amazon EC2 and installed cPanel on it and started running my websites there. The issue I face was when I try to FTP to the instance with the following ...
0
votes
1answer
750 views

Installing a different php version for a subdomain

I have a cPanel dedicated server installed with PHP 5.2.17. I need to use php 5.3 version for my subdomain and the directory needed php.5.3 is /home/website30/public_html/blog/. Can anyone provide ...
0
votes
2answers
413 views

Can not connect to my webserver on my own IP

Lately I'm having trouble connecting to my VPS Webserver. Every morning when I try to connect to my webserver via pop ,visit a website that runs on the server or even ping the server, I get no ...
1
vote
2answers
15k views

Run A Cron Job Task Every 30 Seconds [duplicate]

It's possible to set the cron job tool in my website cpanel 'VPS Hosting' to execute php file every 30 second I am using it to execute php file once at a minute *,*,*,*,* but I need to set it to run ...
1
vote
2answers
619 views

CPanel / WHM // CentOS // SELinux

The file config indicates SELinux mode is "target". Is it enabled or disabled ? Terminal/SSH says 'disabled'. But several behaviours here and there act like it is enabled. Thanks.
1
vote
2answers
231 views

Live resizing of an ext3 filesytem on CentOS6.5

I have a problem with my remote server hosted by my provider, I have only SSH access. The problem consist of getting this error file system rootfs has reached critical status that causes problems with ...
0
votes
1answer
1k views

CPanel New Domain

Background Note: When I first asked this here, I was told that it is off topic and I should ask at StackOverflow. StackOverflow said it is off topic and I should ask on ServerFault. Serverfault said ...
0
votes
0answers
1k views

How to check number of connections

My server have high loads. CPU usage is low. Memory usage is low. IO is low. So I improve maximum number of connections in cpanel. Things are working. However, where can I see detail? How do I ...
1
vote
0answers
163 views

Cron job running at 12.00 AM despite changing its time

I have only one cron configured in cPanel for WHMCS to run once per day at 12.00 AM. The cron sends daily activity logs to my email. A problem came up recently in which cron job activity logs sent ...
1
vote
1answer
169 views

/scripts/installimagemagick is now deprecated

I am trying to install Redmine With SVN following this article. But when i run /scripts/checkimagemagick this command -bash: /scripts/checkimagemagick: No such file or directory and when i run /...
1
vote
0answers
409 views

How to configure nginx to dynamically read folders, user accounts/domains?

I have cPanel and Apache 2.4 on my CentOS 6.6 VPS. I installed Nginx as a reverse proxy. Everything works fine. I have 2 domains on the VPS & I'm able to configure them both on nginx. The ...
1
vote
1answer
846 views

Export and import ssl certificate from cpanel to self manage hosting

I have moved my server from cpanel managed hosting to nginx-centos server. I have only command line to manage my server. I need to export and import the ssl certificate. All the tutorials that I have ...