Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    1

    Default How to Redirect without browser address changing ?

    i'm new to cpanel, having just been transferred to it by my hosting service.

    i have two domain names and used to pay the host to redirect one address to a site hosted on the webspace attached to my other domain. this always worked fine & on redirection, the address bar in the browser still showed the original domain name (not the actual domain name where the page was really located.)

    now i'm on cpanel, is it possible for me to set this up myself ?

    i have tried setting up the domain that needs to be redirected as either an addon or parked domain, but when i set up a redirection it always updates the browser address to the actual location.

    my web host suggested adding
    RewriteEngine on RewriteRule ^(.*)\.html $1\.php
    to the .htaccess file in my public_html folder
    but this doesn't seem to have done anything.

    since i'm not so technical, and in case i haven't explained it too well, then maybe this is clearer ... (these addresses used for example only)

    i need to redirect www.asite.com to www.bsite.com/a
    but i want www.asite.com to stay in the address bar of the browser of anyone that visits that page.

    thanks for any help you can offer. be gentle, it's my first time.

    mark

  2. #2
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    You will require the URL masking. For that you will need to contact your domain registrar to set the URL masking while forwarding your domain.

Similar Threads & Tags
Similar threads

  1. Make apache redirect ip address to domain
    By eggbert in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-11-2011, 12:37 PM
  2. shared ip address redirect to the 1st account domain!
    By egycode in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-13-2010, 05:46 PM
  3. URL redirection without changing the address in the address bar
    By nitaish in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-02-2007, 02:15 AM
  4. redirect to another domain without the url changing
    By SetLar8 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-20-2007, 12:01 PM
  5. Changing Sites IP Address
    By purplepaws in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-19-2002, 06:42 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube