First of all, try to get all the basic requirements of a web server. A web server should have a high speed Internet connection and a large bandwidth. The next important requirement is that you need to choose the right operating system for your server. Linux and Unix are the most appreciated operating systems for a computer server machine. FreeBSD, an open source, Unix based operating system is one of the best options, that you can install in your computer server.
The next step after installing the operating system in the web server, is installing an http server. Apache is one of the Hyper Text Transfer Protocol (HTTP) servers, that normally come along with the Free BSD operating system. However, you will need to install it. You can run the Apache server using the 'http' command. But, before doing so, you will have to configure the 'httpd.conf' file in your operating system. Here, you mention the settings for your http server, as well as the name of the website you are going to run. In most of the machines, you will find the 'httpd.conf' file located in the '/usr/local/etc/apache22/'. Now type the IP address of the machine at the web browser. Type http, followed by the IP address. If you can access the web pages stored in your system, that means you have successfully installed the web server and the http server.
Click to Download the pdf