简体   繁体   English

我可以在托管共享主机上托管 nodejs react 项目吗?

[英]can i host nodejs react project on hostinger shared hosting?

I have read many articles posting about shared hosting on multiple hosting platforms.我已经阅读了许多关于在多个托管平台上共享托管的文章。 but i still want to be sure that can I host react and nodejs project on hostinger on their shared hosting plan.但我仍然想确定我可以在他们的共享托管计划上托管 react 和 nodejs 项目。

Or can someone suggest me a better hosting I am using MySQL as a database.或者有人可以建议我更好的托管我使用 MySQL 作为数据库。

Yes, you can host nodejs app on Hostinger, but since hpanel (hostinger's replacement for cpanel) does not have one-click node.js install, you need to install noedjs manually and it is may be a complex process.是的,您可以在 Hostinger 上托管 nodejs 应用程序,但是由于 hpanel(托管者替代 cpanel)没有一键安装 node.js,您需要手动安装 noedjs,这可能是一个复杂的过程。 Hostinger's shared hosting is specially optimised for wordpress (and other PHP CMS). Hostinger 的共享主机专门针对 wordpress(和其他 PHP CMS)进行了优化。

If you are just trying out apps, better go for Heroku for now.如果您只是在试用应用程序,那么现在最好选择 Heroku。 If professional, you can go with any hosting providers with cpanel for easy nodejs installation.如果专业,您可以与任何带有 cpanel 的托管服务提供商合作,以便轻松安装 nodejs。

In case you want to install nodejs on hostinger, pls refer to below answer - https://stackoverflow.com/a/63769404/5028003如果您想在托管商上安装 nodejs,请参考以下答案 - https://stackoverflow.com/a/63769404/5028003

Hostinger does not allow node.js on their shared plans. Hostinger 不允许在其共享计划中使用 node.js。 To have a node.js app you will need to user their VPS service.要拥有 node.js 应用程序,您需要使用他们的 VPS 服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM