Ubuntu Apache долго отвечает и получает сообщение This site can't be reached
Привет ребята я пытаюсь направить свой домен на сервер 139.5X.X.XXX
Ниже приведена информация о моей DNS записи в Hostinger :-
Type Name Priority Content IP-V4 TTL
A www 0 139.5X.X.XXX 600
A @ 0 139.5X.X.XXX 14400
Теперь я вижу страницу apache по умолчанию при просмотре домена (Сервер, обслуживающий страницу apache по умолчанию (Digital Ocean Ubuntu Droplet)) .
Но после настройки службы Django для домена она слишком долго отвечает и в итоге появляется сообщение "This Site can't be Reached"
Ниже приведен файл conf, который я использую
<VirtualHost *:80>
ServerName tellie.in
ServerAlias www.tellie.in
Redirect permanent / https://tellie.in/
RewriteEngine on
RewriteCond %{SERVER_NAME} =tellie.in [OR]
RewriteCond %{SERVER_NAME} =www.tellie.in
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
<VirtualHost *:443>
ServerAdmin admin@tellie.in
ServerName tellie.in
ServerAlias www.tellie.in
DocumentRoot /home/srv/telli
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
Alias /static /home/srv/telli/telli/static
<Directory /home/srv/telli/telli/static>
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
Alias /media /home/srv/telli/telli/media
<Directory /home/srv/telli/telli/media>
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Directory /home/srv/telli/telli/telli>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
WSGIDaemonProcess telli python-path=/home/srv/telli/telli python-home=/home/srv/telli/venv
WSGIProcessGroup telli
WSGIScriptAlias / /home/srv/telli/telli/telli/wsgi.py
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/tellie.in/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/tellie.in/privkey.pem
</VirtualHost>
Есть ли что-то неправильное, что может вызвать проблему, с которой я столкнулся
Убедитесь, что Apache имеет rx доступ к каталогам под /home/srv/, Лучше переместить код из HOME и в общую точку монтирования как /var или /data