**the things i want to achieve:
**Here is what I am trying to accomplish: When one navigates to My_URL1.com it goes to My_URL2.com
well - i think itโs possible to forward the domain name without change in the address bar . It is called โMaskedโ Forwarding. This type of forwarding is used to forward my domain to another website, while keeping my domain or subdomain name in the web browserโs address bar.
The real address does not appear at all.
**in detail: **Masked domain forwarding โ allows you to redirect the domain name to another web site, but conceal the web address of the destination web site.
In standard forwarding, visitors will not see the original domain name they clicked or typed in the address box at the top of their browsers when they reach the destination site; the destination domain will be displayed. With masked forwarding, the visitors will see the original domain name when they reach the destination.
We can use masked domain forwarding when you want to hide a web address that may not be user-friendly, such as Widget (UK) Ltd.
**again: **Here is what I am trying to accomplish: When one navigates to My_URL1.com it goes to My_URL2.com
Now, what I would like to see in the address bar is the My_URL1.com - As well, as I navigate through the site, I would like to continue to see My_URL1.com as the host
i.e.
My_URL1.com
redirects to
My_URL2.com
**note: **all is on my own server: my friend does configure the nameserver and all the stuff is on my root-server.
so i will digg deeper into the techniques of Masked forwarding..
one lastquestion: Should i use .htaccess on my own server and rewrite from MyURL.com: The Leading Domain Names Site on the Net so that the to spell it out in other words: can URL masking/forwarding/redirecting done with
a. With a RedirectRule in the .htaccess file:
example - Redirect from www.My_URL1.com/link to www.My_URL2.com/link:
RewriteEngine On
RewriteCond %{HTTP_HOST} !www.My_URL1.com/link$ [NC]
RewriteRule ^(.*)$ http://www.My_URL2.com/link/$1 [L,R=301]
to achieve it in Apache.
