Results 1 to 2 of 2

Thread: Apache and multiple virtual servers

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2002
    Location
    Lexington, SC
    Posts
    586

    Apache and multiple virtual servers

    Hi,

    I've been trying to set up my webserver to be able to handle multiple virtual servers and addresses. For example I currently have two addresses registered and pointed at the server (when its turned on, not full time right now). But not matter how I set up the virtual servers if I go to either address it takes me to the default server which is /var/www/html (Redhat linux 8.0 between).

    I've tried setting up each virtual server to watch a specific address.. to watch a specific port.. and a combination of both. None of it works. The two pages always go to the same server.

    My two address are www.sbmostwanted.com and www.thechosenguild.com.

    Can anyone tell me what I would need to do in apache to have www.thechosenguild.com go to /var/www/html and www.sbmostwanted.com go to /var/www1/html ?

    Thanks for any help you can give,

    Steven Hickerson

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    I've tried setting up each virtual server to watch a specific address.. to watch a specific port.. and a combination of both. None of it works. The two pages always go to the same server.
    How have you set up your httpd.conf file for this? Towards the bottom you'll find your entries for these, post them here.

Posting Permissions

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



Click Here to Expand Forum to Full Width