Hello everyone,
As a first-time website owner, I have hosted my website on a small AWS EC2 instance running Ubuntu. Although I have set up the instance, I have yet to configure SSL. However, my website is loading very slowly.
Although the initial document loads quickly (within 100ms), the subsequent requests for .js and .css files take over a minute to load. Interestingly, the Apache2 “It Works” page loads quickly, which leads me to believe that the issue is related to the WordPress instance. As far as I can tell, the server has plenty of resources – htop shows 0% CPU usage and only about 500MB of the 1GB of memory being used.
I find this all strange since I have not really done anything to the site other than installing WordPress. Unfortunately, due to timeouts, I cannot load wp-admin to update any settings.
Does anyone have any suggestions on how to troubleshoot this issue?
Have you had a chance to review this article on WordPress Optimization: https://wordpress.org/documentation/article/optimization/?
Based on what you have mentioned, it’s possible that your hosting configuration may not be ideal. Typically, a fresh installation of WordPress without any plugins should load much faster – almost instantly.
I believe there’s an important detail that has been left out – could you possibly provide me some information on the server and site history?
Based on the symptoms you’ve described, it appears that the website is attempting to load some resources from a different server IP address (URLs beginning with https://3.85.129.76/wordpress/). Due to the timeouts, this may be causing the delay and resulting in the slow-loading site.