Your cost to buy a server could range from a few hundred dollars to a few thousand, just depending on what you want the server for.
For instance, if you just want to host your own site or store files, you can choose one on the cheaper end.
However, if your idea is to manage multiple online websites, even for paid hosting clients, then you will invest much more.