Problems activating your account? Send notification email to: admin@post4vps.com
Host4Fun Budget VPS Hosting
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 about 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 a ftp user with a directory can anyone explain me.I added user in userlist but how can i set password?
Thanks to Post4VPS and Host4Fun.
Reply
#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]
Reply
#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 Host4Fun.
Reply
#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]
Reply
#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 Host4Fun.
Reply
#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]
Reply
#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 Host4Fun.
Reply
#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]
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - SSDBlaze - VPSlices - Abc-Hosters - Hyper Expert


About Post4VPS

Post4VPS is a forum/destiny where you can Delploy Your Free VPSs just by the Power of Posts.

We Provide VPSs of many locations like Germany,US,Canada,France,London,etc.

We also Provide VPSs of Both Linux and Windows OS.