Linking your developments to public domains and subdomains can be a difficult, error-ridden and slow process. Here's how you can fix this with now, step by step:
When you deploy and subsequently run
now alias we:
Let's say you want to deploy a Node.js app. First, you would deploy with
That will give you a URL to your new deployment (or list with
now ls). Then run:
▲ now alias <deployment> <target domain>
And you're set!
now alias will verify the ownership of your domain and automatically configure it.
Additionally, you can manage DNS records with the
now dns command.
For example, this is how you can add a MX record.
▲ now dns add my-app.com @ MX mail.awesome-now.us 10
We wrote a series of benchmarks against the legacy [city].zeit.world and deployed them to 12 major locations around the world. The result? Up to 28x faster DNS lookup performance.