I have a Linux Ultimate Hosting account and I am trying to work out how to deploy a nodejs app to one of my sub domains. Are there any godaddy instructions on how to do this?
I followed the instructions here and seem to have node installed: https://ferugi.com/blog/nodejs-on-godaddy-shared-cpanel/
I also followed another tutorial which showed how to use the .htaccess file to divert the domain to use the app e.g.
It doesn't work and I don't have a lot of confidence that this is correct.
Does anyone have any good instructions?
Thanks in advance!
Solved! Go to Solution.
I did a bit more digging and found the solution here:
I needed to add the following to the .htaccess file.
RewriteRule (.*) http://localhost:3000/$1 [P,L]
Hopefully this will help someone else!
I tried the steps but after creating the .htaccess I get :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.