Help masking subdomain

Discussion in 'Free Hosting' started by weex10h2, Jul 11, 2018.

  1. weex10h2

    weex10h2 New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I am trying to mask wee.x10host.com so that visitors only see the womenempoweringeachother.org. Can someone direct me as to how this is done?
     
  2. lylex10h

    lylex10h Active Member

    Messages:
    821
    Likes Received:
    56
    Trophy Points:
    28
    Create a .htaccess file in the directory for domain (probably public_html) with the following:
    Code:
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^wee.x10host.com$
    RewriteRule ^(.*)$ http://womenempoweringeachother.org/$1 [R=301,L]
     

Share This Page