?
Solved

Website doesn't get updated righ away on Linux based host

Posted on 2008-10-16
12
Medium Priority
?
179 Views
Last Modified: 2010-03-04
I recently bought a small-sized linux hosting plan from a reseller. What I've noticed is that when I update a file over ftp, the output of my site is not updated right away, and it takes about 10 minutes or more for it to get updated. Web site is hosted on a Linux machine (or VPS, I'm not sure, and I don't know how to check it) and I have access to Plesk control panel.

How can I know where the problem is? If I decide to change my hosting plan, how can I make sure I'm not going to have the same problem?
0
Comment
Question by:huji
  • 7
  • 4
12 Comments
 

Expert Comment

by:MakassarNET
ID: 22729148
Hi,

Your problem looks like a bit strange for me. If you make an FTP Connection over the FTP Server and you uploaded a file overwritten a new file, it should be updated directly as soon as the file uploaded 100%. You should probably to delete you browser Cache. This most likely a Cache problem. When you open a site, the Cache that saved by your web browser will open the previously used or saved cache to minimized download time.

Hope this help!


Sincerely,

Hernan Halim
0
 
LVL 20

Expert Comment

by:edster9999
ID: 22729384
hold sown the shift key on your keyboard when you do the page refresh.  On most browsers this causes it to ignore the local cache and fetch the page.
0
 
LVL 14

Author Comment

by:huji
ID: 22729668
Deleting the browser cache was the first thing I tried, and it didn't help. I feel like I'm on a VPS-hosted reseller service, and what I upload to isn't a normal FTP folder, but a shadow-like space. I don't know what I'm talking about myself tho!
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
LVL 20

Expert Comment

by:edster9999
ID: 22729757
I've seen this if you have loadbalanced boxes.  
The ftp file drop is copied every few minutes to the production boxes.

But I doubt you have that unless you know about it (and pay for it)
0
 
LVL 20

Expert Comment

by:edster9999
ID: 22729760
Do you go out through a proxy ?  Maybe that is caching
0
 
LVL 14

Author Comment

by:huji
ID: 22729821
I'm not using a proxy. Load balancing idea was brilliant! Remember that I'm using a reseller based service, and don't know which features are enabled on the main box. Is there a way to know these by running a command or something? php_info() doesn't show much info, or I'm missing it

0
 
LVL 20

Expert Comment

by:edster9999
ID: 22730136
you wouldn't see it on the servers - you'd have to ask the reseller.
0
 
LVL 20

Expert Comment

by:edster9999
ID: 22730144
or rather ask the hosting company.
They are probably not doing this if you dont know about it
0
 
LVL 20

Expert Comment

by:edster9999
ID: 22886795
Are you giving up ?  Why not try one more time.....
What web server are you using ?  Apache ?  Tomcat ? other ?
Do you have ssh access to the server ?
Do you have root access ?
0
 
LVL 14

Author Comment

by:huji
ID: 22896281
I have ssh access, but it is very limitted. I don't have root access, not even access to such commandsas "mysql" etc. Commands allowed are only those pertaining file management and a few more.

It is an Apache web server. What do you advise?
0
 
LVL 20

Accepted Solution

by:
edster9999 earned 1500 total points
ID: 22896504
As you have a limited account then it is very unlikely that you have loadbalancing installed as discussed earlier.

I'm still going towards cache.  
The places it could be...
1. Your pc (you have tried this)
2. Your internet gateway (you say you do not have caching here)
3. Your ISP
4. The webhost company incoming lines
5. the server

Start by investigating 4 and 5.  Contact the hosting company and ask them.
0
 
LVL 14

Author Comment

by:huji
ID: 22916747
I made more thorough researches and finally I tracked it down to the cache server of the ISP from which I tested the pages. I've noticed that they are not updating many pages (particularly CSS pages, but some times even HTML pages) as soon as they get updated over the internet. I've told them about how stupid this is, and they've refused to change their mission. I think I'm going to change my ISP as soon as I can.

Thanks for your advice
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
The viewer will learn how to dynamically set the form action using jQuery.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question