000webhost domain help

Discussion in 'Black Hat SEO' started by LukeSzmig, Nov 17, 2012.

  1. LukeSzmig

    LukeSzmig Regular Member

    Joined:
    Sep 21, 2012
    Messages:
    203
    Likes Received:
    398
    Location:
    Planet Earth
    Hi when i go to my website www.example.com it works fine, but if i go to it with out the www in front i get http://error404.000webhost.com/and when cpanel and click my website link on the right side it does the same error any one know why this happens?



     
  2. pathart

    pathart Senior Member

    Joined:
    Dec 18, 2009
    Messages:
    867
    Likes Received:
    662
    Location:
    Ireland
    Don't have much experience with 000webhost, but could you add a .htaccess file with a 301 redirect from example.com to www.example.com?
     
    • Thanks Thanks x 1
  3. LukeSzmig

    LukeSzmig Regular Member

    Joined:
    Sep 21, 2012
    Messages:
    203
    Likes Received:
    398
    Location:
    Planet Earth
    Thanks never thought of that just done it now, and it worked cheers for that pal
     
  4. mickyfu

    mickyfu Jr. VIP Jr. VIP

    Joined:
    Dec 14, 2011
    Messages:
    8,649
    Likes Received:
    24,598
    Occupation:
    King Of Crypto C
    Location:
    Solihull Young Offenders
    If you like your website I would do yourself a big favor and move it from 000webhost.
     
  5. procurar

    procurar Newbie

    Joined:
    Jul 28, 2010
    Messages:
    14
    Likes Received:
    1
    .htaccess RewriteRule works for me.
     
  6. procurar

    procurar Newbie

    Joined:
    Jul 28, 2010
    Messages:
    14
    Likes Received:
    1
    Way you said that? I'm using ipage now, but I've used 000webhost and it works fine for small websites.