<VirtualHost fqdn.mydomain.com:80> not recommended?

Posted by Alois Mahdal on Server Fault See other posts from Server Fault or by Alois Mahdal
Published on 2012-10-31T22:03:51Z Indexed on 2012/10/31 23:03 UTC
Read the original article Hit count: 242

Filed under:
|

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 www.mydomain.com and webmail.mydomain.com pointing to the same IP address, why shouldn't I use the names here?

© Server Fault or respective owner

Related posts about apache2

Related posts about virtualhost