Over the last six months I have been seeing thousands of hits against non-existant, bad URLs under my company's domain (.NET CMS site running on Windows 2012 R2). For example, the correct friendly URL for a real page on our site will be "https://example.com/foldername1/foldername2". However, in analytics, I will see thousands of hits against "https://example.com/foldername1/foldername2/example.com", a malformed URL showing two top level domains.
Google Analytics doesn't appear to provide any info as to where these bad hits are originating from.
Because there is a duplicate TLD in the URL, I can't set up an alias in my CMS to catch and redirect these bad links.
I have tried setting up a rule in IIS8 URL rewriting to catch the bad traffic, but it doesn't seem to accept the duplicate TLDs either.
Is there any known way to catch and redirect bad traffic like this? Thank you for any advice.