July 12, 2020
If you don't set custom domain, the URL will be something like https://amazing-nobel-819f94.netlify.app. You can use original domain name. I am going to tell you how to do it.
First of all, you need to buy a domain name. I found a clouple of sites for buying domain.
Of course, you can buy a domain in the other web site.
Click Add custom domain.
Click verify. If you can use the domain, it will be passed.
If you click Check DNS configuration, you can see the below dialog.
You need to set Primary domain and Redirects automatically to primary domain both.
You should check a website where you bought your domain. You should be able to register A/CNAME records there. If you are not sure, you should ask to the company.
After registering A/CNAME records, you can check if the registeration is done by dig command.
dig please-enter-your-domain-name
Since DNS takes a time to spread records to all around the world, it might take a time.
Also, you can check by DNS Propagation Check. Please wait for a while. It might take a day or more. After that, you should be able to see your website by your original URL.
Written by Yasuhiro Ito
Software engineer