I have an EC2 instance with apache running. The instance has a public IP. If I call the page with the IP es: curl http://xx.xx.xx.xxx I get the right page, index.html. If I call with url: curl http://my.example.com I get
HTTP/1.1 400 Bad Request Your browser sent a request that this server could not understand
my.example.com point to the right IP if I ping it.
I really don't understand what can be wrong.