'How to change the Apache2 homepage through apache2.conf file?
I am trying to replace the apache2 homepage with a sample.html file from /home/ubuntu/docker_assg path.
I've opened the apache2.conf, but I'm not able to find the DirectoryIndex line to replace index.html with /home/ubuntu/docker_assg/sample.html.
Is there a DirectoryIndex line in apache2.conf? Or do I have to follow some other method for this? Can I manually delete index.html file in var/www/html and replace it with my own index.html?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
