Forum Moderators: phranque

Message Too Old, No Replies

about rewriting URL

         

jcmiras

3:34 am on May 15, 2005 (gmt 0)

10+ Year Member



Is it possible to rewrite the URL without really redirecting it to that website? for example i goto www.site1.kom but when i reach that site, the URL displayed will be www.site2.kom WITHOUT redirecting site1 to site2. What i want to display is just a fancy or dummy URL.

jdMorgan

3:57 am on May 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If both sites are actually hosted in the same 'hosting account' then this is done with a server-internal rewrite.

If the sites are actually on different servers, or in different 'accounts' on the same server, you can still do this by using site1's server as a proxy for site2. However, all traffic will have to pass through site1's server, which increases the load on that server. See Apache mod_proxy [httpd.apache.org].

Jim

jcmiras

4:17 am on May 15, 2005 (gmt 0)

10+ Year Member



Actually, both sites are sub-domains. do you think it is possible?