Mobile app version of vmapp.org
Login or Join
Deb1703797

: Why am I receiving a DNS look-up error when requesting a web page from an AWS Windows server? I installed an aspx website on a AWS EC2 windows server 12 R2 instance. Although the site works

@Deb1703797

Posted in: #AmazonAws #AmazonEc2 #Dns

I installed an aspx website on a AWS EC2 windows server 12 R2 instance. Although the site works on localhost, I receive a DNS look-up failure after Chrome's timeout is reached.

I have opened inbound ports for http and am https and am obviously able to connect to connect using Desktop Connection. The server's firewall is set to accept port 80 (and 334) inbound traffic.

A dnslookup doesn't report any issues. I did see the message: instance-data:http CLOSE_WAIT
but I have tried some many test, I don't remember where the message was issued.

I would guess there is a simple solution, but I am not a Windows Server of networking expert, so I'd welcome any suggestions on how I can resolve this issue.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Deb1703797

1 Comments

Sorted by latest first Latest Oldest Best

 

@Courtney195

It turned out there was an error in the web.config file. By adding:

<httpErrors errorMode="Detailed" />


to the

<system.webServer> section, I was able to pinpoint the problem and resolve it.


Evidently IIS 7.5 ignored the error, while 8.5 did not.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme