Using Different Server for main domain and subdomain

I have a different WordPress site on my subdomain which is using another server. but the subdomain website is also a part of the main site but I separated it for a reason. now I set up Cloudflare for my website. The main site performance is increased but the subdomain still loads very slow. how can I increase the performance for the subdomain?
I have added subdomain as an A record.

A faster server should help. If you need more specific guidance, please post the hostname.

I am using Godaddy for the subdomain and Wpmudev for the main site.

Main site: highmarkuae.com
Subdomain: deals.highmarkuae.com

Unfortunately, I can’t test the “deals” site.

1 Like

Sorry the website is in https://deals.highmarkuae.com/ahad/

I see the URL returns cf-cache-status: BYPASS as far as it’s wp-login.php page and using APO for WordPress.

Nevertheless, I see two resources were slow a bit (but later on refresh cf-cache-status: HIT):

  • https://deals.highmarkuae.com/ahad/wp-includes/js/zxcvbn.min.js

  • https://deals.highmarkuae.com/ahad/wp-content/themes/cera-child/assets/images/pages/page-404.jpg

Despite of them, an origin host/server seems to need some more time to process and execute this on PHP.

Try to tune-up your PHP values a bit:

memory_limit = 256M
max_execution_time = 300
max_input_time = 1000
max_input_vars = 5000 or 7000
post_max_size = 64M
upload_max_filesize = 32M
1 Like

Thank you for your support, My website requires a login to view content.
I have updated PHP values as you mentioned, but still no changes in loading time. is there anything else I have to check?

Thank you in advance.

Does it behave the same “slow” when you temporary for testing set your sub-domain hostname (DNS record) to unproxied :grey: (DNS-only)?

Are you using APO on the main domain too, or just sub-domain where WordPress is installed?

Yes, it’s the same slow of unproxied website. I am using APO for both (main domain and subdomain).
Installed Cloudflare plugin on main site and subdomain site and activated APO from both plugins.
but only in subdomain plugin it shows below error

cf-edge-cache response header is missing! Please clear any server cache used via other plugins.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.