Facing High RAM usage when i connect it to domain

Hello everyone, my WordPress website crashes, gets high ram alert and CPU usages once i connect it to my “

But if use “” the site runs completely fine. Its not DDoS cause i used Cloudflare 5 sec JavaScript challenge with i am under attack it still faces Database crash or downtimes.

NOTE: No application or plugin error too as both Subdomain and Domain sites are exact clone

Can someone please guide me with this urgently

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

I could suggest checking a few things:

  • Check what services / processes are consuming most of the resources:

  • Then check your access logs and see what requests are being made. You can do that by following the steps here:

If the traffic is legitimate but it is just too much, I could suggest adding some more extra resources to your server to increase the reliability

  • Remove any plugins and themes that you do not really need to reduce the unnecessary load on the server.

  • Follow the steps from this tutorial here on how to optimize your WordPress installation:

Regards, Bobby