Score:0

.xyz domain not recognized by apache2 as valid hostname

de flag

When I try to add a virtual host of my new domain name that ends with .xyz, apache tells me that it can't resolve the hostname :

[Wed Jan 26 21:31:53.994125 2022] [core:error] [pid 25525] (EAI 5)No 
address associated with hostname: AH00547: Could not resolve host name 
saleori.xyz -- ignoring!

Is there a solution for this problem ?

Thanks

cn flag
Bob
IIRC that is normally only a warning and not a fatal error, so your web server will start. Apache does a basic sanity check and alerts you as the operator when it suspects that you made a configuration error/typo and a hostname that doesn't work is an easy check. That may not be an error though, you can set up a site before the hostname becomes active. To completely remove the warning. Ensure that the domain *can* be resolved. Get your DNS working, or simply add an entry to the hosts file on the webserver. But saleori.xyz won't resolve for me either.
Monsquid avatar
de flag
@Bob after some hours it seems to work! It was certainly a DNS problem... Thanks!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.