I don't know too much about web whatnots but couldn't this be done through virtualhosts? like say ip/other domains go to nothing or another place, domain.tld/subd.domain.tld goes to the main website?
Or am I mistaken and this circumvents that?
Re:Who owns http://hackerne.ws
by tlrobinson on Saturday August 29, 2009 @03:49AM
(#792954)
Sure, if he wanted to block it completely. Or he could just do the redirect with a simple check of the Host header.
> Of course, the HTTPS pages
What HTTPS pages?
I'm sure that Volida's motives are honest as he stated but this practice - buying a domain name that sounds like something popular and setting the A records to the intended site - has the potential to be used maliciously. All you'd have to do is wait for traffic to grow and then, in time, switch the DNS records to your own site. Of course, the HTTPS pages are going to show certificate problems while your A record is pointing at the original target - but many users will just go ahead and accept bad certificates.
How would a legitimate site owner defend against this sort of thing? Would the solution I described in the top paragraph be effective? Has this ever been done maliciously?