Keep in mind that you have to maintain your DNS records in sync with your Heroku resources. ▸ Run heroku domains:wait 'to wait for completion The domain has been enqueued for addition ▸ Configure your app's DNS provider to point to the DNS Target To add a custom domain with a subdomain, use the domains:add Heroku CLI command: $ heroku domains:add Adding to ⬢ example-app. There might be a delay while DNS changes propagate. Confirm that your app is accessible via the custom domain.Configure your app’s DNS provider to point to the Heroku-supplied DNS target. Look up the Heroku-supplied DNS target for the custom domain using the heroku domains command.Add the custom domain to your app with the heroku domains:add command.You can buy a custom domain name with a domain registration service. Confirm that you own the custom domain name.The remainder of this article covers these steps in greater detail: Heroku does not provide a domain registration service (for registering a custom domain name) or a DNS provider service (for hosting the DNS servers that point your custom domain name to your app).
0 Comments
Leave a Reply. |