Setting up Server at home is a great idea, but it is not an optimized solution for your project. If you are thinking that setting up my server at my place will increase my security levels or protect my data from theft. Then that is not completely true. Because even you have set up your server at home. But you are still connected to the open network. So you have to enable or make your project theft-proof, And setting up a server at home for small projects are ok. But if you are planning to setup it for large projects. Then I will highly recommend you to think again. Before we dive into the server setup at home. Let’s consider few numbers.
So lets quickly calculate the number of resources you will need to setup a server at home.
| 1. High-Performance Computer.
2. High-speed Network.
3. Backup Power supply.
4. Backup Internet Connection.
5. Cooling System.(like A/C or CPU Coolers.)
6. Electricity Bill.
| Rs. 40k to 50k
Rs. 500 to 1k Per month.
Rs. 4k to 10k.
Rs. 300 to 700 Per Month.
Rs. 1k to 30k
Rs. 500 to 1.5k Per Month.
So these are the some of the hidden cost which we never consider before we set up the server at home. So these are the rough price. But it can be varied in your region or country.
How to Setup Server At Home.
So you have to first buy a nice high-performance machine, with at least 4GB of RAM,500GB of SSD Harddisk. And At least i3 Processor. You can buy i7 or the latest version of CPU am giving example for least value. Then Install all the hardware components.
Once you have your CPU ready, then begin installing Linux OS. You can go for windows also if you like. For beginners, windows os will be more easy to use and setup. So after you finish installing Operating System.
For Windows Operating System
Download XAMPP and install it on to your computer. And you are done. You have successfully setup your server on Windows operating system.
For Linux Operating System.
Download XAMP and install it on to your computer.
Some Router Configuration
If you have used fiber optic cable network, then you will have a modem and the router. So if you have such network setup. Then make sure you have enabled port forwarding on your router. Port Forwarding means when someone requests your IP Address then it will reach to your network, but if your router has no idea where to send the incoming request then the request will be dropped. and ultimately your web server will not work.
So make sure you have allowed or enable TCP or Port 80 to your local IP address or MAC address. I am not putting any screenshot of this process because of every router config. are different. So if you are getting any issue just comment in the box below. With your router specification. I will let you how to do that.