laravel-kubernetes-demo
laravel-kubernetes-demo copied to clipboard
AH00558: apache2: Could not reliably determine the server's fully qualified domain name. 'ServerName'
Hello. That's a cool guide, thanks.
I have a little problem with my vhosts.conf maybe. I tried to set ServerName
with 'localhost' value for this, but no helpful.
Next, I tried to launch your deployments.yaml
with your docker image learnk8s/laravel-kubernetes-demo
and it also says about this notice.
Environment:
- Kubernetes v1.19.3
- Docker version 19.03.13
- Windows 10 Pro
How to fix this?
$ kubectl logs laravel-kubernetes-demo-<hash-pod>
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.1.0.117. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.1.0.117. Set the 'ServerName' directive globally to suppress this message
[Sat Dec 05 14:19:45.955736 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.10 (Debian) PHP/7.1.8 configured -- resuming normal operations
[Sat Dec 05 14:19:45.955821 2020] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
Hi @svishnevskii ..you're welcome :smile:
The notice should not be an issue in dev env. In prod, you'll have a fully qualified domain name. I think you should also be able to add an entry in your windows hosts file if needed.