SmartPhoneLover Posted May 26, 2022 Share Posted May 26, 2022 (edited) Hello unRAIDERS! This is my first little tutorial, so hope it could help to all the users facing the same problem. The topic of this tuto is to get rid of the annoying 'AH00558: Could not reliably determine the server's fully qualified domain name' message that is shown in the container's log, when the corresponding file(s) doesn't have this specific line configured in the base docker image. Well, this warning does not prevent Apache from running, for the normal operation of the container, so it could be safely ignored. But, if you don't want it to be shown everytime you restart the container, or the Apache is restarted for some reason, you can follow this guide. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Let's take one of my Docker templates as an example: Remote Wake/Sleep-On-LAN Server Previous steps... 1. Install the container, as usual, and start it. 2. Install nano tool inside the container, by opening its Terminal Console, and typing apt install nano or apt-get install nano. Let's go... 1. Open the Terminal Console of the container. 2. Usually, you may need to navigate to /etc/apache2/* directory. 3. Inside the previous dir you should see the file apache2.conf. So, open it with nano: nano apache2.conf. 4. The content of the file will be shown now in the Terminal Console, with some action buttons located at the bottom... 5. Scroll down and add the following line: ServerName localhost. You can comment (#...) it with something you want, if there's no default comment line for it. 6. Press CONTROL + X key combination, then accept saving the changes by pressing Y. Now you can exit from the nano editor by pressing ENTER. 7. Restart the container. 8. Done! Notes... - These steps should be followed everytime you update or rebuild the container. Edited May 26, 2022 by SmartPhoneLover Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.