Score:0

Domain returns timeout

pk flag

I'm trying to associate a sub-domain that I have on the IP of a server that is running an api on IIS, the server is on AWS lightsail.

On lightsail I set IP to static, this IP I can access the api, but through my sub-domain I can't... DNS is configured on the provider with:

  • A record, targeted sub-domain for IPv4;
  • AAAA record, targeted sub-domain for IPv6.

Still on lightsail I released ports 80 and 443.

The message that appears in the browser is (www2) took too long to respond. ERR_CONNECTION_TIMED_OUT

Images:

  • IIS Binding

inserir a descrição da imagem aqui

  • Domain Provider

inserir a descrição da imagem aqui

  • Chrome (sub-domain)

inserir a descrição da imagem aqui

  • Chrome (Static IP)

inserir a descrição da imagem aqui

in flag
Have you tried using nslookup to see if the IP is actually associated?
Ginnungagap avatar
gu flag
Is the subdomain accessed over HTTP or HTTPS? Is the base domain HSTS enabled with `includeSubdomains`?
LeoHenrique avatar
pk flag
the error was on my internet service provider, I gave the tracert and it started to timeout when I went through the service provider, I called it, I explained to them what I needed and in a few days it was released...
Score:0
jp flag

ERR_CONNECTION_TIMED_OUT indicates this isn't a DNS problem (unless your DNS is pointing at the wrong place).

You will usually get a name not resolved type error if your DNS isn't working.

Nevertheless it isn't a bad idea to do

dig @1.1.1.1 A www2.example.com AAAA www2.example.com

and verify they are pointing at the correct ipv4/6 addresses.

If DNS is pointing to the correct IPs, then this is an issue with firewall or IIS.

You can use nmap to do a quick port scan of your IP and see if ports 80 and 443 are open.

If the ports appear open and the IP is right...then it is likely an IIS or application config issue. For instance...very often in virtual hosting environments, a server may not respond/handle a request if it isn't configured to recognize the hostname.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.