500 error after change DNS

dns

#1

I changed the nameservers with the one provided by cloudflare and after a few hours i started getting an http 500 error .


#2

That error comes from your server. Check your server logs. What do they say?


#3

Error log:

68.190.243.218 - - [03/Jun/2018:09:49:04 -0400] “GET /favicon.ico HTTP/1.0” 200 - “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Firefox/60.0”
87.176.5.217 - - [03/Jun/2018:09:52:00 -0400] “GET / HTTP/1.0” 500 - “-” “Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1”
87.176.5.217 - - [03/Jun/2018:09:52:14 -0400] “GET / HTTP/1.0” 500 - “-” “Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1”
192.0.101.226 - - [03/Jun/2018:09:54:30 -0400] “HEAD / HTTP/1.0” 500 - “-” “jetmon/1.0 (Jetpack Site Uptime Monitor by WordPress.com)”


#4

Thats the access log, not the error log. It seems plain file requests work but whatever is behind / throws an error. Good old debugging.


#5

Random idea - as you mentioned it stopped when you changed the DNS records - could it be you are connecting to a database via the www address? That certainly wouldnt work anymore when your site is behind Cloudflare.


#6

This topic was automatically closed after 14 days. New replies are no longer allowed.