Name server



So about 6 months ago, I purchased the domain which pointed to my hosts name servers, and then when I got cloudflare I updated the nameservers to the cloudflare ones which worked out fine, but after I switched from one web host to another, it no longer works I updated the IP’s on the DNS section but I found the MySQl would work, could anyone help me with this,



Database connections often rely on a hostname for connections. If you have your database set to connect to a host listed in Cloudflare’s DNS, and that DNS entry is set to :orange:, it’s not going to work.

Database configs should use a hostname not set to :orange:, or use the host’s IP address. Usually, though, my database is on the same machine as my website, so I tell the app to use the database on ‘localhost’.