Skip to content

Welcome to Apache Virtual Hosts Creator - This script will setup a Apache Virtual Hosts for you - All you have to do, answer few questions - Make sure you have Apache configured

Notifications You must be signed in to change notification settings

tanhongit/Apache-Virtual-Hosts-Creator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Apache Virtual Hosts Creator

A simple python code that can automate the process of creating a virtual host onto your Linux dist. note that i have tested this only on Ubuntu and Ubuntu based distros and i am not concern about redhat and redhat based distros other than Ubuntu, if it helps and if you know how to make it work for the distros other than Ubuntu then please feel free to contribute few lines of code here :)

happy coding

Installing avhCreator.py

before we start make sure you have Apache configured in your local development platform.

1. lets put the avhCreator.py into a directory

Open the terminal and lets start.

go to the home directory

cd home/

create a folder named "avhCreator"

sudo mkdir avhCreator

enter into the folder

cd avhCreator/

Download avhCreator.py

sudo curl -o avhCreator.py  https://raw.githubusercontent.com/tanhongit/Apache-Virtual-Hosts-Creator/master/avhCreator.py

2. time to play/run the script, can't wait

sudo python avhCreator.py

time to talk ;) the script itself is really descriptive so you should get the idea what to do when, if not you can make it better by contributing your code.

3. screen shot's

type the domain name domain settings viirtual domain created successfully

Time to celebrate :D

viirtual domain created successfully

Here is a video on how to use it at YouTube

About

Welcome to Apache Virtual Hosts Creator - This script will setup a Apache Virtual Hosts for you - All you have to do, answer few questions - Make sure you have Apache configured

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%