First of all, you need to decide a name that defines the nature and purpose of your website. To register a domain name, you have to visit the website of a domain name registrar. You can search for your desired name and if it is available, you can pay the amount and purchase it. Some of the popular registrars are GoDaddy, Google Domains, Namecheap, Bluehost, HostGator, etc.