J
J
Jake Badland2022-03-28 14:57:13
Apache HTTP Server
Jake Badland, 2022-03-28 14:57:13

Why is apache not responding to a domain name?

Good day)

The situation is as follows:
The site is on a virtual machine in Google Cloud. IP is virtual.
The domain was transferred to google domains.

The site is pinged from outside both by IP and by domain, nslookup returns a normal IP.
Locally, the site is opened by domain name and by IP.
It opens from outside by IP, by domain name - ERR_CONNECTION_TIMED_OUT.
It is also curious that you can telnet to the 80th.

I just can't figure out what needs to be done to open it. And in general, is this a problem in apache itself, or is there something wrong with the virtual machine?

What else to attach to clarify the situation?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Jake Badland, 2022-03-28
@JakeBadland

In general, *.app zone domains require https with a certificate.

H
hint000, 2022-03-28
@hint000

Tested your site. The problem is that browsers (Firefox, Chromium) don't want to use http and force it to use https, and you don't have it. At the same time, by IP address http is possible.
Through curl, your site normally responds by name. If you find some old versions of browsers, then it should work there too.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question