![]() |
FTP cannot open remote folder!?!
I'm using Dreamweaver to access first web site on an ISPConfig Fedora 9 server but I can't access it via ftp. I would rather use Dreamweaver than the ISPConfig web ftp.
After fiddling around with the settings here is what the remote site info for one individual site looks like in Dreamweaver: Access: FTP FTP host: I put in my server's public IP even though I can access it on my local network. Host directory /var/www/ Login: web7_admin That's my user for the site so i assumed this would be my login. Password: my user's password When testing the connection I get the error: cannot open remote folder /var/www/. Access denied. The file may not exist or there could be a permission problem. The firewall has port 21 open. Proftpd is working because ISPConfig has it online and enabled, and the Web-FTP on ISPConfig's panel can see the folders. Under the services it does say that the Web-server is offline and restarting it doesnt help. This is confusing though because if the webserver really is offline, how come I get an ISPConfig landing page when going to my domains from other computers in my home network, and am able to access ISPConfig? Other attempts with putting in different ftp addresses into Dreamweaver (like ftp.domain.com) had a loading bar attempting to connect but then halfway through gave a very general error message with every possible thing that could be wrong. So I think just putting in my static Public IP is all right, as it just says that the folder can't be found. The user web7_admin has administrator privelages under that site. What settings do I need to have to access my site with FTP? |
|
*cough* use scp not ftp *cough-security-cough*
|
Tried it, and there was no change.
|
Woops I meant that to the first post, not the scp. Unless scp can fix my problem, Id like to first get my sites functioning and then worry about security...
|
Quote:
|
But my problem is that I can't find or access any of the folders on my server. So would using SFTP really change anything?
|
You cannot access /var/www because that's outside web7_admin's home directory. I guess the right path is /var/www/web7.
|
Quote:
Or, use the apache/lighttpd directive that maps home directories to the domain, IE: www.example.com/~username Then you use SFTP to transfer files, and if desired create a jail for that user then allow SSH access for administration as well. There are many options, I just like to frown away from FTP as it seems to be a old, insecure protocol. |
I can't access /var/www/web7 either. I looked on my server and in /var/www/ there is a folder for www.mydomain.com but its a shortcut to /var/www/web7/ so I think the thing you were talking about linking is already done. (web7 is the username that ISPConfig assigned the specific site)
It has to be something on my server computer blocking access but I can't tell what. Could it be something to do with the fact that i am trying to access it in the same local network? Maybe since I'm typing in the public static IP address its messing up? I checked the firewall and the port forwarding for port 21 and both appear to be in order. I'm really at a loss to what the problem is, because these appear to be all the right settings, it just doesn't work. |
| All times are GMT +2. The time now is 23:31. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.