Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    cannot access more than 1 virtual host

    Running Apache2 on Ubuntu.

    I have 3 files in /etc/apache2/sites-available/ (and their corresponding symbolic link in /etc/apache2/sites-enabled.

    Each one basically looks like this:
    <VirtualHost *>
     DocumentRoot /var/www/site1

    My problem is that regardless of whether I request, or, the index page of is always displayed.

    Any ideas why this may be happening?

  2. #2
    Just Joined!
    Join Date
    Nov 2004
    Have you enabled the sites?

    with 'a2ensite'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts