• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved Node.js application ingored

signomax

New Pleskian
Hi, I need install a node.js app and tried to install in accorder with this document

How to Work with Node.js Apps on Plesk Obsidian

but if I go to pippo.com (fake adress) I can execute only index.html and node.js app will be ignored and I do not receive any error.

Someone can help me please.
Thankx
 

Attachments

  • temp.jpg
    temp.jpg
    114.9 KB · Views: 4
Hi!
I have a similar issue. I placed my server.js at the application root and my index.html at the document root directory. Only the index.html is shown in the browser, but the server.js seems to be never called.

How did you fix your issue? Could you please provide a solution here.
 
Hi!
I have a similar issue. I placed my server.js at the application root and my index.html at the document root directory. Only the index.html is shown in the browser, but the server.js seems to be never called.

How did you fix your issue? Could you please provide a solution here.
Ok I do not exactly know how, but now it seems to work... I don't know what exactly fixed the issue but I did the following:
1. installed nginx
2. looked for the issue "Server not reachable"
3. tried another subdomain for the app.
 
Ok I do not exactly know how, but now it seems to work... I don't know what exactly fixed the issue but I did the following:
1. installed nginx
2. looked for the issue "Server not reachable"
3. tried another subdomain for the app.

I need to add something: The index.html should not be in the document_root folder, but in the application root or probably anywhere else if you want it to be served by your express server. Otherwise the index.html is served by plesk/appache/nginx without ever looking for the server.js...
 
Back
Top