I've tried $wgRottenLinksExcludeWebsites = [ "http://www.example.com" ]; but it still checks web pages on that site. Thanks.
Topic on Extension talk:RottenLinks
Just checked the code and the answer is to use $wgRottenLinksExcludeWebsites = [ "www.example.com" ];
I'll edit the wiki page accordingly. Thanks.