I am having a very weird problem I feel I am overlooking. My website at my server ip 126.96.36.199 works very well, everything is great. But I recently put up a DNS record to my domain at godaddy www.chi-ri.org and changed the nameserver to ns1.digitalocean.com | ns2.digitalocean.com | ns3.digitalocean.com.
I also added the DNS record to my droplet in DNS panel on the website, added an A record “@” points to my server. along with “www” pointing to myserver. This is the setup I use on all my websites.
For some reason with this DNS up I get “error establishing a database connection” .
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!