SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: VirtualHost

Threaded View

  1. #1
    SitePoint Enthusiast
    Join Date
    May 2001
    0 Post(s)
    0 Thread(s)

    Angry VirtualHost

    I have an Apache Web Server running here on my computer and I'm trying to get cirtualhost to work, but everywhere I post a message, someone replies but it never works. So I'm going to try here.
    This is what I want.. - My default website - My Port 80 Secondary Site

    This is what I have gotten so far from posts on other forums:

    Port 80
    Listen 80
    Listen 81

    # You don't need to specify port 80 below

    DocumentRoot "C:\program files\apache group\apache\htdocs"

    DocumentRoot "C:\program files\apache group\apache\www2"

    And this is my results:
    When I got to: it loads my site fine.
    But hwen I go to: it loads my site but it loads the site instead of the port 80 website. I have also noticed that when I change the DocumentRoot for the virtualhost it doesn't even effect it. It still uses the DocumentRoot from the other one (the one not inside of the virtualhost.)

    Can anyone help me with this? Thanks

    Oh and I did replace with my real ip address. I'd rather not give out my real one right now.
    Last edited by Chad; Feb 17, 2002 at 13:51.
    Chad Crouch


Posting Permissions

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