YouTube comment reply for @lbn7460 change Pi-hole Hostname


Screenshot 2023-11-12 at 9.40.23 AM


To change the Docker container hostname for a app like Pi-hole in CasaOS, follow these steps:

  1. Access CasaOS Dashboard: Open the CasaOS dashboard in your web browser. This is typically accessed via the IP address of the machine where CasaOS is running, followed by the port number (usually 80 or 81).

  2. Navigate to Pi-hole App: Find the Pi-hole app on your CasaOS dashboard. It should be listed among the installed or available apps on dashboard.

  3. Open Container Settings:

  • Click on the vertical dots (⋮) located at the top right corner of the Pi-hole service card.
  • This will open a menu with several options.
  1. Change Container Hostname:
  • Scroll down to find the option for changing the container hostname.
  • Click on this option to edit the hostname.
  1. Save Changes:
  • Enter the new hostname you want to assign to the Pi-hole container.
  • Save your changes. Click the ‘Save’ button.
  1. Restart the Service (if necessary):
  • Some changes might require you to restart the service for them to take effect.
  • You can do this directly from the CasaOS dashboard by clicking the restart button in the vertical dots (⋮) container settings.
  1. Verify Changes:
  • After restarting, you can verify the hostname change by checking the container settings or by accessing the Pi-hole admin interface.