Sub Domain 404 error handling

Discussion in 'Site & Server Administration' started by scifin, Apr 30, 2008.

  1. #1
    Is there a way I can set up redirects for all unsused subdomains to a 404 style page?

    if someone goes to www.mydomain.com/emptyfolder/ they are redirected to my 404 page.
    What if someone goes to emptyfolder.mydomain.com/? or ww.blahblah or wwww.blahblah
    I want to catch this typo typin traffic.
    Can it be done?

    If so HOW?

    Thanks
     
    scifin, Apr 30, 2008 IP