DEV Community

Xhika
Xhika

Posted on

Create a Virtual Host with a script!

Hello!
So I've been working on a shell script to help me setup a Virtual Host faster running on ubuntu (tested on aws ec2 instance).

Would be so happy if people would want give some critique and to test it on different server managers.

Link to github:
https://github.com/xhika/Create-A-Vhost

Some hosting experience is required..

So the steps would be:

Create an A record at your host provider
Clone the project to your server
In the github link follow the steps required.
Edit the name of your host inside the .env file and give the scripts some rights provided in the description and you're pretty much good to go.

Thanks :)

Top comments (3)

Collapse
 
manishfoodtechs profile image
manish srivastava

Okay good. You forget to add any antivirus in setup.

Collapse
 
xhikaa profile image
Xhika

Thanks for reply, what do you suggest?

Collapse
 
manishfoodtechs profile image
manish srivastava

ClamAV