Question

Cannot establish database conenction after renaming a droplet

  • Posted February 16, 2015

I have just renamed a droplet from ‘domain’ to ‘domain.com’ and after that neither the web app nor roun cube’s webmail would connect to the database.

What could be wrong?

Current kernel is: Ubuntu 14.04 x64 vmlinuz-3.13.0-43-generic And it runs Vesta CP.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

This comment has been deleted

Depending on how its been renamed and what has changed, Its possible that you now have some form of name lookup issue.

Renaming the server can mean that the /etc/hosts file may of been updated with a loopback address in the domain for your main.com site.

This can mean that the server rather than going to DNS for an IP address, its coming back with your loopback address based on the hosts file entry.

I have no idea if this makes sense to you, but if your scripts or server code or whatever has your domain name hardcoded and wanted to do a lookup, its possible that the loopback address is causing issues…