When you have problem, turning off your server and the Apache server didn’t start automatically when the server is booted. It makes your website inaccessible to your visitors. And you had to fixed it by opening your server terminal just to start the Apache server. It’s very hassle and inconvenience.
Some servers who have Centos 7, make this step automatically boot but for some like in DigitalOcean. By default they didn’t make the Apache server run automatically when your servers run.
The solution to this problem is very simple, you just have to enter the following code in order to run your Apache server on start.
systemctl enable httpd.service
That’s it! Hope this solution solve your problem. Don’t hesitate to leave a comment down below if you have other question or problem.