alvaromldev Posted February 16 Posted February 16 Hi, I have a domain (devhabbo.com) with a new subdomain recently created (api.devhabbo.com). I would like to have a nodejs app on the subdomain but I can't change the document root of the subdomain to something like /api.devhabbo.com/www. It says "Cannot change document root: permission denied." How can I change the subdomain document root to /api.devhabbo.com/www to store the nodejs files in /api.devhabbo.com but outside the document root folder? Thank you, I hope I expressed myself well ✌️
wolstech Posted February 19 Posted February 19 Apologies for the delays on this one. We have to change that on our side, there is no way for a user to change their document roots themselves. That domain has been updated to use /api.devhabbo.com/www as the docroot. Also, since you mention nodejs, be aware that long-running nodejs applications are a leading cause of load suspensions. If you can, use passenger so the application starts as needed. Once you start your application, monitor your load here to avoid a suspension: https://heliohost.org/load/ 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now