By chidashri
I am having a very weird problem I feel I am overlooking. My website at my server ip 104.131.171.37 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” .
Any thoughts?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
It now works, but since the moment it transfered, it messed up all my css!! Why did this happen!?
I don’t use DO DNS servers, I wasn’t even aware they offer it, but seems like a DNS problem which usually solves over time once the changes on DNS propagate over the web. I recommend you to use Cloudflare.com as your main DNS/NS for your domains, as any change to the DNS only takes minutes and offers you a lot more of benefits.
Still tough you may want to set a hostname with FQDN on DO for your droplets, for reverse lookup.
Also I tried your website but i get a 500 error back, maybe you can tell us more about your setup.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.