Virtual Host Manager For Ubuntu

/ Published in: Bash
Save to your folder(s)

This is a bash file to Create or Delete Virtual Host in Ubuntu system and Apache server.
This file open the Virtual Host in "/home/{user}/www/{domain}"

To run this file you need to make this file executable:
> sudo chmod u+x /path/to/file

Then whenever you need to open a new host just go to terminal and run the file:
> sudo /path/to/file create

To delete host:
> sudo /path/to/file delete

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.