As I just posted in a similar thread:
Read
https://bitcointalk.org/index.php?topic=2415854.0 mainly point-3
BTC can only be mined on ASIC-based hardware. And YES it does apply to servers!
It would cost you thousands of dollars in electricity per year to earn only a few cents in bitcoin. Even if you combined all the computers in the world, including all known supercomputer, you would not even approach 0.1% of the bitcoin hashrate today.
A variety of other coins can be mined on a PC/server but discussion of those belongs in the altcoin areas of the Forum. Services such as NiceHash can *pay* you in BTC but that is wholly different from mining it and again discussion about that belongs elsewhere.