Forum Moderators: phranque
The requirement is, after the redirect, the address bar should display xyz.poi.com instead of the original xyz.abc.com.
Can any one help me with this.
The browser will then (usually) issue a new HTTP request, using the address provided by the previous server redirect response. In doing so, it updates the address bar to show the URL that it is using.
So, the URL appearing in the browser address bar is controlled by the client (browser), not by the server.
For an alternative, look into using an alias, an internal rewrite, or a reverse proxy request instead of using a redirect. See Apache aod_alias, mod_rewrite, and mod_proxy.
Jim