Home > other >  Linux system cloud server renewal after site cannot be accessed?
Linux system cloud server renewal after site cannot be accessed?

Time:10-06

Problem description: expires, ECS instance in stop state, the renewal after start the ECS instance, found the site cannot be accessed,

Problem analysis: probably because did not start the web service,

The solution:
remote login, run the following command to check whether site service is started,
# netstat NLTP//see if cloud server port 80 in the listening state

if you do not show 80 port information, web service has not started, run the command manually open web services and related services ,
Linux system generally USES PHP + MySQL building site,

If the Apache environment, start the web service and MySQL,
#/etc/init. D/HTTPD start//start the service, is suitable for the Apache environment
#/etc/init. D/mysqld start//start MySQL
If for Nginx environment, need to start the web service, PHP and MySQL,
#/etc/init. D/nginx start//start the service, suitable for nginx
#/etc/init. D/PHP - FPM start//start the PHP
#/etc/init. D/mysqld start//start MySQL

again to see whether the service is started website ,
# netstat NLTP//see if cloud server port 80 in the listening state

if the service is started, try to access the site ,
If problem still not solved, please submit a work order,

CodePudding user response:

Interested friends can go to my home page to see other
  • Related