You have several options here. But default web servers look for a file called index.html ( you can change this, but... )
That "It works page", is actually a file called index.html. You can either remove it and create your own index.html
or modify the existing one. Find the line that says It works, and change it to Bagheeras cool page, or whatever you want.
That's probably the easiest option to start with. You can go without a index.html and just have a mycoolpahe.html
file, but then you have to type that html page in as part of the URL, people generally don't like to do that.
Another option is to create /home/bagheera/public_html and put html pages here. index.html is still the first page looked for.
In the old days ( 20 years ago or so ) web servers used to serve from this directory by default, but is it something of a
security concern, and usually not recommended.
The default location depends on your distro, but usually it's /var/www/html/index.html
For Nginx, it's usually /usr/share/nginx/html/index.html
That "It works page", is actually a file called index.html. You can either remove it and create your own index.html
or modify the existing one. Find the line that says It works, and change it to Bagheeras cool page, or whatever you want.
That's probably the easiest option to start with. You can go without a index.html and just have a mycoolpahe.html
file, but then you have to type that html page in as part of the URL, people generally don't like to do that.
Another option is to create /home/bagheera/public_html and put html pages here. index.html is still the first page looked for.
In the old days ( 20 years ago or so ) web servers used to serve from this directory by default, but is it something of a
security concern, and usually not recommended.
The default location depends on your distro, but usually it's /var/www/html/index.html
For Nginx, it's usually /usr/share/nginx/html/index.html