Skip to content
A short way to add a domain to your Apache2 server.
Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
domainadd.sh

README.md

Apache Domain Adder

A short way to add a domain to your Apache2 server.

OMÜ CEng

GitHub issues GitHub forks GitHub stars GitHub license

Pre Install

We are assuming that you have been installed Apache. If you are not please lookup: https://www.google.com.tr/search?q=apache2+install

Turkish Installation Guide (Türkçe Kurulum Rehberi): http://serhatcileri.com/apache-server-domain-ekle-kolay/

Install

Download domainadd.sh to your computer. You can use:

wget https://raw.githubusercontent.com/ileri/Apache-domain-adder/master/domainadd.sh

Then make it executable

chmod 4555 domainadd.sh

Finally copy it to one of the PATH s'

You can use:

sudo cp domainadd.sh /usr/bin/domainadd
sudo cp domainadd.sh /usr/bin/adddomain

It is just that simple!

Usage

You can use as:

sudo adddomain

or

sudo domainadd

press Enter, then enter your domain address.

Or you may prefer:

sudo adddomain domainname.com

or

sudo domainadd domainname.com

License

GPL-3.0

You can’t perform that action at this time.