1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

URL masking / Stealth Redirection

Discussion in 'General Discussion' started by crazyaboutlinux, Oct 1, 2010.

  1. crazyaboutlinux

    Joined:
    Nov 3, 2007
    Messages:
    930
    Likes Received:
    0
    Trophy Points:
    16
    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
    For eg If your website is hosted at http://www.megrihost.com/Virtual_Pr...ps_servers.html. You choose to forward it to
    "http://www.megrisoft.com/services/ ...private_server/ . Then if you enable URL Masking, your visitors will never see http://www.megrihost.com/Virtual_Pr...ps_servers.html as a URL in their browser address bar."


    I've redirected from cPanel redirection but it shows destination url in address bar not Source URL.. & I do not want that please find below redirection rule for the same.

    Code:
    RewriteEngine on
    
    RewriteCond %{HTTP_HOST} ^testdomains.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.testdomains.com$
    RewriteRule ^(.*)$ "http\:\/\/www\.example\.com\/Test Domains$1" [R=301,L]

    i have hosted testdomains.com on our server & i wan to redirect to http://example.com/Test Domains/

    however URL in browser address bar should be source URL is www.testdomains.com


    Exactly i want to do this thing how can i ?
     
    #1 crazyaboutlinux, Oct 1, 2010
    Last edited: Oct 1, 2010
  2. crazyaboutlinux

    Joined:
    Nov 3, 2007
    Messages:
    930
    Likes Received:
    0
    Trophy Points:
    16
    URL Masking / Stealth Redirection / URL Hiding

    let me explain more about URL Masking / Stealth Redirection / URL Hiding

    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.

    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.

    after domain forwarding IP address for this domain would be changed like testdomains.com ip is 89.7x.xxx.xx

    We can't use MX on server 'A' any idea guys ?

    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.

     
    #2 crazyaboutlinux, Oct 5, 2010
    Last edited: Oct 5, 2010
  3. crazyaboutlinux

    Joined:
    Nov 3, 2007
    Messages:
    930
    Likes Received:
    0
    Trophy Points:
    16
    issue fixed

    I've fixed this issue.

    cheers!
     
  4. JeffP.

    JeffP. Member

    Joined:
    Sep 28, 2010
    Messages:
    164
    Likes Received:
    4
    Trophy Points:
    18
    Hi Nilesh,

    Can you please share what the fix was? It may help others who are seeking the same info.

    I'm glad to hear that you were able to get everything working.
     
  5. crazyaboutlinux

    Joined:
    Nov 3, 2007
    Messages:
    930
    Likes Received:
    0
    Trophy Points:
    16
    Hi Jeff,

    Sorry for the late update i am just filling Good from my Bad Injury.

    Fixes
     

Share This Page