Question: I want to create a home server which can host websites i build.

I want it as a windows server and work the same as servers we get from hosting companies, what main points i should consider while thinking in that?

Answer: 
* Power consumption
* Power reliability (UPC needed?)
* Many home network connections are asynchronous (DSL, Cable), meaning the upload rate is much smaller than the download rate.
* You need a proper DMZ network layout, protecting your home network from the outside while allowing access to your server
.
.
.
By "work the same" I'll assume you're referring to software. If that's the case, get a copy of Windows Server and install on the box and configure the services the way you want them. For the box itself, the specs should be whatever will handle your application with some room to grow.

Since it's a server, you'll want it running 24/7, so power consumption, heat, and noise will be your biggest concerns. You'll want something relatively quiet that can perhaps live under a desk. You'll want a battery backup/surge protector for power conditioning. I'd recommend putting any network gear on battery backup as well to keep the connection alive during a spike or brownout.

A stable Internet connection with static IP addresses will also be in order, preferably with business class support. You can do it with dynamic IP addresses, but it's not ideal and would require a [dynamic DNS service](http://www.dtdns.com) to operate.

Frankly, with the cost of VPS (virtual private servers) systems as low as they are, I'm not sure I would bother with an Internet server at home without a really compelling reason.