Tag Archives: virtualhost

1.Install Apache,PHP and Mysql on your machine using the below command on the terminal

2.Open your host file in the below directory:

Edit this file to map your sites

 

3.Configure Apache
From the terminal create the new file using below command:

Type the below line in the new file:

 

4. Enable sites in apache2 and restart apache2

Let us enable your site using the below command on the terminal

Now let us restart and reload apache2 using the command:

 

Once Apache successfully restarts you’re pretty much done and ready to roll.