Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-19 Thread Krist van Besien
On Thu, Mar 19, 2009 at 6:52 AM, Jeff Sadowski jeff.sadow...@gmail.com wrote: On Wed, Mar 18, 2009 at 11:15 PM, Rex C. Eastbourne Thanks for the replies. I am working on a Slicehost server with a static IP address; it looks something like 173.23.45.67. I'm able to navigate to this IP address

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-19 Thread Krist van Besien
On Thu, Mar 19, 2009 at 6:15 AM, Rex C. Eastbourne rex.eastbou...@gmail.com wrote: Thanks for the replies. I am working on a Slicehost server with a static IP address; it looks something like 173.23.45.67. I'm able to navigate to this IP address from any computer as if it were any other domain

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-19 Thread Jeff Sadowski
On Thu, Mar 19, 2009 at 12:30 AM, Krist van Besien krist.vanbes...@gmail.com wrote: On Thu, Mar 19, 2009 at 6:15 AM, Rex C. Eastbourne rex.eastbou...@gmail.com wrote: Thanks for the replies. I am working on a Slicehost server with a static IP address; it looks something like 173.23.45.67. I'm

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-19 Thread Jeff Sadowski
ewww god bind even allows it ugly ugly ugly in /etc/bind/named.conf I added a ipaddress as a domain and was able to use it like expected. zone 127.0.0.1 { type master; file /etc/bind/test; }; test.127.0.0.1. IN A 127.0.0.1 and an nslookup worked as expected nslookup

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-18 Thread Rex C. Eastbourne
On Tue, Mar 17, 2009 at 4:12 AM, André Warnier a...@ice-sa.com wrote: Rex C. Eastbourne wrote: [...] So it looks like there is indeed a NameVirtualHost * in another file. What would be the best modification to make now? Delete that line and restart Apache. Then do apache2ctl -S again.

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-18 Thread Krist van Besien
On Wed, Mar 18, 2009 at 7:30 AM, Rex C. Eastbourne rex.eastbou...@gmail.com wrote: Thanks again for the helpful replies. I followed those instructions. Now the error message is gone, and I can go to X.X.X.X (my IP address) and see what's sitting in /var/www/testing. However, going to either of

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-18 Thread André Warnier
Rex C. Eastbourne wrote: [...] A short primer : The Internet in general works with IP addresses, not host names. Host names are for humans. When in the browser of your workstation, you enter a URL like http://hostname.x.y.z/something/something-else.html the first thing the browser does is try

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-18 Thread Rex C. Eastbourne
On Wed, Mar 18, 2009 at 8:31 AM, André Warnier a...@ice-sa.com wrote: Rex C. Eastbourne wrote: [...] A short primer : The Internet in general works with IP addresses, not host names. Host names are for humans. When in the browser of your workstation, you enter a URL like

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-17 Thread Jeff Sadowski
comment the above out On Mon, Mar 16, 2009 at 11:30 PM, Rex C. Eastbourne rex.eastbou...@gmail.com wrote: On Sun, Mar 15, 2009 at 4:03 AM, Krist van Besien krist.vanbes...@gmail.com wrote: On Sun, Mar 15, 2009 at 7:34 AM, Rex C. Eastbourne rex.eastbou...@gmail.com wrote: Hello, I am

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-17 Thread Krist van Besien
On Tue, Mar 17, 2009 at 6:30 AM, Rex C. Eastbourne rex.eastbou...@gmail.com wrote: So it looks like there is indeed a NameVirtualHost * in another file. What would be the best modification to make now? I'm also running (one) apache on Ubuntu. Ubuntu and Debian has a highly customized layout

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-17 Thread André Warnier
Rex C. Eastbourne wrote: [...] So it looks like there is indeed a NameVirtualHost * in another file. What would be the best modification to make now? Delete that line and restart Apache. Then do apache2ctl -S again. - The

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-16 Thread Rex C. Eastbourne
On Sun, Mar 15, 2009 at 4:03 AM, Krist van Besien krist.vanbes...@gmail.com wrote: On Sun, Mar 15, 2009 at 7:34 AM, Rex C. Eastbourne rex.eastbou...@gmail.com wrote: Hello, I am completely new to Apache. I have a static IP address that's being hosted on an Ubuntu server. (I do not own

[us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-15 Thread Rex C. Eastbourne
Hello, I am completely new to Apache. I have a static IP address that's being hosted on an Ubuntu server. (I do not own a domain name yet.) I would like to have two versions of a web app on my IP address (let's call it X.X.X.X): test.X.X.X.X production.X.X.X.X Is this possible with Apache? I

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-15 Thread Glen Barber
On Sun, Mar 15, 2009 at 2:34 AM, Rex C. Eastbourne rex.eastbou...@gmail.com wrote: Hello, I am completely new to Apache. I have a static IP address that's being hosted on an Ubuntu server. (I do not own a domain name yet.) I would like to have two versions of a web app on my IP address (let's

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-15 Thread Krist van Besien
On Sun, Mar 15, 2009 at 7:34 AM, Rex C. Eastbourne rex.eastbou...@gmail.com wrote: Hello, I am completely new to Apache. I have a static IP address that's being hosted on an Ubuntu server. (I do not own a domain name yet.) I would like to have two versions of a web app on my IP address (let's

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-15 Thread Krist van Besien
On Sun, Mar 15, 2009 at 8:57 AM, Glen Barber glen.j.bar...@gmail.com wrote: I believe you are missing the 'ServerAlias' directive. http://httpd.apache.org/docs/2.0/vhosts/name-based.html I don't think that's the problem, as the OP doesn't want one site with two names, but two sites each with

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-15 Thread Eric Covener
On Sun, Mar 15, 2009 at 2:34 AM, Rex C. Eastbourne rex.eastbou...@gmail.com wrote: However, when I do this, I get the following error message: [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results Your

Re: [us...@httpd] Is it possible to configure two subdomains for an IP address?

2009-03-15 Thread André Warnier
Eric Covener wrote: On Sun, Mar 15, 2009 at 2:34 AM, Rex C. Eastbourne rex.eastbou...@gmail.com wrote: However, when I do this, I get the following error message: [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with