I can not view my website

Posted April 20, 2017 1.9k views
NginxUbuntuWordPressUbuntu 16.04

Hello, I have a droplet installed with wordpress with NGINX, but I have a small drawback that when using vsftpd and configured with ftp user, I can not view my wordpress website that is located in / var / www / html / wordpress … The problem is that when accessing my server with the browser it does that it redirects me to a url with FTP, example: ftp //: server_name

Before setting up ftp and wordpress was displayed but now that I have configured the ftp with a user and with the restriction of folders mode, it does not allow me to view my website in a normal way as an internet user who just wants to see the site Web.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers


If you stop vsftpd and restart NGINX, does everything work or no?

To really see what’s happening, we’d need to know how you’ve set things up. That includes all config changes that you’ve made as well as your NGINX server block configuration for the site.

NGINX shouldn’t redirect an HTTP request to ftp:// under normal circumstances, so there’s a config issue somewhere.

Hi, thanks for your response. I am very sorry for the inconvenience, I discovered that it was a mistake that I had with the database, which happens to change ip with another server and I have reused a server that was previously stored, but its database had stored another domain name and That had this little inconvenience, but I appreciate your support to help in the community :)