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
4
votes
4 answers

High process count on cPanel hosted node.js app, and increasing

I have a single node.js app running on my shared web host. The cPanel shows 67/100 processes, and 7 entry processes. The thing is, the site currently doesn't do anything except letting users see it. The number of processes when I first deployed the…
4
votes
1 answer

Web Directory is visible after React app deployed on cPanel

I have created a simple react app and built the app using npm run build command and uploaded it to host. it works but whole application directory is visible in web browser console. So how do i fix it to not to show web directory on web console. Once…
pl-jay
  • 970
  • 1
  • 16
  • 33
4
votes
3 answers

Mongoose does not establish the connection with the database on Namecheap shared hosting node js application

The flowing code successfully connects mongoose with the mlab database on localhost and Heroku. But it's not working on Namecheap node js Server. const express = require("express"); const mongoose = require("mongoose"); const port =…
Shifut Hossain
  • 1,599
  • 3
  • 14
  • 24
4
votes
4 answers

set up .cpanel.yml file to upload everything

Just starting to learn how to set up git repository on my server with cPanel. It says that i have to have a file called .cpanel.yml in the root folder for it to work. It gave me this file example: --- deployment: tasks: - export…
WebDevGuy
  • 53
  • 1
  • 6
4
votes
1 answer

Pointing cPanel root domain to Netlify

I've a domain let's call it example.com that is hosted in a shared server with cPanel (the DNS of the domain are pointing to the shared server). In this server I've some subdomains and my email accounts. I want to point only my root domain to a…
4
votes
1 answer

Not getting value in $_SERVER from SetEnv variable in htaccess

I have set some variables in .htaccess file with SetEnv but it's not getting by php file using $_SERVER. Here is the code of htaccess: RewriteEngine on RewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond %{REQUEST_FILENAME}…
Chetan Nakum
  • 413
  • 6
  • 19
4
votes
4 answers

cpanel free alternative with DNS tool

I'm looking for a free alternative to manage personal sites (php/apache/mysql support) with the ability to configure DNS. it should be VERY light weight and optimized. I tried many panels especially kloxo, and i was disappointed, too many bugs and…
TDSii
  • 1,675
  • 4
  • 20
  • 29
4
votes
3 answers

How to deploy Laravel 5.5 app to Godaddy cPanel shared hosting

I'm relatively new to Laravel. I'm confused on what is the proper way to deploy a Laravel 5.5 app to a Godaddy cPanel shared hosting. I've read multiple posts on the subject and they give conflicting advice. Part of what I'm not clear on is do I…
mdailey77
  • 1,673
  • 4
  • 26
  • 52
4
votes
6 answers

Laravel 5.5 Error 500 in Cpanel Shared Hosting

I already upload my laravel project folder into cpanel hosting. I did't have VPS. I has read many example in laracast and stackoveflow, but still get this 500 internal error. This is my setting. I has separated public folder in my laravel project…
Arie Sastra
  • 183
  • 1
  • 2
  • 16
4
votes
2 answers

How can I make my nextjs with Express site work on ssl

We have a site running on Next.js and Express. This is on a cPanel server with Aapche and together with nginx serving as reverse proxy. I need to have ssl on the site. But I am quite confuused with how the configurations should be. My server.js…
Janith Punna
  • 73
  • 2
  • 6
4
votes
2 answers

Can I deploy a Spring Boot application on godaddy

Can I deploy a Spring-Boot application on godaddy using Web hosting and cPanel? Thanks.
Prometheus007
  • 63
  • 1
  • 4
4
votes
3 answers

ERROR: The requested URL could not be retrieved

I have a project in CodeIgniter and hosted in Sub-domain, and it has an error: The requested URL could not be retrieved Here is a picture of it: Error
kajab
  • 61
  • 1
  • 1
  • 2
4
votes
2 answers

SQL Connection error: Connection failed: Unknown MySQL server host 'localhost:3306' (0)

I am not sure why I am getting this connection failed error. I am sure that the sever where the database is located is "localhost:3306". I'm currently using cPanel to access myAdmin. My php code is
ethacker
  • 131
  • 1
  • 4
  • 17
4
votes
2 answers

Permission denied cron job in Cpanel

I set up a cron job in Cpanel according to backup but received this email alert: /usr/local/cpanel/bin/jailshell: /home/mahsanwe/cron_backups.php: Permission denied How to fix it?
4
votes
0 answers

Using a Python script with Selenium on my cPanel

I have python script that I usually use on my PC. The script uses Selenium web driver, it collects data from a source, and stores it into my local MySQL db. I would like to automate it on my cPanel web-server instead of always running it from my PC…
Millica
  • 168
  • 12