The Bitnami corner banner appears on some Amazon Lightsail blueprints. Hiding it with CSS changes only what visitors see. If you want to disable the banner on the server, use the procedure for the specific image and web server.

Key takeaways

  • Confirm that the instance actually displays the Bitnami banner.
  • The command below is for supported WordPress blueprints on Lightsail using Apache.
  • It restarts Apache, so make the change during a suitable maintenance window.

Disable the banner on a supported Lightsail image

Before changing a production server, confirm access to the instance, take an appropriate backup or snapshot and check that you can recover. Open the site by its public IP and confirm that the banner appears. If it does not, no change is needed.

Connect using the Lightsail browser-based SSH client or an authorised SSH method. AWS documents these commands for WordPress blueprints using Apache. Try the path that exists on the image:

sudo /opt/bitnami/apps/wordpress/bnconfig --disable_banner 1 && sudo /opt/bitnami/ctlscript.sh restart apache

If that path is unavailable, AWS documents this alternative:

sudo /opt/bitnami/wordpress/bnconfig --disable_banner 1 && sudo /opt/bitnami/ctlscript.sh restart apache

The first command disables the banner through Bitnami’s configuration tool. The second restarts Apache. Check the public page and server health after the restart. If neither command matches your image, stop and consult the current Amazon Lightsail instructions and Bitnami banner documentation. Do not paste commands for a different image or web server.

When CSS is enough

If the requirement is only to hide the visible corner element, a site-level CSS rule may work, but the selector depends on the rendered page. Inspect the element and test desktop and mobile views. CSS does not remove the server-side banner configuration and may stop working after a theme or image change.

Common questions

Does this procedure apply to every Bitnami installation?

No. The paths and services depend on the image and server stack. The commands above follow AWS guidance for supported Lightsail WordPress images using Apache.

Will restarting Apache interrupt visitors?

It can briefly interrupt requests. Schedule the change appropriately and verify the site afterwards.

Can I use the CSS method instead?

Yes, if the goal is visual only and the banner element can be safely hidden. Use the server procedure when you need the banner configuration disabled at source.