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.
cpanel
2,803
questions with no upvoted or accepted answers
11
votes
1
answer
5k
views
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,
...
8
votes
3
answers
9k
views
How to deploy Ruby on Rails application via cPanel on shared host?
I am in the process of learning Ruby on Rails and things have been going smoothly - up until I tried to deploy one of my test applications to my shared hosting account.
I use Host Gator and was able ...
7
votes
0
answers
1k
views
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 ...
7
votes
1
answer
4k
views
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.
...
6
votes
0
answers
2k
views
How to fix BINARY ERROR when deploying a Node Js API REST to CPANEL. (shared hosting)
first of all thanks for the help.
I have a Node js API REST, i use Express, fs module, sharp for images and many others, everything works fine in my machine, and i wanted to test this API in a shared ...
6
votes
0
answers
2k
views
Activate Virtual enviornment in Cpanel without SSH
I am deploying a django based web application. My hosting provider doesn't allow SSH access. So I deployed my application via python setup app. But it doesn't load static files altough it loads media ...
5
votes
0
answers
325
views
I am cloning git hub repository to Cpanel git version control i am getting term 15 error
I am cloning git hub repository to Cpanel git version control i am getiing the error below,
Error: “/usr/local/cpanel/3rdparty/bin/git” ended prematurely because it received the “TERM” (15) signal:
...
5
votes
1
answer
2k
views
Telegram bot webhook with self signed certificate is not working
I'm trying to set up a telegram bot the way documented here - https://core.telegram.org/bots/api#setwebhook.
I've tried nearly everything to use my own self-signed certificate but no success yet ...
5
votes
1
answer
1k
views
Using Alias in Apache ONLY if local directory not present?
We're running a reseller web host, and aliasing a particular directory for ALL the sites within. This is all happening through WHM/Cpanel, which could possibly complicate my question.
We want all ...
4
votes
0
answers
1k
views
NextJs 13 503 Service Unavailable
i have static app with nextJs 13 without any api data or database in my local machine it work normal ,but in production server with cpanel i have 503 error with this log
node:events:491
throw er;...
4
votes
0
answers
566
views
I am not able to connect with mongodb atlas using mongoose.connect
I am trying to build a website for my college hence I chose mongodb as my database using NodeJS . It worked great in my local machine and on the Heroku. But now I am deploying it on the cPanel there ...
4
votes
0
answers
2k
views
503 Service Unavailable after deploy NextJS app
so, after trying a few times, it is clear that I am doing something wrong but I do not realize what. My steps are:
rm -rf .next/ && npm run build
upload .next, package.json,next.config.js and ...
4
votes
0
answers
1k
views
How do I deploy NextJS to shared hosting cPanel while retaining static generation benefits?
So I first built a NextJS app on my local PC, I then uploaded the project to cPanel. I created a NodeJS selector for the project and configured the settings as per the cPanel instructions and all ...
4
votes
0
answers
423
views
Ho to configure WordPress with GitLab
I'm pretty new to this, but I want to configure my GitLab repo to my Cpanel hosting account. So when I push changes from my local site (environment using local by flywheel) to GitLab it automatically ...
4
votes
0
answers
2k
views
Backup MySQL database to google drive automatically
I have an application in laravel and I want to take a backup of a MySQL database and upload it to my Google Drive automatically. Can you please guide me how can I do that without Third party API.