Apache Server configuration support - Browser shows dotted quad rather than FQDN

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > February 2006 > Browser shows dotted quad rather than FQDN





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Browser shows dotted quad rather than FQDN
I Need Help

2006-02-22, 2:49 am

Apache 2

Browsers show dotted quad address of forwarded IP rather than FQDN
entered by surfer. I'm using GoDaddy's domain forwarding (which may
be the problem - I'm hoping that I can work around that).

For example, when an internet user types in:

http://www.mydomainname.com

GoDaddy dutifully forwards it to my static (unpublished) DSL IP, let's
assume that is 132.132.132.132 (it isn't).

When the attempt to access www.mydomainname.com is forwarded to
132.132.132.132 Apache dutifully serves up the DirectoryIndex file
(index.html in this case).

The browser at the user's end doesn't show:

http://www.mydomainname.com/index.html or
http://www.mydomainname.com/

I would prefer the second one, if possible.

Instead, it shows:

http://132.132.132.132/index.html

Worse, all links show in the status bar as:

http://132.132.132.132/<relativelinkinformation>

Is there a configuration that will let Apache communicate to the
browser to echo what it originally used as the address (the FQDN) for
the root when displaying in both the address bar and the status bar?

Telnetting in to Apache with:

Get/HTTP/1.1<enter>
Host: www.mydomainname.com<enter>
<enter>

shows me that GoDaddy is using a simple HTML page with the following:

HTTP/1.1 200 OK
Date: Wed. 22 Feb 2006 05:24:27 GMT
Server: Apache/1.3.34 (Unix) mod_pointer/0.8 PHP/4.4.1
X-Powered-By: PHP/4.4.1
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
d2
<html>
<head>
<tltle>mydomainname.com</title>
</head>
<frameset rows="100%,*" border="0">
<frame src="http://132.132.132.132" frameborder="0">
<fram frameborder="0" noresize>
</frameset>
</html>

I have tried innumerable combinations of Virtual Host options, along
with setting up my etc/hosts/ file with:

192.168.1.200 www.mydomainname.com

Alas, I haven't found the right combination, yet.

Thanks, because

I Need Help

Robert Ionescu

2006-02-22, 7:50 am

I Need Help wrote:
> Telnetting in to Apache with:

[...]
> <frame src="http://132.132.132.132" frameborder="0">


This is not an Apache related problem, as you can see here the IP is
referenced. The browser starts now a GET Request of / with Host
132.132.132.132. So your Apache receives a request on IP basis but not
the fqdn.

> GoDaddy dutifully forwards it to my static (unpublished) DSL IP, let's


Actually, it is published visibly in the frameset. You'll need something
like dynamical DNS rather than a generated frameset showing up the IP.

http://www.dyndns.com/services/dns/custom/

--
Robert
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com