Michael Svanström
  • About
  • Contact
  • Categories
    • azure
    • development
    • devops
    • display
    • home assistant
    • iptv
    • javascript
    • linux
    • nextauth
    • nextjs
    • node
    • node js
    • ole
    • photography
    • politics
    • postgresql
    • prisma
    • python
    • raspberry pi
    • salesforce
    • uncategorized
    • video
    • woocommerce
    • wordpress

Adding vhosts to Apache, the scripted way

Tuesday, May 25, 2010 Linux apache, debian, linux, ubuntu

This script adds a directory in /var/www and a vhost file in /etc/apache2/sites-available. Tested on Debian and Ubuntu.