I have domain setup in cloud VPS business+ plesk using blacknight. My code for website is written in Node.JS and html css etc. My Code structure contains nextjs-blog folder, readme file.
Inside nextjs-blog there are multiple folders. Application file (index.js) is in the nextjs-blog foler while all the rest of the websites files are in different folders inside nextjs-blog.
Now I am facing an issue of how to set the application root for that? nextjs-blog contains all the files and folders of the website code including api’s, html, css, javascript etc. I believe the document root is httpdocs/nextjs-blog but what will be the application root as document root must be the sub child of application root.
Image attached shows the folders inside the nextjs-blog
I tried to follow all the stuff available online but it seems the issue is with the structuring of the application file. I am not sure what to do now
Stratos Interns is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.