L
L
Lenskii2021-04-24 21:26:48
Apache HTTP Server
Lenskii, 2021-04-24 21:26:48

Error 502, again, why?

Hello. Yesterday, with grief, I dealt with Apache in half, I was able to launch the first site not on a hosting, but on a wdsk !!
And today, having started doing the second one, I’m sitting for the second hour with Google in my sleeve and I can’t understand what I’m doing wrong?
Please explain in a language understandable for a beginner)

sites-enabled:

infinityworld.ru.conf

<VirtualHost *:80>
ServerAdmin [email protected]
ServerName infinityworld.ru
ServerAlias www.infinityworld.ru
DocumentRoot /var/www/infinityworld/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>


forum.infinityworld.ru.conf
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName forum.infinityworld.ru
ServerAlias www.forum.infinityworld.ru
DocumentRoot /var/www/forum.infinityworld/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>


result:
infinityworld.ru - working
forum.infinityworld.ru - 502

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2021-04-24
@ky0

502 is an internal server error. Smoke logs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question