How To Set Up A Web Server and Host Website On Your Own Linux Computer
Welcome to small tutorial series of hosting website on Linux machine. This series of articles will teach how to set up a web server on Linux computer and make it available online. The website we'll host on our personal computer can be accessed from around the globe. In this article(Part 1), we are going to install all the required tools to setup web server. So let's get started and start our own setup web server.
The Linux distro we'll be using for this setup is Ubuntu OS. However, this can be implemented in any linux distro. At the end of this tutorial you will be able to host your php and mySQL based website on your own Linux machine. The tutorial is divided into two parts. In first part, we discuss about basic components and their installation part. In next section, we shall write sample php code for basic website and host it under apache2 web server
Complete Article At LinuxAndUbuntu