Jump to content

How to restart webserver in digital ocean droplet?

mrchow19910319

I created a droplet on digital ocean, and it gives me an IP address I can use.

I can log into the linux server it created, but I cannot get access to the web server. 

This is the error I get whenever I key in that ip address. 

5b6fd6f982bec_sitecantbereached.png.faaf26778e97a5f79d39afc51788c62c.png

 

 

And I submitted a support ticket to digital ocean, here is their response. (I dont understand a lot of it.. )

 

response.png.a10ad1e4bd79482f6834a544b7912325.png

 

From what I highlighted up there you can see that they suggested me to restart the webserver. 

So my question is this,, how do I do that? 

 

 

 

If it is not broken, let's fix till it is. 

Link to comment
Share on other sites

Link to post
Share on other sites

htop screenshot: 

 

htop.png.60eaf203d4881008b4ddc60fb647bf3a.png

If it is not broken, let's fix till it is. 

Link to comment
Share on other sites

Link to post
Share on other sites

what HTTP server do you use? Nginx or Apache?

 

If you use NGINX: (all under root)
service nginx restart

for apache

service httpd restart

service apache2restart

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, crimsonned said:

what HTTP server do you use? Nginx or Apache?

 

If you use NGINX: (all under root)
service nginx restart

for apache

service httpd restart

service apache2restart

err how do I check which server I am using? :/ 

 

 

Okay, all three commends give me one output:   XXX service is not found. 

DOes that mean that the server crashed? What should I do next? 

If it is not broken, let's fix till it is. 

Link to comment
Share on other sites

Link to post
Share on other sites

Find out what webserver you are using then find out what distro you are using then typ into google "restart {webserver} on {distro}"

Quote or mention me if not feel ignored 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×