I am attempting to access www.fallenlondon.com by its IP address. However, both
22.214.171.124 give a Server Error : 404.
I get the same problem if I do
ssh -L *:8080:www.fallenlondon.com:80 me@myremotehost and then navigate to
localhost:8080 (this works fine for Google and a couple of other random sites I tried).
Could someone please explain what is going on here? A solution would also be much appreciated.
Edit: As per Kyle Jones' answer, apparently this is caused by not including the (desired) domain name info in HTTP host header as needed by the server to disambiguate and give me the result I want.
Is there some way I can make sure that the header contains what I want it to in both use cases?
nslookup www.fallenlondon.com Server: 127.0.0.1 Address: 127.0.0.1#53 Non-authoritative answer: www.fallenlondon.com canonical name = ebz-2-1147703023.eu-west-1.elb.amazonaws.com. Name: ebz-2-1147703023.eu-west-1.elb.amazonaws.com Address: 126.96.36.199
host www.fallenlondon.com www.fallenlondon.com is an alias for ebz-2-1147703023.eu-west-1.elb.amazonaws.com. ebz-2-1147703023.eu-west-1.elb.amazonaws.com has address 188.8.131.52 host fallenlondon.com fallenlondon.com has address 184.108.40.206 fallenlondon.com mail is handled by 30 aspmx3.googlemail.com. fallenlondon.com mail is handled by 10 aspmx.l.google.com. fallenlondon.com mail is handled by 20 alt1.aspmx.l.google.com. fallenlondon.com mail is handled by 20 alt2.aspmx.l.google.com. fallenlondon.com mail is handled by 30 aspmx2.googlemail.com.