Thursday, October 14, 2010

URL Masking / Stealth Redirection / URL Hiding

website-hit-counters.com
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/
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.
Now Redirect your domain.


Now Go back to your Domain Control Panel Home Page & click on Manage DNS.


Now Click on A Record (Address Entry).


Now Click on Add MX Record.


Now Verify your DNS records.


Now your are done!

You will need to allow a 2-4 hour propagation time 
for the DNS service to begin working.

4 comments:

  1. 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….
    domain and hosting services india

    ReplyDelete
  2. but thats it we want to be able to use cpanel to do all this

    not use an outside source

    no thanks i'll pass

    ReplyDelete
  3. You can use the following code in your .htaccess file in order to achieve the same using your cPanel.

    ---
    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

    ReplyDelete
    Replies
    1. It has been around a decade now. I have tested your solution. But its shaowing the error page.

      Really even after 10 years, I am finding this relavant.
      This is the power of Internet !!!

      Delete