Recently I migrated a joomla 2.5 site with K2 from a shared host to a dedicated web server with WHM/cPanel with 1 GB of RAM. I used migration procedure recommended by WHM and everything went fine. My problem is now that the website loading is very slow, much slower than on the busy shared server!
Time to first byte is 7 to 10 seconds! But this is only the case for joomla pages. If I put a static page, it loads in a little fraction of a second. What I have on the home page is intro of 15 newest articles in the main section plus tag cloud, 15 most read item titles and things like this in modules. I tried to reduce this numbers to just 1 and then the website loads in just 2-3 seconds. It seems the load time increases gradually with number of items being loaded, either in the main section or in the modules. So I guess there is something wrong with MySQL server configuration? I have MySQL 5.5.42 and database type in joomla configuration is mysqli, the same as before on the shared hosting.
Could anybody advice on this please?
localhost
... is this correct? if this is not the scenario and you are using IP address then try withlocalhost
as host name.localhost
.