Questions tagged [cpanel]

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.

References:

5342 questions
7
votes
3 answers

Cloudlinux NodeJS demands to store node modules for application in separate folder (virtual environment) pointed by symlink called "node_modules"

I was looking to deploy my Nodejs/TypeScript web application to my cpanel shared hosting. But, I am getting an error: * Cloudlinux NodeJS Selector demands to store node modules for application in a separate folder (virtual environment) pointed…
isofttechn
  • 400
  • 1
  • 6
  • 19
7
votes
5 answers

How to deploy a nextjs application on cpanel?

I followed these steps to deploy my nextjs on cPanel. go to package.json and add this line: "homepage": "http://afsanefadaei.ir" run next build to have .next folder as my build folder go to cpanel >> file manager >> public_html folder and upload…
Afsanefda
  • 3,069
  • 6
  • 36
  • 76
7
votes
5 answers

Terminal in cPanel is giving an error on launch: Error: The WebSocket handshake failed at 7:45:2

I need to run composer, but soon as I open Terminal from the cPanel, an error notification pops up saying that the web socket handshake failed. I hit the reconnect button, and the second identical error pops up. How should I get around this error?…
Ihsan
  • 140
  • 1
  • 1
  • 12
7
votes
6 answers

How to access Cpanel on 1&1(IONOS) hosting?

Does anyone know how to access Cpanel on 1&1(IONOS). One of the biggest in the web hosting market but I didn't know it was one of the worst. Knowledge Base is empty. Searching on Google doesn't result in anything. I am startled by the fact that I…
Sprograms
  • 85
  • 1
  • 1
  • 8
7
votes
5 answers

change default page in cpanel

What do I need to do to change the default page in cpanel?
Kushal
  • 2,605
  • 4
  • 22
  • 23
7
votes
4 answers

How can i run artisan commands in cpanel

How can i run these artisan commands in my application that is hosted in the net? Is there like a cmd in my cpanel where i can do these commands? Thanks in advance. php artisan clear:cache php artisan view:clear
Ronald Torres
  • 113
  • 1
  • 1
  • 9
7
votes
3 answers

How to install composer on godaddy shared hosting?

I'm trying to install composer and I'm getting an error , What I did , Downloaded composer wget https://getcomposer.org/installer php installer --check All settings correct for using Composer php installer The error I got , The…
lasan
  • 365
  • 2
  • 5
  • 13
7
votes
0 answers

Apache + PHP-FPM Pool Options - resources consumed and traffic estimated

For e dedicated server with WHM/cPanel configured with Apache + PHP-FPM the default Pool Options per domain are: Max Children = 5 Process Idle Timeout = 10 Max Requests = 20 The questions are: How many resources are involved when it reaches the…
Marius
  • 459
  • 1
  • 4
  • 17
7
votes
2 answers

mod_wsgi unable to connect WSGI daemon process

I am using Easy apache 4, mod_wsgi, and Python 3.5. When I called a Django project in the server I got the following error: (13)Permission denied: mod_wsgi (pid=24223): Unable to connect to WSGI daemon process 'user123' on…
nidhin
  • 359
  • 1
  • 3
  • 13
7
votes
3 answers

Godaddy Hosting Cron Job Timezone setting

I'm using godaddy hosting and running cron job for codeigniter. That will be running every day at 10am. So in cron tab i tried like this 00 10 * * * export TZ=Asia/Dhaka; wget http://www.example.com/function 00 10 * * * TZ=Asia/Dhaka; wget…
Tawhidul Islam
  • 352
  • 4
  • 19
7
votes
1 answer

How to connect database inside the cPanel using Python?

I would like to connect inside the database of cPanel using Python and insert some new data. I can write SQL and Python code to do the insertion. However, but don't know how to connect with cPanel. I have the website address (say,…
Arefe
  • 1,029
  • 5
  • 16
  • 30
7
votes
3 answers

What language cPanel/WHM panel server is done?

I am planning to make an application like cPanel/WHM in perl since i never worked out my own server in perl, and i was thinking of a few points that i wanted some advices/help: cpanel and whm work on ports 2082/3 and 2086/7 to server their panel i…
Prix
  • 19,417
  • 15
  • 73
  • 132
7
votes
4 answers

How To Programmatically Create Addon Domains on Shared Hosting Plans

On Linux-based shared hosting that is administered with cpanel, is there a programmatic way to create, sort of reliably, addon domains for my site if I know my cpanel login information and/or FTP information? Note: interested in PHP and cpanel in…
Volomike
  • 23,743
  • 21
  • 113
  • 209
7
votes
5 answers

File path for a Cron Job

Hi I want to run a cron job to call a PHP script on my server. I am using Cpanel from my web host and these are the options: Minute: Hour: Day: Month: Weekday: Command: I am really struggling to point the command to…
Mick
  • 2,840
  • 10
  • 45
  • 61
7
votes
1 answer

How to configure a server to send email using cPanel?

I am trying to send email using php. The mail is returning true. But I am receiving the email. So I am guessing that maybe there is some problem with the server. Is there any tutorial explaining how to configure the server to properly send email…
odbhut.shei.chhele
  • 5,834
  • 16
  • 69
  • 109