1.5.1 • Published 5 years ago

vhost-generator v1.5.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

VHost Generator

npm install -g vhost-generator

A virtual host file generator for Ubuntu machine with Apache2

Requires administrative rights*

Commands:

  • --help Help
  • --create -c Create new virtual host
  • --remove -r Remove a vhost by domain

Options:

  • --domain -d Domain**
  • --path -p Path to project root, default: curent working directory
  • --public Public folder, ex: public_html, web, public, default: none
  • --ip The IP for vhost, default: *
  • --port The access port for vhost, default: 80
  • --ssl Secure vhost, default: false
  • --template Template of virtual host file, default: default **required

Example: sudo vhost -c -d example.com

Templates

You can add your own virtual host template in templates folder under project_root/lib For ssl templates add '-ssl' at the end of the filename

Auto backup

When you create a new virtual host, a backup with your old settings for hosts and ports.conf are saved in project_root/lib/backup

1.5.1

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago