Wordpress blog site just shows "welcome to nginx" after my vps was halted by support

0

My vps was recently halted due to coin mining. I worked that out with support and the vps is back but now my wordpress site is not working. It's just showing "Welcome to nginx" instead of the wordpress site. It was working fine before they halted the system.

justingrif

Posted 2013-12-29T21:13:10.463

Reputation: 209

Sounds like they wiped your server and you need to reinstall wordpress and your data. – mgkrebbs – 2013-12-29T21:47:30.230

Its all still there. wp-admin still works. I just the get welcome to nginx page instead of my site when I go to the main url. – justingrif – 2013-12-29T23:58:22.453

2So this is your VPS, so you installed nginx and wordpress? So have you checked the nginx document root to see if it is still pointing at your wordpress install? What else have you checked? – Paul – 2013-12-30T01:31:23.253

I figured it out. The nginx conf was pointed at my wordpress install but there was an index.html which contained the "welcome to nginx" AND an index.php which was the wordpress index. I guess nginx defaults to index.html when both files exist? Anyways, I moved the index.html file to index.html_bak and the wordpress site loads correctly now. I really didn't know where to start so thank you for just getting me started looking somewhere. – justingrif – 2013-12-30T02:47:28.833

Answers

2

I figured out the issue. See Paul's comment above. Here is my comment reply with what I did to fix the issue:

I figured it out. The nginx conf was pointed at my wordpress install but there was an index.html which contained the "welcome to nginx" AND an index.php which was the wordpress index. I guess nginx defaults to index.html when both files exist? Anyways, I moved the index.html file to index.html_bak and the wordpress site loads correctly now. I really didn't know where to start so thank you for just getting me started looking somewhere

justingrif

Posted 2013-12-29T21:13:10.463

Reputation: 209