I am using Bind 9.0 with RHEL 3.0. I am having a web server running apache and the DNS server is having two zones defined so that www.1.com
points to the same location (my web server). I want to configure things in a way so that when one types www.2.com
in the URL box in the web browser, not only the proper page is served (which is happening now) but the URL box also shows the address as www.1.com/name_of_the_page
instead of the present scenario where we see www.2.com/name_of_the_page
. How this can be achieved? I think something similar can be achieved with mod_rewrite module in Apache. But that looks too difficult to me. Any help please.