Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 517 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 517 Bytes

Apache Virtual Hosts Script

This is a batch script to create a virtualhost by just passing the domain or subdomain name

ABOUT

The script asks you for a domain and subdomain name, create a directory using the same domain or subdomain name in /var/www folder and creates a virtualhost with that configuration.

USAGE

  1. Download or clone the script
  2. type chmod +x virtual_host.sh
  3. Run by typping ./virtual_host.sh

TESTED ON

This script has been tested on Ubuntu 14.04 on AWS EC2