I have been running Magento 2 site where I was facing varnish issue so I decided to remove varnish entirely using this command “sudo apt-get remove varnish” command but the site went down permenantly
I have re-install varnish using the same backup but still site is down. Could you please help me how can I fix this. I am bout to lose everything :(
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.
Hello, @zuberanish
What is the exact error when you open the website? You can double-check if the webserver (Apache/Nginx) is running. You can also use the
netstat
command to check if any service is listening on port 80 and 443 as well.or
I will also recommend you examine the Apache/Nginx error logs. If there is a problem with the webserver the error will be logged and you can then can easily resolve any issues.
https://www.digitalocean.com/community/tutorials/how-to-troubleshoot-common-apache-errors
And to check the Nginx error_log you can use the
cat
orless
commands:Hope that this helps! Regards, Alex