I hope this is a quick Node.js fix / rerouting.
goal: install ghost on a subdirectory on Plesk (Obsidian) CP. Show HTML files on the root, and ghost-related pages in a subdirectory (/learn/)
After many hours of researching, and some help on the forum (see: Cannot Install Ghost on Plesk Obsidian with Nods.js - Developer help / Installation - Ghost Forum)
I was able to not only install Ghost on Plesk CP, but in a subdirectory.
The problem I have now is I’m guessing because of the Node.js settings on Plesk, “the application URL is listed at my root domain” - I get an error: “CANNOT GET /” when visiting the root domain. (mydomain .com)
Which makes sense.
I cannot change that “application url” on the front end.
But what I want to do is show my vanilla HTML file on my root domain (mydomain .com), but likely because of node .js, node.js is looking at my Root domain to initiate the application. How can I make it so node .js only initiates in the subdomain? (in this case, mydomain .com/learn/)
Thanks so much!
- What’s your URL? This is the easiest way for others to debug your issue
- What version of Ghost are you using?
- What configuration?
- What browser?
- What errors or information do you see in the console?
“CANNOT GET /”
- What steps could someone else take to reproduce the issue you’re having?