0

I have website domain hosted on GoDaddy and code deployed on AWS elastic beanstalk. I found some other IPs and APIs calls redirect to my website and none of the IPs and APIs used by me i.e. completely unknown. When I open the unknown API it opens my website home page, I think someone did redirection in their domain server host and redirects all calls to my website.

Example of current scenario: - mywebsite-- www.abc.com domain in Godaddy, unknown API/IP -- 122.166.100.2/sdk. When I open 122.166.100.2/sdk this redirect to www.abc.com.

How can I stop/prevent these kinds of scenario? Please help me with this.

Code written in python (django) and server is wsgi

Thanks

  • Is there actually something clearly malicious about this or is it just misguided/strange things that others are doing? You cannot really stop others from redirecting wherever they want, so the question leaves me wondering if what they are doing somehow causes some kind of actual problem for you. If not, it seems like it may be a waste of time and resources to do anything more than to shrug at random people on the internet doing things wrong. – Håkan Lindqvist Aug 30 '20 at 13:52
  • Are you not even running a web server?! apache, nginx, etc? – Michael Hampton Aug 30 '20 at 16:30
  • @MichaelHampton yes it is apache wsgi – ankitbeohar90 Aug 31 '20 at 12:08
  • @HåkanLindqvist yes it is causing the issue because in a particular time unknow hits increase the server resource uses and when I say malicious hits means 1000+ hits per second. – ankitbeohar90 Aug 31 '20 at 12:10
  • 1
    Does this answer your question? [How do I prevent Apache from answering requests for domains I don't host?](https://serverfault.com/questions/444217/how-do-i-prevent-apache-from-answering-requests-for-domains-i-dont-host) – Michael Hampton Aug 31 '20 at 13:04

0 Answers0