[Wordpress on Ubuntu 14.04] FTP credentials aren't working for one site while for other does
I have 2 websites. Lenslooter.com and Duki420.com
On Lenslooter everything works. I can update, add and delete plugins and some plugins can write in wp-config.php and add files to wp-content folder.
ftp host in wp-config is '127.0.0.1'
I use exact same setting in wp-config for Duki420 and I have weird problems.
I can add and update plugins only when ftp host is '127.0.0.1', but then I can access general settings. I can access general setting when ftp host is set to 'duki420.com'.
So thats the first problem. The second one is that i.e. w3 cache needs to edit wp-config file and add new file called 'advanced-cache.php' in wp-content folder. On Lenslooter it can, Duki420 it can't. I use exact same permissions as in Lenslooter.
EDIT: Oh and I am using SSH2 for connecting. Maybe I need another user on server for Auth. keys?