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

[?]HowTo Redirect craprandomtext.domain.com to domain.com?

Discussion in 'General Scripting Chat' started by sendlerad, Nov 26, 2009.

  1. sendlerad

    sendlerad Regular Member

    Joined:
    Sep 5, 2007
    Messages:
    309
    Likes Received:
    53
    Hello,

    So i have spend about 2 hours looking for solution for my hostgator account, i want to redirect all 404 pages and 404 subdomains form specific domain to index.php

    Exaples:

    www.fuckshitblabla.mydomain.com goes to www.fuckshitblabla.mydomain.com
    even if that company mydomain.com obviously haven't made actually subdomain named - ''fuckshitblabla''

    same for

    www.lickmyballs.www.com goes to www.com , they also use some htaccess apache etc. trick,.

    So how this kind a redirects can be made?

    thanks,
     
  2. shadowguy

    shadowguy Junior Member

    Joined:
    Nov 25, 2009
    Messages:
    125
    Likes Received:
    180
    what you need is "wildcard dns", not sure if hostgator offers it