Getting a domain name involves registering the name you want with an organisation called ICANN through a domain name registrar. For example, if you choose a name like "example.com", you will have to go to a registrar, pay aregistration fee that costs around US$10 to US$35 for that name
If you need to review web hosting for build website after get a domain, read this guide: Top 7 Most Popular Web Hosting 2024.