Question

Deploy the current Wordpress after deploying Nginx on Debian 10

Posted November 10, 2021 87 views
NginxDebian 10

Hi there,

I used Linode to launch my Wordpress blog.
That option had Apache & Debian 10 as the default option.

Then I configured Nginx following this guide:
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-debian-10

Everything works. Now the next task is to bring my blog back instead of the index.html in the guide (after step 5). Since it takes me sometimes to config the blog admin’s plugins… it would be better to have it back. I did not back up in Wordpress but I did not delete anything, I think all files should be still there. At the worse case, I still can reinstall everything since my blog is new and has no content.

However, I don’t know the right course of action to bring my Wordpress config back. In other words, bring everything back to normal as before installing Nginx following that guide. Some other guides… also help me much. I’m quite blank since I’m a newbiew to the field :(.

Best regards,
Ethan

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
1 answer

Hello,

You need to make sure that the document root specified in the Nginx server block is set correctly and matches the directory that you’ve added your WordPress files at.

What you could do is to delete the default Nginx index.html file to make sure that it does not load instead of the index.php WordPress file.

Let me know how it goes.
Best,
Bobby

  • Thanks Bobby for your help.
    Actually, I used a service to fix that.
    I’ll ask them about what they did, opinion on your suggestion and let you know once I find the answer to your suggestion.

    Best,
    Ethan