GoDaddy Help

We tried our best to translate this page for you. The English page is also available.

What is Node.js Hosting?

Find answers to common questions about how Node.js Hosting works, what it costs and what your app needs to deploy.

If you require:

选择一个问题以查看其答案:

How does Node.js Hosting work?

With Node.js Hosting, you can connect to GitHub or upload a zip file. You don't need to set up Docker containers or install CLI tools. This can help if you built your app with an AI coding assistant and want a simple way to publish it.

返回顶部

What type of apps can I host on Node.js Hosting?

Node.js Hosting supports most Node.js apps, static websites and single-page apps, including apps built with AI coding assistants. Frameworks that work with Node.js Hosting include React, Vue, Next.js, Remix, Express, Fastify and Nest.

返回顶部

How is Node.js Hosting different from other hosting services?

Many hosting services require you to use CLI tools, set environment variables, work with containers and manage complex configuration. With Node.js Hosting, you can upload your app with drag and drop or deploy it from Git. You can also test it in a free preview before you pay.

返回顶部

How much does Node.js Hosting cost?

You can create a limited number of preview apps for free. Preview apps are removed automatically after 30 days. To publish an app, upgrade to Pro.

返回顶部

Is Node.js Hosting secure?

Yes. We automatically scan every deployment for malware and vulnerabilities, and check it against security best practices.

返回顶部

Can I migrate my app from another hosting provider?

Yes. Export your app files from your current provider and upload them to Node.js Hosting. Test your app in the free preview first, then upgrade to Pro when you're ready to publish.

返回顶部

Can I connect my existing domain to Node.js Hosting?

Yes. After you upload your app, you can change its domain in Settings.

返回顶部

What are the requirements for my app?

要使您的应用程序可部署,其重要要求包括:

  • Package.json文件:必须存在于项目的顶层,具有非空的名称,版本和主要。
  • 生成脚本:始终定义。如果什么都不需要编译,请使用“ build”:“ echo build”。框架需要真实的构建命令。
  • 启动脚本:始终定义。如果它运行节点,则该文件必须存在。
  • 侦听分配的端口:从process.env.PORT读取端口(3000是常用端口)。
  • 依赖项中的运行时程序包:在构建或启动过程中需要的任何内容都必须是依赖项,而不是devDependencies。
  • 不上传node_模块:从您的zip或Git存储库中排除node_模块。

If you've checked the requirements and are experiencing issues deploying, install the NODE_JS agent skill from GitHub for more assistance.

返回顶部

更多信息