arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CloudFlare and VSFTPD
#1
Hello Guys, I have hosted a website on ubuntu with ( apache/PHPMyAdmin/SQL ).I used Cloudflare for DNS management.I am not sure about Cloudflare settings. Now when I browser using domain name website homepage open. But when I click any sub-link/login-page the link is auto changed to the IP. Can someone help me with it?

Also, i want some information about vsftpd.I have installed it. I searched google/youtube for managing the users but I am unable to understand. I want to create an FTP user with a directory can anyone explain me. I added a user in user list but how can I set the password?

Thanks to Post4VPS and Hostlease for their great services.  
#2
As for cloudflare i don't think its a cloudflare problem it can be problem with hyperlink address you defined on your website for accurate answer please share your website so i can look up, as for vsftpd i guess the system users are able to login and operate ftp so you have to change password from passwd command like passwd user(you have to have an user with username i guess) and you are good to go.
[Image: a3ad5cfbf5.png]
[Image: trk1]
#3
@TrK i have sent you website link in private.
Hmm.You mean the information i use for logging in vps?But that does not works.I already tried.

Thanks to Post4VPS and Hostlease for their great services.  
#4
As for website i checked and you are using wordpress so you have to edit wp-config.php to change your website address and everything else should be fine.

Have you tried logging in with a new user instead of root? if not then create a new user and let me know.
[Image: a3ad5cfbf5.png]
[Image: trk1]
#5
(09-23-2018, 11:44 AM)TrK Wrote: As for website i checked and you are using wordpress so you have to edit wp-config.php to change your website address and everything else should be fine.

Have you tried logging in with a new user instead of root? if not then create a new user and let me know.

Thanks for telling.Wordpress problem has been solved.I simply updated the wordpress url from the wordpress admin panel.Its working fine now.

But i am still unable to manage that ftp server.You said i should try logging in with a new user.But when i created i did not made any password.As you mentioned in a earlier post i should use passwd.But it is not working well.is there any other ftp server which can be used or i have to learn it?Whenever i put the ftp info with a new-user and my root password it shows.

ERROR: There was an error connecting to the server, Please verify the settings are correct.

Thanks to Post4VPS and Hostlease for their great services.  
#6
Your problem is in your ftp server itself it seems like it is not running at all or you have modified ports? have you tried sftp aka SSHFTP/SHFTP it works without any ftp server installed(i always uses sftp though i don't want ftp server running on my server).
[Image: a3ad5cfbf5.png]
[Image: trk1]
#7
I have re-installed vsftp and configured it.But i am still facing a problem and that is directory.Whenever i upload wordpress plugins it says ftp required.The user i create for ftp works only with its default directory.I updated directory in /etc/passwd.

ftppl:x:1001:1001:,,,:/var/www/html/wp-content:/bin/bash

Also i have updated the ownership of " /var/www/html ". I updated " usermod --home /var/www/html ftppl "
But still when i use ftp it show

500 OOPS: cannot change directory:/home/ftppl/ftp

Thanks to Post4VPS and Hostlease for their great services.  
#8
I guess you are not familiar with vsftpd user functions and setup then follow the guidelines provided here https://www.digitalocean.com/community/t...untu-16-04
[Image: a3ad5cfbf5.png]
[Image: trk1]


Possibly Related Threads…
Thread
Author
Replies
Views
Last Post

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting