Forum Moderators: phranque

Message Too Old, No Replies

how to redirect domain to IP adddress BUT.

redirect domain to IP

         

noserver

10:42 am on Mar 3, 2009 (gmt 0)

10+ Year Member



hello,

silly question maybe, dont know if already posting by another, sorry first, btw:

how redirect DOMAIN name to my site at another IP address where my file on it, i already try using DNS but at browser still show up IP address, is possible to redirect not show my IP address ?

maybe htaccess code have something about this

thanks

jdMorgan

4:04 pm on Mar 3, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A redirect, by definition, sends a response to the client (browser or robot) telling it to ask again for the content that it requested, but using a new URL. This terminates the current HTTP transaction, and the client must start a new one, using the URL provided in the server's redirect response.

In doing so, a browser will update its address bar -- an important consideration for user security.

So, by definition, a browser redirect will always result in the new URL being displayed in the address bar.

You may wish to look into setting up a reverse proxy to pass specific requests from your front-end (domain) server to the back-end (IP address) server, and to pass its responses back to the requesting client, but this involves proxy and logging configuration changes, and is not "simple." See Apache mod_proxy (reverse proxy) and mod_log_config.

Jim