I made a subdomain (using CNAME “webshop” and in content “mydomain. com”) in Cloudflare. It points to the server of my provider.
Everything with some extension after the url (like webshop.mydomain.com/collections) shows without any problem, but the main page is just a static page. It doesn’t update and doesn’t show the page which it should show.
I suppose I did something wrong in the domain records. Also tried to reinstall this site, and checked database. I searched on the internet for a solution, but I couldn’t find a problem as specific as mine.
You’ll want to be sure the root domain has it’s own DNS record as well. That said, if the DNS is setup and you’re just not seeing the page content update, it may be that it’s just cached. Have you tried purging cache for the site?
Login to Cloudflare and select the site with the resources to purge.
Click the Caching app.
In the Purge Cache pane, click Purge Everything.
A warning dialog appears.
Yes, I tried purging all cache, both Cloudflare and WP Rocket, and even after hours it’s still the same issue. The webpage is just completely stuck, here it is : webshop.waylanderwelding.com
Actually I copy pasted the site on the main domain, because I wanted the shop part do be the child domain. So I thought there must be something mixed up in the database too. But to be honest, I have no clue at all.
I did clear cache from Siteground (thats SG Optimizer) and the support from Siteground also cleared that cache. Is it possible to have something stuck in cache for +12 hours?
I also turned off all plugins, so also all cache plugins, but not sure if that really works.
DYNAMIC - Cloudflare does not consider the asset eligible to cache and your Cloudflare settings do not explicitly instruct Cloudflare to cache the asset. Instead, the asset was requested from the origin web server. Use Page Rules to implement custom caching options.
The max-age=604800 shows the origin was caching for a week though which is where those responses were coming from in this case.
Thanks for your input Chris. I must say, I got impatient and decided to ditch the subdomain as the main link for the webshop. So I created /webshop now and actually with that everything is solved.