• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue Run Node.js Application from a Subdirectory

smbfission

New Pleskian
Hello, I hope someone can help me run a node.js app exclusively from a sub-directory on Plesk.
I am trying to run Ghost CMS (uses node.js) when accessed in a subdirectory only. I got Ghost CMS to work on Plesk (see the journey I went through here if interested: Cannot Install Ghost on Plesk Obsidian with Nods.js ) and was able to install it in a subdirectory.

Everything worked, except when configuring node.js on plesk, it seems that the Root domain (domainexample.com/) is configured to be the "application url"

so if you access domain.com, it will show "CANNOT GET /" if node.js is turned on.

1645559798432.png

and I don't know how to make it so that my node.js app only loads from the subdirectory address, from the example above, domain.com/learn/

When I go to my root domain
I see this:
1645559966554.png
Which makes sense because node.js is saying my app url is the root domain, but the files are hosted in a different subdirectory.

I want so that if you go to the root domain (domain.com) that it shows the index.html file shown there.
If I turn off node.js, it will show the index.html file there after apache cache clears.


Thanks so much!
 
Back
Top