Serwer:
Debian 10, apache2, php7.3
Vhosty na serwerze:
www.ramfu.szczecin.pl
gpanel.ramfu.szczecin.pl
status.ramfu.szczecin.pl
www.nokidzz.pl
Zawartość pliku htaccess:
RewriteEngine On
RewriteBase /
#Strony bledow
ErrorDocument 400 /errors/HTTP400.html
ErrorDocument 401 /errors/HTTP401.html
ErrorDocument 403 /errors/HTTP403.html
ErrorDocument 404 /errors/HTTP404.html
ErrorDocument 500 /errors/HTTP500.html
ErrorDocument 501 /errors/HTTP501.html
ErrorDocument 502 /errors/HTTP502.html
ErrorDocument 503 /errors/HTTP503.html
# Protect the htaccess file
<Files .htaccess>
Order Allow,Deny
Deny from all
</Files>
# Disable directory browsing
Options All -Indexes
Konfiguracja strefy DNS:
Problem polega na wejściu na domenę bez przedrostka www odpala wtedy jednego konkretnego vhosta i nie rozumiem dlaczego.
Wchodząc na nokidzz.pl odpala zupełnie innego vhosta i wyświetla stronę gpanel.ramfu.szczecin.pl O.o