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>
时间: 2024-12-15 01:31:48