GoDaddy Node.js主機 說明

我們已盡最大努力為您翻譯本頁面。 我們也有提供英文頁面。

GoDaddy Node.js Hosting常見問題

使用GoDaddy Node.js Hosting取得常見問題的答案,讓您更輕鬆,更快速地部署Node.js應用程式。

請注意: GoDaddy Node.js Hosting目前為測試版。功能和特色可能會隨著持續更新而變更。
如果您有需求:

選擇一個問題即可看到答案:

GoDaddy Node.js Hosting如何運作?

GoDaddy Node.js Hosting可讓您上傳zip檔案以部署應用程式。無需配置Docker容器,也無需安裝任何命令行工具。這對於使用AI編碼助理建立應用程式且希望有更輕鬆快速的發布方式的使用者來說十分理想。

返回頂端

我可以在GoDaddy Node.js Hosting託管哪些類型的應用程式?

GoDaddy Node.js Hosting supports most Node.js apps and static websites and single-page apps built through AI coding assistants. Some common tools that work include React, Vue, Next.js, Remix, Express, Fastify, Nest and more.

返回頂端

GoDaddy Node.js Hosting和競爭對手有什麼不同?

競爭對手假設您熟悉命令行工具,環境變量,容器概念和復雜的配置。 GoDaddy Node.js Hosting可讓開發人員輕鬆完成拖放式部署,基於Git的工作流程,並可在付款前免費預覽。

返回頂端

GoDaddy Node.js Hosting需要多少費用?

在目前的測試版中,GoDaddy Node.js Hosting可免費使用2預覽應用及1已發布應用。預覽應用程式會在30天后自動移除。

返回頂端

GoDaddy Node.js Hosting安全嗎?

可以!系統會自動掃描每個部署,查看是否有惡意軟體,漏洞以及安全性最佳實踐。

返回頂端

我可以從其他主機提供商處轉移現有的應用程式嗎?

可以!從目前的供應商匯出應用程式檔案,並上傳至GoDaddy Node.js Hosting。先在免費的預覽環境中進行測試,然後在準備發佈時升級為專業版。

返回頂端

我可以將現有網域連線到GoDaddy Node.js Hosting嗎?

可以!將應用程式上傳至GoDaddy Node.js Hosting後,您可以在設定中變更網域名稱。

返回頂端

What are the app requirements for GoDaddy Node.js Hosting?

Important requirements for your app to be deployable include:

  • Package.json file: Must exist at the top level of your project, with non-empty name, version and main.
  • Build script: Always defined. If nothing needs compiling, use "build": "echo build". Frameworks need a real build command.
  • Start script: Always defined. If it runs node, that file must exist.
  • Listen on the assigned port: Read the port from process.env.PORT (3000 is a common port to use).
  • Runtime packages in dependencies: Anything needed during build or start must be in dependencies, not devDependencies.
  • Do not upload node_modules: Exclude node_modules from your zip or Git repo.

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

返回頂端

更多資訊