0

I am using a DigitalOcean Ubuntu Apache2 server and when I go to my home url I am greeted with my old index.html instead of my new one. I have put my new index.html in /var/www/html in place of the old one however the old one still displays and I can only access the new one via www.myurl.com/index.html instead of www.myurl.com

I have search various config files to no avail.

mattjegan
  • 2,724
  • 1
  • 26
  • 37
  • check the settings in the for the site in the /etc/apache2/sites-available.. Make sure you delete the default sites available – Eddie Martinez Apr 28 '15 at 14:13

1 Answers1

2

Well, it can happen for different reasons

  • your sites-available/enable are not well configured
  • your apache config file is pointing to a different path, reading another index.html or you are using a different configuration file
  • you have cache configured in your server, so it can take a while to update your files

Could you provide some more info (such as those config files or paths)? It will be easy to help you :)

Community
  • 1
  • 1
SpongePablo
  • 870
  • 10
  • 24