cPanel not communicating with domain

Status
Not open for further replies.

rockdocx

New Member
Messages
27
Reaction score
0
Points
1
I have uploaded my files through FZ and my cPanel shows that I have the changes made in my style.css file. When I look off-line, it shows the changes.. On-line, the changes to not take effect. I thought it was maybe slow but it has been an hour. Thoughts?
 

Anna

I am just me
Staff member
Messages
11,751
Reaction score
581
Points
113
There could be a couple reasons behind that, your local browser cache may still have the old site stored, or possibly your ISP are caching pages to speed up browsing.

We also have Varnish cache on the servers, you can read more about that at https://x10hosting.com/support/general/varnish-cache
Even with varnish though the content should still have updated in that time since default cache time is 5 minutes on static content (css files are normally static) and 5 seconds on dynamic.
 

rockdocx

New Member
Messages
27
Reaction score
0
Points
1
It finally uploaded after more than 2 hours. And it was only text.
 

rockdocx

New Member
Messages
27
Reaction score
0
Points
1
I have been waiting 5 hours now for my cPanel to connect with my domain. The information is correct in my cPanel but when I open the website, the changes are not there. It works off line. Help!
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
Thoughts?

x10hosting recently implemented a different web-server-software setup on their free-hosting servers - which is a combination of the Apache web server and the Varnish cache server
the cache server maybe why there is a delay before you 'see' the file(s) - after you upload it - or see a new 'post'
the caching time (delay) S/B about 5 seconds for dynamic content and about 5 minutes for static content - there are posts in this forum about it being longer

staff has said - to override [ Varnish cache ] try adding the following line to your [ .htaccess ] file in folder [ public_html ]
Code:
Header set Cache-Control "max-age=0, private, no-cache, no-store, must-revalidate"

AND/OR
cPanel-x3 theme (not x10hosting's Basic) homepage - in the [ Software and services ] block - click [ xVarnish Caching & Security ] - then set it to [ off ]

the current 'cache' (if any) will need to time-out before this setting becomes effective

You can also check at [ http://isvarnishworking.com ] to see if the .htaccess modification is working. It should say "Yes! Sort of." and then you should see the Cache-Control header underneath

NOTE: you might have a 'cache' in your broswer and/or ISP
 

rockdocx

New Member
Messages
27
Reaction score
0
Points
1
I found the place where they explained how to disable the cache but I don't have an .htaccess file in any folder. I couldn't understand how they described what to do in that situation. Is this something that will continue to happen? The cPanel just now connected with the website...close to 7 hours and it was a simple transaction.
 

lylex10h

Active Member
Messages
982
Reaction score
71
Points
28
If you are using basic cPanel theme, open FileManger, click [Settings] button in top-right, check box for "Show Hidden Files (dotfiles)" and click [Save] button
If you are using x10x3 cPanel theme, open FileManager and there should be a check an option for "Show Hidden Files (dotfiles)"
 

rockdocx

New Member
Messages
27
Reaction score
0
Points
1
When I open settings, the only option I get is a tab that says, Preferences and then a check box giving me the option to: Disable Character Encoding Verification Dialogs. I have the basic cPanel theme.
 

lylex10h

Active Member
Messages
982
Reaction score
71
Points
28
filemangersettingspng.png
 

rockdocx

New Member
Messages
27
Reaction score
0
Points
1
Is there a way I can show you what my page looks like? My Settings button is right next to my File Manager on the left and there is not a CP in front of File Manager.
 

lylex10h

Active Member
Messages
982
Reaction score
71
Points
28
Your FileManager shows .ftpquota so you just need to create a .htaccess file using "New File" in top-left
 

rockdocx

New Member
Messages
27
Reaction score
0
Points
1
Here's what my screen looks like now. By the way, thanks for your patience. I put in the code
Header set Cache-Control "max-age=0, private, no-cache, no-store, must-revalidate". Now what do I do? I'm an idiot.
upload_2017-2-6_19-5-30.png
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
That's it. You just have to wait for things to age out of caches now. (Everything that has already cached your files has been instructed not to check for new versions for a period of time. Once that time has passed and a new version of the file is fetched, it will not be cached again and wil update immediately. There is no way to hurry this up, since everything between the user and the server has seen things as cacheable, including ISP proxies and so forth.)
 

rockdocx

New Member
Messages
27
Reaction score
0
Points
1
I noticed it was zero bytes also. When I view the contents, the only thing there is the code I put in from one of the early comments on this thread. I have been waiting a day now for a picture to upload to my site. It is uploaded to my cPanel.
 
Status
Not open for further replies.
Top