ls /var/www/blue/ index.html I have updated blue.conf with no change <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/blue ServerName blue.ddns.net DirectoryIndex index.html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost> less ports.conf I do not normally change this. # If you just change the port or add more ports here, you will likely also # have to change the VirtualHost statement in # /etc/apache2/sites-enabled/000-default.conf Listen 80 <IfModule ssl_module> Listen 443 </IfModule> <IfModule mod_gnutls.c> Listen 443 </IfModule> Disabled the default site. sudo a2dissite 000-default.conf If I run curl then I get the index.html page for blue site.curl http://localhost <html> <head> <title> Ubuntu rocks! </title> </head> <body> <p> I'm running this website on an Apache2 Ubuntu server! <p> blue.ddns.net </body> </html> I should get this page with curl http://blue.ddns.net emma davis emma.davi...@aol.com -----Original Message----- From: 😉 Good Guy 😉 <xfs...@hotmail.com> To: users@httpd.apache.org Sent: Thu, 6 May 2021 22:28 Subject: [users@httpd] Re: showing default page On 06/05/2021 22:09, emma davis wrote: > Hi, > > For some reason my default home page is not being over riden. > > I am expecting /var/www/blue/index.html to be displayed > > what could be the cause of it ? > > this is the > /etc/apache2/sites-enabled $ sudo cat blue.conf > > <VirtualHost *:80> > ServerAdmin webmaster@localhost > DocumentRoot /var/www/blue > ServerName blue.ddns.net > ErrorLog ${APACHE_LOG_DIR}/error.log > CustomLog ${APACHE_LOG_DIR}/access.log combined > </VirtualHost> > > > emma davis > emma.davi...@aol.com Have you checked your <IfModule dir_module> to see if index.html is the first item in the list. -- With over 1.3 billion devices now running Windows 10, customer satisfaction is higher than any previous version of windows. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org