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
10
votes
2 answers

password protect a single file using .htaccess

I have tried to password protect a single file using .htaccess. But when accessing the file the browser just redirects to the home page of the website. I have my .htpasswd on my webroot. My .htaccess file is given below
Shanker Krishnan
  • 111
  • 1
  • 1
  • 3
9
votes
3 answers

How can I add npm (node.js package manager) to the PATH?

I installed node.js like this: cd /usr/local/bin/ git clone --depth 1 http://github.com/joyent/node.git cd node git checkout origin/v0.4 # optional. Note that master is unstable. export JOBS=2 # optional, sets number of parallel commands. mkdir…
emurad
  • 3,448
  • 10
  • 40
  • 47
9
votes
1 answer

How to clone github private repository in cpanel (shared host without terminal or ssh)?

I have a shared host and they don't give me ssh or terminal for it. I've tried to clone my private repos from git by Git™ Version Control so I am using ssh link because they need permission. I don't know how to make ssh key on cpanel so I can make…
9
votes
1 answer

Issues with the format of .cpanel.yml file when trying to deploy cpanel git repository to directory.

I am using a cpanel web administration system. With it i create a git repository. I am able to push my local code to that git repository. The problem arises when i attempt to deploy the code in the repository to a production directory on my…
aviya.developer
  • 3,343
  • 2
  • 15
  • 41
9
votes
2 answers

PHP cli not working with local path (suddenly)

From a couple of hours, PHP commands, given from the console, are not accepting local path. For example in laravel i've always given the command php artisan but from this night i'm receiving the following reply Status: 404 Not Found Content-type:…
Giacomo Torricelli
  • 764
  • 1
  • 6
  • 21
9
votes
1 answer

What is PHP track_errors?

I was just glancing through my Cpanel's php.ini EZConfig (basically php.ini; it just allows me to change some settings in php.ini through Cpanel) and noticed track_errors. Can someone tell me what this means, I have searched the php website and…
PHPLOVER
  • 7,047
  • 18
  • 37
  • 54
9
votes
2 answers

Cron job schedule time changes automatically

I have a cron job */2 * * * * in the cpanel , after several hours this changes automatically to */17 * * * *, or */19 * * * * or */15 * * * *. I noticed this change many days. I was waiting for the task to complete in 2 minutes, several tasks have…
Sandeep Vishwakarma
  • 566
  • 1
  • 5
  • 17
9
votes
1 answer

Setting up Email Accounts EC2

I am just getting started with AWS and EC2 and can't quite get my head wrapped around what to do with email. On previous servers, I would use it as a mail server and on cPanel create all the email accounts I needed, and could access them through web…
Dfranc3373
  • 2,048
  • 4
  • 30
  • 44
9
votes
2 answers

How to block another domain to access and get result from my website?

Another domain is showing duplicate content of my website (all pages) When I entered this domain I see my site content. If I change something on my site, I see it immediately on the another domain. I think he's using some function fopen or curl or…
motioz
  • 662
  • 2
  • 11
  • 21
8
votes
5 answers

Next JS : Error: EPERM: operation not permitted, open

I am trying to build the next Js app production files to deploy it on cPanel, when I execute npm run dev the app is working just fine but as I start to build a production file with the help of this video(https://youtu.be/1ykSXau838c) and executes…
MOHAMMAD SIDDIQUE
  • 223
  • 2
  • 5
  • 17
8
votes
3 answers

Is there any opensource software like cpanel?

Have to know this thing that it exist or not.
shouman
  • 239
  • 2
  • 4
  • 5
8
votes
3 answers

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 to successfully create a new Ruby on Rails app via…
NightMICU
  • 9,000
  • 30
  • 89
  • 121
8
votes
1 answer

Getting error while installing NPM modules in CPanel?

I get an error after installing Node in CPanel, I uploaded my package.json file but whenever I tap the Run NPM install button, it shows an error on the right hand side saying, Web Application is inaccessible by its address…
Alec Aldrine Lakra
  • 355
  • 1
  • 4
  • 14
8
votes
2 answers

Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system:

I am trying to follow this guide to install python modules however i don't seem to have virtual environment or pip installed so im trying to get those to continue. Python 2.7.5 is installed on my cpanel, i want to install extra modules for my…
Luke Prior
  • 885
  • 2
  • 11
  • 34
8
votes
2 answers

a2enmod command not found in apache server using cpanel in linux vps

after going to /etc/httpd/conf/httpd.conf and even after changing Allow override none -> Allow override All , and then restarting the server using service httpd restart and then i type the command a2enmod proxy then i get an error : bash-…
roh_dev
  • 275
  • 2
  • 6
  • 17