Server unreachable without www
Posted
by
deamon
on Server Fault
See other posts from Server Fault
or by deamon
Published on 2011-01-06T19:35:22Z
Indexed on
2011/01/06
19:55 UTC
Read the original article
Hit count: 324
My server is unreachable without "www." prefix, even when trying it with ping
.
The DNS entry looks like this:
$TTL 86400
@ IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. (
2011010600 ; serial
14400 ; refresh
1800 ; retry
604800 ; expire
86400 ) ; minimum
@ IN NS robotns3.second-ns.com.
@ IN NS robotns2.second-ns.de.
@ IN NS ns1.first-ns.de.
@ IN A 1.2.3.4
localhost IN A 127.0.0.1
mail IN A 1.2.3.4
www IN A 1.2.3.4
ftp IN CNAME www
imap IN CNAME www
loopback IN CNAME localhost
pop IN CNAME www
relay IN CNAME www
smtp IN CNAME www
@
A DNS record of the same type for another domain on the same server is working with and without "www".
And the VirualHost config looks like this:
<VirtualHost *:80>
ServerName somewhere.com
ServerAlias www.somewhere.com
ServerSignature Off
...
</VirtualHost>
Any idea what could be wrong?
© Server Fault or respective owner