skip to Main Content

Run node.js on cpanel hosting server

It is a simple node.js code. var http = require('http'); http.createServer(function(req, res) { res.writeHead(200, { 'Content-Type' : 'text/plain'}); res.end('Hello World!'); }).listen(8080); I uploaded it on cpanel hosting server and installed node.js and run it. If a server is normal server…

VIEW QUESTION

cPanel on Azure VM?

Has anyone done this? I have managed to install it but I am new to this and do not know what to specify as the server hostname. Would this be the DNS name that azure provides? As I believe it…

VIEW QUESTION

PHP cPanel Create Subdomain

So I am trying to automatically create subdomains for my website using PHP. I tried the following code but it gives me a 301 error and redirects me to my cPanel login function createDomain($domain) { // your cPanel username $cpanel_user…

VIEW QUESTION

Cannot call external Model while on server Codeigniter HMVC but works fine on local – CPanel

An uncaught Exception was encountered Type: RuntimeException Message: Unable to locate the model you have specified: Impact_model Filename: /home/appliedi/public_html/multisector.Nutrition.com/system/core/Loader.php Line Number: 344 Backtrace: File: /home/appliedi/public_html/multisector.Nutrition.com/application/third_party/MX/Loader.php Line: 213 Function: model File: /home/appliedi/public_html/multisector.Nutrition.com/application/modules/Ministry/controllers/Ministry.php Line: 11 Function: model File: /home/appliedi/public_html/multisector.Nutrition.com/index.php Line: 315 Function:…

VIEW QUESTION
Back To Top
Search