您的位置:首页 > Web前端 > Node.js

[NodeJS] Use Now alias for custom sub-domains

2016-10-08 16:43 295 查看
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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐