Skip to content

Instantly share code, notes, and snippets.

@ronisaha
ronisaha / vhost
Last active May 11, 2021 09:58
Create vHost Ubuntu Lamp-Server (bash and python)
#! /bin/bash
# The MIT License (MIT)
# Copyright (c) 2014 Roni Saha<roni.cse@gmail.com>
# May need to run this as sudo!
# Copy it in global path (like /usr/local/bin) and run command 'vhost' from anywhere, using sudo.
#
# Show Usage, Output to STDERR