Привет я не вижу, что мой веб-сайт использует IP адрес

Я владел vps для тестирования, и я установил apache2, но когда я пытаюсь посетить свой сайт в браузере, я получаю эту ошибку

Я посетил несколько ссылок, таким образом, я проверил вещи как то, если мой apache2 выполняет использование: sudo systemctl status apache2 и я получил это сообщение:

apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset:
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: active (running) since Wed 2020-01-08 09:41:18 -03; 11min ago
  Process: 1599 ExecStop=/usr/sbin/apachectl stop (code=exited, status=0/SUCCESS
  Process: 1642 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCE
 Main PID: 1652 (apache2)
    Tasks: 55 (limit: 4606)
   CGroup: /system.slice/apache2.service
           ├─1652 /usr/sbin/apache2 -k start
           ├─1654 /usr/sbin/apache2 -k start
           └─1656 /usr/sbin/apache2 -k start

Jan 08 09:41:18 cercal.vhn.cl systemd[1]: Starting The Apache HTTP Server...
Jan 08 09:41:18 cercal.vhn.cl systemd[1]: Started The Apache HTTP Server.

Также я проверил свое состояние UFW и:

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW       Anywhere
20/tcp                     ALLOW       Anywhere
21/tcp                     ALLOW       Anywhere
990/tcp                    ALLOW       Anywhere
40000:50000/tcp            ALLOW       Anywhere
Apache Full                ALLOW       Anywhere
56556                      ALLOW       Anywhere
80/tcp                     ALLOW       Anywhere
443/tcp                    ALLOW       Anywhere
80/tcp (v6)                ALLOW       Anywhere (v6)
443/tcp (v6)               ALLOW       Anywhere (v6)

Я проверил также свой ports.conf:

sudo nano /etc/apache2/ports.conf

И получил это:

# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf

Listen 80

<IfModule ssl_module>
        Listen 443
</IfModule>

<IfModule mod_gnutls.c>
        Listen 443
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

Также проверяя мой с 000 значениями по умолчанию я получил это:

<VirtualHost *:80>
        # The ServerName directive sets the request scheme, hostname and port t$
        # the server uses to identify itself. This is used when creating
        # redirection URLs. In the context of virtual hosts, the ServerName
        # specifies what hostname must appear in the request's Host: header to
        # match this virtual host. For the default virtual host (this file) this
        # value is not decisive as it is used as a last resort host regardless.
        # However, you must set it for any further virtual host explicitly.
        #ServerName www.example.com

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html


Так, по-видимому, все, кажется, в порядке, я не знаю то, что я пропускаю, чтобы заставить эту вещь работать, какое-либо предложение или справка?

0
задан 8 January 2020 в 16:05

1 ответ

Я нашел свою проблему, я пытался получить доступ как https://my.example.ip.thing вместо http://my.example.ip.thing нет

0
ответ дан 11 January 2020 в 09:41

Другие вопросы по тегам:

Похожие вопросы: