DNS entries issues
Posted
by
Yaman
on Server Fault
See other posts from Server Fault
or by Yaman
Published on 2012-04-08T01:30:16Z
Indexed on
2012/04/08
5:33 UTC
Read the original article
Hit count: 548
I have some troubles with my DNS entries (or maybe my Apache conf).
I have something like this :
kira.mydomain.com A 123.45.67.89
youfood.mydomain.com CNAME kira.mydomain.com
www.youfood.mydomain.com CNAME youfood.mydomain.com
All's good when I check theses entries with nslookup.
When I try going on http://www.youfood.mydomain.com, it work but not with http://youfood.mydomain.com ...
Here my vhost :
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName youfood.mydomain.com
ServerAlias www.youfood.mydomain.com
DocumentRoot /home/ftp_youfood/www/trunk
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/ftp_youfood/www>
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
[...]
</VirtualHost>
Is there anything wrong ?
© Server Fault or respective owner