简体   繁体   English

Node.js应用程序的自定义域

[英]Custom domain for Node.js apps

Are there any PaaS services available for Node.js where you can add a custom domain to your Node app? 是否有可用于Node.js的PaaS服务,您可以在其中将自定义域添加到Node应用程序?

For exampe, nodejitsu, nodester, ... 例如,nodejitsu,nodester,...

Heroku does, not sure about nodejitsu or nodester... Heroku确实,不确定nodejitsu或nodester ...

http://devcenter.heroku.com/articles/custom-domains http://devcenter.heroku.com/articles/custom-domains

nodejitsu support customized domain. nodejitsu支持自定义域。 See https://www.nodejitsu.com/documentation/features/dns/ 参见https://www.nodejitsu.com/documentation/features/dns/

Here are more easier steps to set a custom domain on nodejitsu 这是在nodejitsu上设置自定义域的更简单的步骤

  • Set the CNAME record point to jit.su 将CNAME记录点设置为jit.su
  • Add domains property into package.json domains属性添加到package.json

     "domains": [ "myawesomedomain.com", "www.myawesomedomain.com" ], 

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

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