Is there any way to host NodeJS project in InfinityFree?
I’m sorry, but NodeJS cannot be installed here. It requires shell access. Next time, please search the forum before asking your question:
https://forum.infinityfree.com/search?q=install%20nodejs
Hi user-15346,
NodeJs in nature require a background process to be running 24/7/365, which is not something you would find in real free hosting. Consider paying a premium or changing technology to PHP for use on regular web hostings.
You may be able to find service-based free hosting that allows NodeJs on GitHub/Cloudflare Pages, but in this case, you’ll very likely need to make adjustments to how you develop a project.
Cheers!
Not really. The main things you need are a Node.js runtime, and a way to make your application accessible from a URL on your site. While having SSH access would allow you to run Node.js commands, it would be virtually impossible to actually host an application with it.
iFastNet’s premium accounts do not have SSH access, but they do support Node.js applications through Passenger.
But in general, web hosting accounts are not the best experience for hosting things that are not PHP. Hosting that’s more programming language agnostic (like anything that supports Docker) and/or can deploy from Git is probably better suited for it. Some providers that offer this have free tiers, but those are often very limited “trial” tiers rather than actually free services.
GitHub Pages and Cloudflare Pages are static site hosting. There is no way to host a Node.js app there.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.