Change Root Directory on LAMP Server

LAMP is an archetypal model of web service solution stacks, named as an acronym of the names of its original four open-source components: the Linux operating system, the Apache HTTP Server, the MySQL relational database management system (RDBMS), and the PHP programming language.

Installing lamp server will create a root directory of an Apache server on /var/www/html. I like to change the root directory because of some permission problem on  /var/www/html and also to make easy of managing my projects on my custom directory. Here are the steps to changed root directory on LAMP server.

Read More