Apache virtual server configurations?

Discussion in 'Installation/Configuration' started by Boothkicker, Nov 24, 2006.

Thread Status:
Not open for further replies.
  1. Boothkicker

    Boothkicker New Member

    Here is my problem.

    I am running a Debian Linux server (used perfect debian install howto) and apache web server. I have 2 web sites that I am serving.
    1: www.boothkicker.com and
    2. www.bristleridgeacademy.com

    boothkicker.com is my primary page and the first one I set up. When I go to the site with a web browser "www.boothkicker.com" appears in url box. But when i go to "www.bristleridgeacademy.com" the ip address and the folder for web page is shown in url box. How can I fix this so that when the page is visited, "www.bristleridgeacademy.com" is shown?

    In /etc/apache2/sites-enabled/000-default I have the following:

    <VirtualHost *>
    ServerName boothkicker.com
    ServerAdmin [email protected]
    #Local address no port
    DocumentRoot /home/cody/public_html
    #directory to launch from
    ServerName www.boothkicker.com
    #www.servername.com
    </VirtualHost>


    <VirtualHost *>
    ServerName bristleridgeacademy.com
    DocumentRoot /home/dak/public_html
    ServerName www.bristleridgeacademy.com
    </VirtualHost>

    Thank you for any help!!!
     
  2. falko

    falko Super Moderator Howtoforge Staff

Thread Status:
Not open for further replies.

Share This Page