• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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