Cannot access this site


#1

I have run apt-get update && apt-get install php7.0-intl unzip.
Then I restart vps, I get an error I cannot access this website.
According to the test, I lost port 80 and 443 by apache2.

root@sv:~# netstat -nlp|grep 80
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1051/apache2

How to fix the problem?


#2

And my temporary fix is to fix ports.conf files in the /etc/apache2 directory.
Remove:

Listen 80
<IfModule ssl_module>
	Listen 443
</IfModule>
<IfModule mod_gnutls.c>
	Listen 443
</IfModule>

That’s my way and the website is working.


#3

Stop and remove apache2 completely. The stopping and removal steps depend on the OS you’re using. They can be easily found on searching.