You can buy a domain without hosting but note that you will can' use it till you host it. To do this, just simply visit the domain registrar which you want to buy domain from and click domain, then follow the prompts.