My web is not work today ,Please help me

Posted December 11, 2014 4.4k views

This is my Web
I don’t know how to repair it
please help me

  • Assuming this is a wesbite? Have you updated any code latley? Is the apache up to date?

  • no ,yestertoday my website is work.
    today,it is said 500 error
    I use services nginx restart sometime

  • yes i update ’.htaccess’ in nginx

  • .htaccess has no meaning to nginx. It’s an apache thing. You’ll need to provide the output of your nginx error log anyone to be able to diagnose your problem. Since your server isn’t currently accessible on port 80, it points to an issue with your nginx config, rather than a bug in your website code. The output of nginx -t should give you a place to start your investigation.

  • I’m with Alexander on this one. Things don’t magically break the next day unless you did something to the server. For any of us to better help you, some outputs would be useful. What does your Nginx log say? Here’s a sack overflow post on finding your log:

  • Show 1 more comments

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

Backup your .htaccess or move it to outside website folder for example /home/user and reboot your server.

sudo reboot

If not works then you need to check nginx configuration.