You need to know: HTML, CSS, Javascipt, and Python, then pay a monthly or yearly fee to get a domain
Who would I pay?
A domain host I would use is Google Domains (now Squarespace Domains)
How do they make domains?
You just search the name of your domain and see if it's available