When you first-time set up your Google site you get a free domain which starts with sites.google.com/yoursitename. which is free of cost for a lifetime. If you want a custom domain then you buy it from Google domains, Namecheap, Godadaddy, Crazydomains, etc domain name provider service. And you can connect it with your site.