Question

I can not view my website

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.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

@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.