Domain Masking

Discussion in 'Site & Server Administration' started by designventures, Oct 29, 2010.

  1. #1
    Hi
    Can anyone help me on this:
    I have a website example.com and wish to forward it to www.abc.com/def

    My question is, how can I forward it such way that the new domain abc.com remains masked. I want visitors to see www.example.com as the domain although its forwarded to other domain.

    Is it possible, if someone can brief me in detail the exact procedure
     
    designventures, Oct 29, 2010 IP
  2. lazcorp

    lazcorp Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, you can use mod_rewrite + mod_proxy.
     
    lazcorp, Nov 6, 2010 IP
  3. DN48

    DN48 Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Right, or he could use a frame.
     
    DN48, Nov 11, 2010 IP
  4. designventures

    designventures Active Member

    Messages:
    251
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #4
    Can you explain the procedure?
    mod_rewrite + mod_proxy.

    or any other simple solution
     
    designventures, Nov 11, 2010 IP
  5. lazcorp

    lazcorp Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    on the example.com add this lines to .access file:

    RewriteEngine on
    RewriteBase /
    RewriteRule ^(.*) www.abc.com/def/$1 [P,L]
     
    lazcorp, Nov 11, 2010 IP
  6. desperateboy

    desperateboy Peon

    Messages:
    610
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    this possible through .htaccess as mentioned above.
     
    desperateboy, Nov 12, 2010 IP
  7. aassociatehit

    aassociatehit Well-Known Member

    Messages:
    1,778
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    140
    #7
    thats what he mean, its .htaccess you have to put those lines
     
    aassociatehit, Nov 12, 2010 IP