Solved

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

Posted on 2008-10-16
12
168 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 20

Expert Comment

by:edster9999
Comment Utility
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
Comment Utility
Do you go out through a proxy ?  Maybe that is caching
0
 
LVL 14

Author Comment

by:huji
Comment Utility
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 20

Expert Comment

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

Expert Comment

by:edster9999
Comment Utility
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
Comment Utility
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
Comment Utility
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 500 total points
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

771 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now