Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Address Bar

Status
Not open for further replies.

brisray

Programmer
Feb 7, 2002
88
US
My domain is registered as brisray.com. I registered it through GoDaddy. I use their domain forwarding to send visitors to my own server (Apache 1.3) People visiting my site see the IP address (currently in the address bar.

Their domain masking service acts the same way as frames do - the original page is always in the address bar, and doesn't change when the visitors go to a new page.

What I'd like to do is to put in the address bar as well as the current page they are looking at ie instead of
Is it possible to do this using an entry in the configuraton file?

I don't mind showing the IP address it's just that it changes occasionally which creates problems for people who bookmark the pages. So if there is another solution for bookmarks that will do as well.

Ray
 
I don't think there's anything you can do about it.

GoDaddy's web server is redirecting traffic to your server by using the "Location:" header. Here's my interaction with their server:

Code:
telnet [URL unfurl="true"]www.brisray.com[/URL] 80
Trying 64.202.167.129...
Connected to [URL unfurl="true"]www.brisray.com.[/URL]
Escape character is '^]'.
GET /optill/oind.htm HTTP/1.1
Host: [URL unfurl="true"]www.brisray.com[/URL]

HTTP/1.1 302 Found
Date: Wed, 28 Apr 2004 21:55:59 GMT
Server: Apache/1.3.29 (Unix) mod_pointer/0.8 PHP/4.3.2
X-Redirected-By: mod_pointer - [URL unfurl="true"]http://stderr.net/mod_pointer/[/URL]
Location: [URL unfurl="true"]http://4.33.40.118/optill/oind.htm[/URL]
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

129
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>302 Found</TITLE>
</HEAD><BODY>
<H1>Found</H1>
The document has moved <A HREF="[URL unfurl="true"]http://4.33.40.118/optill/oind.htm">here</A>.<P>[/URL]
<HR>
<ADDRESS>Apache/1.3.29 Server at parkweb06.secureserver.net Port 80</ADDRESS>
</BODY></HTML>

0

Connection closed by foreign host.


Once the browser has that IP address, that's pretty much it.

Another solution might be to use a dynamic DNS service, like DynDNS, which uses a client on your web box to automatically update the DNS entry for your site when DHCP changes your address.



Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Thanks, I've just signed up for a dynamic DNS service.

Ray
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top