Redirecting All Subdomains to Root?

Discussion in 'Apache' started by Woody10, Sep 3, 2009.

  1. #1
    I am checking my stats and everyday there are 100's of hits coming in to subdomains that don't exist. For some reason my root page comes up but all with broken images and it's screwing up a script.

    I would like to redirect all sub domain attempts to my root directory but can't get the code right. Can somebody give me the code?


    Thanks!!!!
     
    Woody10, Sep 3, 2009 IP