getting database connection error if connect the site without www
I’m running Wordpress latest package on Ubuntu 14.04 with apache and mysql server. Everyting was running perfectly, but this evening I’m getting database connection error without using www.
I’m also using monit for keep running whole system. So the monit status is returning everyting is perfect.
So what ist the problem? How can I solve this?
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.