I've got some trouble connecting to the http://(url):(port)/osgi/http website with the dns alias name (c-name)=(${defaultHostName}). It works or fallsback with the default systemhostname (a-record), but it keep giving 404 if i try to use the c-name and isn't working with the "*" either.
I'm using:
<virtualHost id="default_host">
<hostAlias>${defaultHostName}:${infra.http.port}</hostAlias>
<hostAlias>${defaultHostName}:${infra.https.port}</hostAlias>
</virtualHost>
<httpEndpoint id="defaultHttpEndpoint" host="${defaultHostName}" httpPort="${infra.http.port}" httpsPort="${infra.https.port}"> <tcpOptions soReuseAddr="true" />
</httpEndpoint>
I CWWKO0219I: TCP Channel defaultHttpEndpoint has been started and is now listening for requests on host (systemhostname) (ip) (port)
.....
¨ CWWKT0016I: Web application available (default_host): http://(defaultHostName):(port)/osgi/http/
Are there some issue with binding to a c-name instead of the a-record ?
Some advice how to troubleshoot is appreciated.
Thanks in advance.
Best regard.
question from:
https://stackoverflow.com/questions/65937631/websphere-liberty-20-0-0-12-defaulthttpendpoint-doesnt-bind-to-dns-alias-name 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…