Provided by website-hit-counters.com site. |
I want to do URL Masking means that the visitors to the domain name will be forwarded to destination website, however the URL in their browser address bar will remain the same. Also known as Stealth Redirection or URL Hiding, this will ensure that your visitors see the orignal domain name and not the destination URL. Both domains hosted on different server.
testdomains.com is hosted on server "A" IP is 65.9x.xx.xxx And i want to redirect this domain server "B" www.example.com/Test Domains/
testdomains.com is hosted on server "A" IP is 65.9x.xx.xxx And i want to redirect this domain server "B" www.example.com/Test Domains/
which is different server.
How does URL Masking work?
In case of URL Masking the Domain Forwarding server sends the client a Frames page where the Frame Source contains the destination URL you have specified. This ensures that the URL in the address bar of the browser does not change though the client sees the destination page.
Enabling URL masking will ensure that your visitors see the source URL and not the destination URL.
Solutions : it can be done from Domain Control Panel. its called domain forwarding. i have done for other client & it works , but this case is very strange, this client is also want to use Mail Service, so if i use domain forwarding from domain control panel, then IP address would be changed. After domain forwarding IP address for this domain would be changed like testdomains.com ip is 89.7x.xxx.xx.
Now Login to your Domain Control Panel & Click on domain Forwarding.
Thanks for your article it helps me a lot it is exceptional and i got what i was looking for i hope i may get help from this site in future great job guys….
ReplyDeletedomain and hosting services india
but thats it we want to be able to use cpanel to do all this
ReplyDeletenot use an outside source
no thanks i'll pass
You can use the following code in your .htaccess file in order to achieve the same using your cPanel.
ReplyDelete---
RewriteEngine on
RewriteCond %{HTTP_HOST} ^testdomains.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.testdomains.com$
RewriteRule ^(.*)$ "http\:\/\/www\.example\.com\/Test Domains$1" [P,L]
---
This is the .htaccess code for stealth redirection or URL masking.
Please comment on my facebook wall if this fixed the issue.
Facebook URL: https://www.facebook.com/mishraneilabh
It has been around a decade now. I have tested your solution. But its shaowing the error page.
DeleteReally even after 10 years, I am finding this relavant.
This is the power of Internet !!!