I have enabled Nodejs support for the plesk and I can host nodejs applications but I dont see options for the subdomain to host nodejs apps . Is there any reason that I cannot host in subdomain ? As u can see in the attachment , in subdomain there is no option for nodejs .
app.use(function(req, res, next) {
res.header("Access-Control-Allow-Origin", "YOUR-DOMAIN.TLD"); // update to match the domain you will make the request from
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");
next();
});
app.get('/'...
does any one know how to allow the subdomain to host the nodejs app as well ? currently I have main domain that is hosting nodejs application on the plesk , but I want to create subdomain under that main domain to be able to host different node js app , if possible.
can anyone guide me with...