Report this

What is the reason for this report?

I can not view my website

Posted on April 20, 2017

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.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

@SmilJimenez

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 :)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.