Skip to content

Søren Juul

Me and my life

  • About me
  • Articles
  • Projects

Tag: httpd

Add virtual host to apache2

Add the following to /etc/apache2/sites-enabled/000-default


Listen 81
<VirtualHost localhost:81>
DocumentRoot /dir/to/files
</VirtualHost>

81 and /dir/to/files can be selected by you. More at http://httpd.apache.org/docs/1.3/vhosts/examples.html. Works on ubuntu hardy

Author adminPosted on January 29, 2008Categories Linux, open source mm.Tags apache2, httpd, virtual hostLeave a comment on Add virtual host to apache2
  • About me
  • Articles
  • Projects
Søren Juul Proudly powered by WordPress