Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the (sub)domain, which has a DNS A record that points to, which is correct (checked it with telnet, which indeed returns the right IP). For some reason though, I can't connect with my website via the domain (seems to cause some sort of timeout), while using the IP to access the website just works fine. Pinging to the IP works too, but pining the domain results in timeouts.

Same happens when trying to connect with FTP, so it seems like it is not a web server problem. Could Ubuntu or any kind of firewall be the problem?

Iptables is empty on the server. Trying to access the site via my own PC by adding the appropriate rule to my local hosts works, which really astonishes me.

My specs:

  • Hosting: Amazon EC2
  • OS: Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-36-virtual x86_64)

Any ideas?

share|improve this question
up vote 2 down vote accepted

Your DNS record is returning: instead of

Here is my nslookup output

Non-authoritative answer:
share|improve this answer
Unbelievable I missed that... I might after all be dyslectic. Thanks so much! – Thomas Aug 21 '13 at 16:44

you have a typo in dns setup. the second octal is incorrect, should be 225, not 255 as shown.

$ telnet 80
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .