首页 > Web开发 > 详细

[NodeJS] Use Now alias for custom sub-domains

时间:2016-10-08 19:32:21      阅读:216      评论:0      收藏:0      [点我收藏+]

Now is a great way to deploy your node application, but the generated URLs aren‘t memorable or easily remembered. With Now‘s alias command, you can fix that. In this video lesson we‘ll cover how to add an alias to a deployment, giving you a custom *.now.sh subdomain, how to create an alias using your own custom domain name, how to list your aliases and finally how to remove an alias if you no longer want it.

 

// List Deployments
now ls

// Create an alias
now alias <DEPLOYMENT ID> <ALIAS VALUE>

// List Aliases
now alias ls

// Remove an Alias
now alias rm <ALIAS ID>

 

[NodeJS] Use Now alias for custom sub-domains

原文:http://www.cnblogs.com/Answer1215/p/5939278.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!