Monday, March 4, 2024

Seeing Apache2 page in your website?

 I host one of the non-profit website on Linode Ubuntu VM using nginx server. All of a sudden, I started seeing Apache2 Default page when I visit my website. Seems like the hosting provider installed Apache on my virtual machine by default during fresh install.

To fix this issue

  • Stop apache service - sudo /etc/init.d/apache2 stop
  • Restart nginx - sudo systemctl restart nginx
To check the status of nginx, use the command - systemctl status nginx.service

No comments:

Post a Comment

Github Actions - CI/CD for React.js

 1. Install gh-pages npm package Command:  npm install gh-pages --save-dev 2. In package.json, add the homepage url "homepage": &q...