Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 10C3C109F0 for ; Wed, 12 Feb 2014 10:59:27 +0000 (UTC) Received: (qmail 28112 invoked by uid 500); 12 Feb 2014 10:59:24 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 27493 invoked by uid 500); 12 Feb 2014 10:59:14 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 27474 invoked by uid 99); 12 Feb 2014 10:59:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 10:59:12 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tevans.uk@googlemail.com designates 209.85.217.170 as permitted sender) Received: from [209.85.217.170] (HELO mail-lb0-f170.google.com) (209.85.217.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 10:59:08 +0000 Received: by mail-lb0-f170.google.com with SMTP id u14so6946957lbd.15 for ; Wed, 12 Feb 2014 02:58:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WTWnhuLOJQLaUnmp/janaHcVWNH0ekW7EBcPvDyyFGg=; b=lMSHN/L8hfJN20cnUjF7wyC77iJc8S8XwDN6Q6QmbT3b9XI2u6Qb3wj4rhFL7ga7D5 hsuftW4cl2JuU7THDKa20P5ODKjH3gCCLjALB6i5adB4KlAyEx8QhZQoiKNegEIfD91q H+GO6uqVXJsRlXusk+45LyulGRr+3IFIjYLEJ6HgatuWT+IJoWiRsmOOxAZom5/VGzb0 z63FkqGQlDc20yk8nwNSYleZ5URgNecsLA6SylFkOdWcwACfiJ5a9rKZpAJQpaOsljoI HwKahFjlZ1Qn2nndUxMd4pjQztDIc6iPCCAhKNLFuguk1q031Q6NqBAwS77B4iFJ9i3d dxlQ== MIME-Version: 1.0 X-Received: by 10.112.201.164 with SMTP id kb4mr13998009lbc.32.1392202726977; Wed, 12 Feb 2014 02:58:46 -0800 (PST) Received: by 10.112.0.205 with HTTP; Wed, 12 Feb 2014 02:58:46 -0800 (PST) In-Reply-To: <52F9518B.30509@calpoly.edu> References: <52F9518B.30509@calpoly.edu> Date: Wed, 12 Feb 2014 10:58:46 +0000 Message-ID: From: Tom Evans To: users@httpd.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Virtual Host Not Working On Mon, Feb 10, 2014 at 10:24 PM, Jim Borland wrote: > My server, which is located in the Amazon cloud, was just moved to a new > location with a new IP address. Nothing else was changed. However, the > Apache Virtual Host, which has worked flawlessly for several years, is > broken. Apache server version is: Apache/2.2.16 (Ubuntu). > > I went to my DNS host and changed the names to point to the new IP address. > But now, when I go to the hostname in my browser I end up at the default > site instead of the one specified for the virtual host. Here is my config > file (httpd-vhosts.conf). > > ================================ > Simplify your config: > NameVirtualHost *:80 > > > ServerAdmin jborland77@gmail.com > ServerName ec2-75-101-136-229.compute-1.amazonaws.com > DocumentRoot "/var/www" > > > > Order allow,deny > Allow from all > > > > ServerName atascaderoband.org > ServerAlias www.atascaderoband.org > DocumentRoot "/home/jim/atasband" > > > > ServerName www.slocountyband.org > ServerAlias slocountyband.org > DocumentRoot "/home/jim/band" > > Work now? Cheers Tom --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org