Rogers hijacking failed DNS lookups

If you are a Rogers Internet subscriber and you try to reach a non-existent URL (e.g. http://asdfzxcv.google.com), you will be redirected to a Rogers search page displaying ads.

Look here, and here for more info.

So if I were a domain owner and someone enters “ww.mydomain.com” instead of “www.mydomain”, I’d be pretty upset if the user’s ISP redirected them to one of its pages.

The solution is actually fairly simple:  make every conceivable subdomain valid on your domain.  So, http://asdf.thevincefiles.net is just as valid as http://showmethemoney.thevincefiles.net.  There may not be sites there, but at least it’s my server you’re hitting and my IIS6 “under construction” page that you’re seeing.  So, in the future, I’ll have the option of setting up multiple sites under my domain:

  • http://gallery.thevincefiles.net (my gallery)
  • http://sp.thevincefiles.net (my test SharePoint site using Windows Authentication)
  • http://sp2.thevincefiles.net (extends “sp” using Forms-based Authentication)

All you have to do is add a wildcard entry to your nameserver:

wildcard_dns
 
 

wildcard_dns

This basically tells my DNS server (ZoneEdit.com) to redirect all .thevincefiles.net requests to my server at 24.87.52.208.  I then set up the host headers on my webserver to serve different sites depending on the subdomain.
Simple.

No related posts. Try these:

Leave a Reply