cPanel is a Linux-based web hosting control panel that provides graphical interface and automation tools to simplify website and server management for website owners and web hosting providers. It offers a range of features such as email and file management, backup and restoration, security, and domain management. Only PROGRAMMING related questions are on-topic. General configuration questions are off-topic.
Questions tagged [cpanel]
5342 questions
14
votes
9 answers
How to make a copy of large database from phpmyadmin?
I want to create a dev environment of my website on the same server. But I have a 7Gb of database which contains 479 tables and I want to make a copy of that database to the new DB.
I have tried this with the help of PHPmyadmin >> Operations >>…

Narayan
- 1,670
- 1
- 19
- 37
14
votes
6 answers
How to deploy war files into cPanel and remove the project name?
I need to run my Java application on cPanel. I have successfully installed Tomcat,
I can run my application by copying war file into my www folder but the problem is that it shows the Project name (war file name) in the address, I need to know how…
user2071377
13
votes
1 answer
implementing websocket server by nodejs on shared cpanel host
I have acquired a shared host with a cpanel which supports nodejs. I can define a node.js app through "Setup Node.js App".
I want to make a websocket. They have opened 2088 Port for me.
This is my websocket server code:
const http =…

saeid ezzati
- 855
- 11
- 29
13
votes
1 answer
Can't see/upload my .env file in cpanel
I can't see my .env file in my cpanel and i also can't upload .env file in my cpanel.
What can i do??

Shuvo
- 273
- 2
- 7
- 23
12
votes
2 answers
PhalconPHP Database transactions fail on server
I have developed a website using PhalconPHP. the website works perfectly fine on my local computer with the following specifications:
PHP Version 7.0.22
Apache/2.4.18
PhalconPHP 3.3.1
and also on my previous Server (with DirectAdmin):
PHP Version…

VafaK
- 514
- 1
- 6
- 22
12
votes
2 answers
CNAME and WHM - how to stop domain name being appended automatically
Really quick one - I am attempting to use mailgun for my email.
One of the requirements is to add a CNAME = mailgun.org
I am attempting to do this via WHM - and can successfully create the record under 'Edit DNS Zone' for the domain.
The problem is…

GrahamTheDev
- 22,724
- 2
- 32
- 64
11
votes
1 answer
Must strange site visitor user agent be avoided? If yes how?
I am using shared hosting.
My site was showing "ERR_CONNECTION_REFUSED".
So i went to see visitors to my (SSL) site.
I found that instead of regular names in the "User Agent" list,
cpanel visitors list is showing
user agent Expanse indexes the…

sifr_dot_in
- 3,153
- 2
- 33
- 42
11
votes
4 answers
Where is entry point of nextjs application?
When deploying nextjs app to c-panel hosting it asks for entry point of the application which default is app.js. In normal react application it's totally in control but when using nextjs it's not clear which js file is resposible to fire-up the…

Behnam Esmaili
- 5,835
- 6
- 32
- 63
11
votes
4 answers
How to upload laravel project on subdomain?
I want to host a laravel project in a subdomain.. For that first First I create a subdomain name registraion.
And inside the publicm_html/registraion i upload the project file.
But when I see the project on url I saw only files not the project I…

Hola
- 2,163
- 8
- 39
- 87
11
votes
4 answers
Error when installing Phusion Passenger "Could not find passenger (>= 0) amongst [] (Gem::LoadError)"
I'm following these directions to install Rails 3 on my WHM/cPanel VPS. The only change I'm making is to use Ruby 1.9.3 and Rails 3.2.3
However when I get to the command to run "passenger-install-apache2-module" I'm having issues.
First, due to…

Thanos
- 126
- 1
- 3
10
votes
3 answers
Deploying Next.js to Apache server
I've been developing a Next.js website locally and now want to set it up on my Apache server (with cPanel). However, I'm very new to Next.js and Node apps and not too sure how to go about it.
Has anyone done this successfully? Can you list the…

Phil
- 383
- 1
- 4
- 18
10
votes
3 answers
Can I Install Docker Over cPanel?
Can I install Docker over a server with pre-installed cPanel and CentOS 7? Since I am not aware of Docker, I am not completely sure whether it will mess with cPanel or not. I already have a server with CentOS 7 and cPanel configured. I want to know…

Afzaal
- 136
- 1
- 1
- 6
10
votes
5 answers
Setting up a Laravel cron job in cPanel
I have the following function:
protected function schedule(Schedule $schedule)
{
$schedule->command('email:users')->everyMinute();
}
when I run the command
artisan schedule:run
it sends an email but when I add the following command to the…

Johnny
- 1,685
- 6
- 24
- 42
10
votes
2 answers
Create custom PHP error pages in cPanel without redirecting them away from the page that has thrown the error
I am trying to make my web server have customized error documents/pages but with PHP code included in them, without redirecting them away from the page that has thrown the error.
Let's say we are navigating to http://website.com/pages/1 and it was…

Ryflex
- 5,559
- 25
- 79
- 148
10
votes
1 answer
PHP CLI "Out of memory" error on VPS server running CentOS with cPanel
I'm running Symfony2.1 on a hosted virtual server running CentOS with cPanel. Everything runs fine except that I can no longer use Symfony CLI commands. I'm getting this:
Fatal error: Out of memory (allocated 20185088) (tried to allocate 71…

Jérôme Morlon
- 191
- 1
- 7