Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

In Apache2 documentation thay say that in <VirtualHost *:80>, the * can be replaced by IP or FQDN, but the FQDN is not recommended.

Addr can be:

  • The IP address of the virtual host;
  • A fully qualified domain name for the IP address of the virtual host (not recommended);

But why is it not recommended? If I have and pointing to the same IP address, why shouldn't I use the names here?

share|improve this question

1 Answer 1

up vote 8 down vote accepted

By using a name there, you're introducing another dependency: a functioning DNS resolver.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.