DNS issue on my website

the hosting company changed “mysql IP” and I changed it on Cloudflare, and the site is not working, I had to disable the Cloudflare so the website works fine.

Are you trying to connect to MySQL over port 3306 using a proxied host name? If so, that won’t work as Cloudflare can only proxy HTTP traffic (unless using Spectrum). If the database is on your server, you are better pointing at localhost, or use the direct IP address of the database server.

If you need to use a hostname that’s set on Cloudflare, as maybe the database is on another machine, that hostname will need to be set to “DNS only” or specified by IP address in your configuration.

2 Likes

I’ll check and Send and tell you if it’s worked, thank for your support in advance.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.