You don't just tell XenForo what you want your URL to be and it just work.
You instead need to purchase the desired domain name from a domain name registrar and have that directed to your web host. This is likely something your web host is best placed to advise you on. They may even sell domain names themselves. If you have already purchased a domain name, your host will help you configure your hosting to work with that.