How to create virtual host in ubuntu apache?

By Hardik Savani | June 14, 2016 | Category : Installation Ubuntu

we always like to create virtual host and run our project that way we can debug properly and run as like our website. But if you are working on ubuntu then we have always follow several step to create virtual host and that very long process.

So, i found one package that provide virtualhost command that way we can create new virtual host and also delete virtual host command. so just follow bellow step:

Create virtualhost command

$ cd /usr/local/bin

$ wget -O virtualhost

$ chmod +x virtualhost

$ wget -O virtualhost-nginx

$ chmod +x virtualhost-nginx

Use virtualhost command

sudo virtualhost create my_dir_path

you have to always fire above command to create new virtualhost, that's it and it's pretty simple...

try this and get more information from here : virtualhost.

Hardik Savani
My name is Hardik Savani. I'm a full-stack developer, entrepreneur and owner of Aatman Infotech. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.
Follow Me: Github Twitter
***Do you want me hire for your Project Work? Then Contact US.