On my virtual server, I see in my web interface of my hosting provider that the Port 80 is offline. How can I get it back online? I checked if there is any Apache server and there seems to be no apache server installed at all. I did a netstat and this is what I get:
What should I do now? I don't know why this problem happened all of a sudden.
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Take a look in the /etc/init.d directory for the init script for Apache (something like apache2 or httpd).
With that, you can check the status with the command line /etc/init.d/apache2 status, start with /etc/init.d/apache2 start, stop with /etc/init.d/apache2 stop, etc.
I don't remember seeing any Apache installations earlier in my Virtual server. Everything was working fine with respect to Port 80. It looks like they have restarted the server and since then I'm facing this issue. I will check with them today.
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Looks like I won't be getting any support at all as this us just a virtual server that I'm using. So now the question is how can I make port 80 online? Why should it be offline in the first place? Any ideas? There is no Apache server installed or running. What the heck should I do now? My web app is down for almost a week now.
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Obviously it's offline because there is no process listening on port 80. Ofcourse nobody here can tell you what process is supposed to be running on your server which is listening to port 80, so you can stop repeating the questions why there's nothing running on port 80, why it's not running now and what's supposed to be running there.
It's either your own responsibility, or your hosting provider's responsibility to manage your virtual server. We know nothing about what kind of contract you have with your hosting provider and what services they are supposed to provide you. How did you do this before it was rebooted? You'll have to solve this problem yourself or discuss it with your hosting provider, if you think it's their responsibility to take care of it.
It looks good now. The hint that nothing is listening ton Port 80 actually helped me solve the problem. Earlier, I had something called Plesk installed which started the Apache server and bound it to port 80, but now I installed the OS without Plesk and I did not realize that I installed it without Plesk. So now I managed to attach a process that would listen to port 80.
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!