How to make a server

How to make a server and earn money online.like dr rann.