rAmfu 0 Report post Posted October 23, 2019 (edited) 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 Edited October 23, 2019 by rAmfu Share this post Link to post Share on other sites
FlashT 299 Report post Posted October 25, 2019 (edited) DNSy są ok, domena wskazuje na ten sam serwer z www i bez. Lepiej pokaż konfigurację vhostów, bo tam coś masz prawdopodobnie nie-tak. EDIT: W sumie to działa normalnie www.nokidzz.pl i nokidzz.pl wskazuje na to samo, więc jednak nie rozumiem problemu. Edited October 25, 2019 by FlashT Share this post Link to post Share on other sites
rAmfu 0 Report post Posted October 28, 2019 Naprawiłem, problemem był certyfikat SSL. Źle wygenerowany i użyty dla 3 sub domen stąd walidacja z gpanel na wszystkich vhostach. Share this post Link to post Share on other sites