码迷,mamicode.com
首页 > Web开发 > 详细

[NodeJS] Use Now alias for custom sub-domains

时间:2016-10-08 19:34:33      阅读:193      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!