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

Deploying ASP.NET MVC app on Ubuntu

.NET 10 MVC Deployment on Ubuntu with Nginx, systemd, PostgreSQL & Cloudflare Architecture: Browser → Cloudflare (Flexible SSL)...