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
Back To Top
Search