apache-vhost

Automation tool for creating Apache virtual hosting configuration and domain name in *NIX based operating system.

Usage no npm install needed!

<script type="module">
  import apacheVhost from 'https://cdn.skypack.dev/apache-vhost';
</script>

README

Apache Virtual Host Automation Tool

Create Apache virtual host configuration easily on Linux. This automation tool take care of all the steps to create vhost file and domain. Have a new project idea that uses Apache? Just do the initialization with a single command.

Installation

The tool is based on Node.js and can be install directly from npm. Simply run

npm install -g apache-vhost

in your Terminal.

Usage

The tool provides an executable to run commands

apache-vhost [-i] [-d domain name] [-n file-name] [ -r document-root]

Options

  • [-i ] Flag run the program in interactive mode
  • [-d ] The domain name to write to /etc/hosts file
  • [-n ] Name to give configuration file in /etc/apache2/sites-available
  • [-r ] Absolute path to the project (document) root