Wordpress site is too slow

My wordpres site goes down when there are morethan 400 people online… My droplet is 8GB Ram 80GB SSD Disk New York 3 Ubuntu 1-12… Here is my site link

Can anybody help to solve this?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Hello, thank you for the tutorial. i have followed the top instructions exactly. I am able to ping the database server via the file server from the command line using the private IP without any issue. I get an instant response. But for some reason i am not able to connect to the sql server via wordpress. i get an error establishing a database connection.

@ryanpq we successfully moved our wordpress sites into two droplets, one for web and other for db… both droplets were in apache and uses private networking to connect… SO if i move web server to nginx and db server in apache is ther any problem to connection?

another doubt is if i want to expand my web droplet by creating snapshot and make new one from snapshot, is there any problem to connect in private networking, or do i need to configure again ?

@ryanpq changed database to another server but database is not accessible for my wordpress ? i Followed the above tutorial correclty but

Error establishing a database connection This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at This could mean your host’s database server is down.