<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - krillzip</title>
<link>http://snipplr.com/users/krillzip/tags/vhostalias</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 22:07:01 GMT</pubDate>
<item>
<title>(Apache) Ubuntu apache vhost_alias setup</title>
<link>http://snipplr.com/view/49528/ubuntu-apache-vhostalias-setup/</link>
<description><![CDATA[ <p>First of all this refers to a clean Ubuntu 10.04 install with the LAMP and OpenSSH packages installed, but can probably be applied in most cases.

Duplicate the file /etc/apaches/sites-available/default, and name it subdomains.

Edit the new file to look like this one.

Enable the vhost_alias module, "a2enmod vhost_alias".

Activate the new virtual host, "a2ensite subdomains".

Reload apache, "/etc/init.d/apache2 reload".

In order to change the configuration to your needs, [you can go here](
http://httpd.apache.org/docs/2.2/mod/mod_vhost_alias.html)</p> ]]></description>
<pubDate>Wed, 23 Feb 2011 22:57:30 GMT</pubDate>
<guid>http://snipplr.com/view/49528/ubuntu-apache-vhostalias-setup/</guid>
</item>
</channel>
</rss>