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

    Problem Setting up virtual Server

    I am new to Linux so I hope I am asking this question in the correct spot!
    I am setting up two web sites my config file is below.

    my main site works fine, but when I try to access the second or virtual site with the word josh in it, it brings up the same content as the main website. It should just display a test pase.
    It seam that the DocumentRoot parameter is not working on the second website.

    <VirtualHost *>
    DocumentRoot "/var/www/html/kubicekfamily"
    <Directory "/var/www/html/kubicekfamily">
    allow from all
    Options +Indexes

    <VirtualHost *:80>
    DocumentRoot "/var/www/html/josh"
    ServerAlias *
    <Directory "/var/www/html/josh">
    allow from all
    Options +Indexes

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    North Carolina
    check out the following

    also try the search in the forum and google.

    report back with problems

Posting Permissions

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