
There is very clear instruction for how to remove the Bitnami welcome banner when starting a new instance, but you may want to remove the page too.
Here are the steps for each process, removing the banner and removing the page.
Removing the Banner through SSH
These clear instructions are provided directly from Bitnami resources: https://docs.bitnami.com/general/how-to/bitnami-remove-banner/
- Log in to your server console using SSH and execute the following command. Remember to replace APPNAME with the actual name or directory location of your application.
sudo /opt/bitnami/apps/APPNAME/bnconfig --disable_banner 1
- Restart the Web server.
If you’re using Apache, execute the command below:
sudo /opt/bitnami/ctlscript.sh restart apache
If you’re using NGINX, execute the command below:
sudo /opt/bitnami/ctlscript.sh restart nginx
Now, as specified by Bitnami, this only removes the banner, not the actual page. Continue to the next step if you would like to remove the page. This is not necessary for everybody but I personally wanted to do it to avoid any SEO issues and to cleanup the site crawls.
Removing the Bitnami Welcome Page
If you are using Bitnami to install WordPress this page will appear under yoursite.com/bitnami/index.html.
What we will be doing is removing the html file from the server using SSH. I recommend you backup the file locally in case you need to access it again.
- Login in to your server using SSH and execute the following command:
sudo rm -rf /opt/bitnami/apps/bitnami/banner/htdocs/index.html
And that’s it. What you’ve done is delete the index.html page from the server and it is no longer accessible. I tried doing it through SFTP originally but did not have the proper file permissions, the SSH route worked no problem.