Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 624 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 624 Bytes

cnvhost

Bash script for creating Apache Virtual Host on linux systems ( tested on Ubuntu Server, CentOS )

this script for making virtual hosts easy for fast web application testing, development when you need more then one hostname and separated on one server

creating new virtual host

usage: sudo ./cnvhost.sh -c example.com

this creates a new virtual host with name example.com

deleting virtual host

usage: sudo ./cnvhost.sh -d example.com

this deletes virtual host with the name example.com

you can edit the code for you needs and directory and settings for virtual hosts configration and directory paths