Apache2 configuration

Derek Broughton news at pointerstop.ca
Thu Aug 2 19:47:50 UTC 2007

Kyle Brooks wrote:

> Hi.
> My name is Kyle Brooks, and I hereby introduce myself to this mailing
> list with this post.
> How do I create a virtual host configuration file in the Ubuntu Way
> for Apache? I'm getting a bit lost on what I should do.

Put a file in /etc/apache/sites-enabled/ containing:

NameVirtualHost *

<VirtualHost *>
        ServerAdmin webmaster at localhost
        ServerName yourhosthere
        ServerAlias yourhostsothernamehere
        ServerAlias localhost

# everything else here :-)

More information about the ubuntu-users mailing list