httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Sadowski <jeff.sadow...@gmail.com>
Subject Re: [users@httpd] Is it possible to configure two subdomains for an IP address?
Date Thu, 19 Mar 2009 05:52:48 GMT
On Wed, Mar 18, 2009 at 11:15 PM, Rex C. Eastbourne
<rex.eastbourne@gmail.com> wrote:
> On Wed, Mar 18, 2009 at 8:31 AM, André Warnier <aw@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
>> http://hostname.x.y.z/something/something-else.html
>> the first thing the browser does is try to resolve the hostname
>> "hostname.x.y.z" into an IP address.
>> For that to work, there must be an entry somewhere in your local "hosts"
>> file, or in a DNS server known to your workstation, that can "translate" the
>> name "hostname.x.y.z" into an IP address.
>> If that does not work, then your browser will tell you "host not found",
>> before even trying to send a HTTP request to that host.
>>
>> Your webserver, no matter what is its configuration, will only get
>> involved once it receives the browser request.
>> According to your symptoms, that does not seem to be the case yet.
>
>
> 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 name. What I was
> wondering is whether it's possible to navigate to a "subdomain" of an IP
> address, so that "testing.173.23.45.67" and "production.173.23.45.67" would
> be an actual valid websites. However, I am starting to get the feeling that
> this might not be possible. I'll ask the owner of my Slicehost VPS to buy us
> a domain name so that I can have "testing.mysite.com", etc. Hopefully that
> will make this configuration easier.
>
> Rex

It is entirely possible I do it all the time it sounds like you are
having dns issues now.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message