Help - Search - Members - Calendar
Full Version: Site is down, but ftp works and vica versa
The Planet Forums > System Administration > Web Hosting
silowave
Hi all,
I decided to post on this forum (for others to be able to search) I had a hard time finding the answer online.

For a couple days now. I would upload a file to my site (through an ftp client) and the site goes down. I can access the site through cpanel and still connect to it through ftp.

today I wasn't able to connect to the ftp, but I can connect through http just fine. Once I was able to connect through ftp and upload a file, the site went down again.

Does anyone know what could cause something like this?

I use fireftp as my ftp client
ajz4221
Are you the sysadmin for this server?
If you are, check your logs to see if your ftp and/or http services are failing at that point.
If you have any other sites, do those fail?

Since you are using cpanel, that means Linux and my Linux knowledge is very lacking.
silowave
I am the system admin.

I'm looking in the error_log in /usr/local/apache/logs. I only see missing file errors, nothing specifically about http or ftp services.

am I looking in the right place?

There have been other sites that have lost http connection for a few hours, but all sites don't go down at the same time.
silowave
maybe it has something to do with the connection I have here. (I'm in lebanon at the moment)
I asked a friend to browse to the site, when I couldn't, and he said he can access it just fine.
silowave
It was a DNS issue.

I no longer have any issues, after the correct name servers were added and the domain's DNS record pointed to the right name servers.
ajz4221
Would it fail while you were in the middle of transfering a file?
I don't see how that would occur because DNS would be cached on your local network.
Or maybe you just got lucky enough to catch it during a TTL renewal and it renewed to a different IP.

Other than that, improperly configured DNS will do strange things.
jackjones
Some time the server may be down so that you cant upload the files but it will not affect http. I too faced problems like this in that case I will try another day.
silowave
QUOTE (ajz4221 @ Aug 7 2009, 03:29 AM) *
Would it fail while you were in the middle of transfering a file?
I don't see how that would occur because DNS would be cached on your local network.
Or maybe you just got lucky enough to catch it during a TTL renewal and it renewed to a different IP.

Other than that, improperly configured DNS will do strange things.

It did not fail while I was transferring files.
ajz4221
QUOTE (silowave @ Aug 7 2009, 05:00 PM) *
It did not fail while I was transferring files.


In that case, DNS makes perfect sense.
I'm glad you figured it out.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.