Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.67 KB

README.md

File metadata and controls

46 lines (28 loc) · 1.67 KB

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/rakibtg/Apache-Virtual-Hosts-Creator/master/avhCreator.py
  1. time to play/run the script, can't wait

    sudo python avhCreator.py

  2. 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 Developed by Hasan :)