Domain

沒有全球資訊網的域不起作用

  • February 27, 2012

如果不使用子域,我的域無法解析www.

我不知道為什麼……這是我目前的區域文件:

rcnhca.org.uk 86400 SOA ns0.gradwell.com hostmaster.gradwell.com 2012 10800 3600 604800 86400
*.rcnhca.org.uk.    86400   IN  A   195.74.61.93
*.rcnhca.org.uk.    86400   IN  MX  10 mail-in-1.lb.gradwell.net.
rcnhca.org.uk.  86400   IN  A   195.74.61.93
rcnhca.org.uk.  86400   IN  MX  10 mail-in-2.lb.gradwell.net.
rcnhca.org.uk.  86400   IN  MX  10 mail-in-1.lb.gradwell.net.
rcnhca.org.uk.  86400   IN  NS  ns2.gradwell.net.
rcnhca.org.uk.  86400   IN  NS  ns1.gradwell.net.
rcnhca.org.uk.  86400   IN  NS  ns0.gradwell.com.
autoreply.rcnhca.org.uk.    86400   IN  A   79.135.125.10
autoreply.rcnhca.org.uk.    86400   IN  MX  10 mail-in-1.lb.gradwell.net.
list.rcnhca.org.uk. 60  IN  A   212.11.71.211
list.rcnhca.org.uk. 86400   IN  MX  10 list.rcnhca.org.uk.
list.rcnhca.org.uk. 86400   IN  MX  20 mxbackup.gradwell.net.
lists.rcnhca.org.uk.    86400   IN  A   193.111.200.31
lists.rcnhca.org.uk.    86400   IN  MX  10 lists.rcnhca.org.uk.
localhost.rcnhca.org.uk.    86400   IN  A   127.0.0.1
pop3.rcnhca.org.uk. 86400   IN  A   79.135.125.10
pop3.rcnhca.org.uk. 86400   IN  MX  10 mail-in-1.lb.gradwell.net.
post.rcnhca.org.uk. 86400   IN  A   79.135.125.10
smtp.rcnhca.org.uk. 86400   IN  CNAME   relay.gradwell.com.

誰能發現為什麼這行不通?

您的 DNS 很好,並且 rcnhca.org.uk 和 wwww.rcnhca.org.uk 都解析為 195.74.61.93。問題是 VirtualHosts 的配置。請按照此處的說明進行操作:

http://www.gradwell.com/support/kb/article.php?id=165#stepone

或與您的託管服務提供商聯繫。

您的域解析得很好,但是您的 Web 伺服器配置為需要 www 部分。您必須對其進行配置,以便它對 rcnhca.org.uk 和 www.rcnhca.org.uk 都做出反應。

這是如何完成的取決於您的作業系統和網路伺服器,您沒有說明。

引用自:https://serverfault.com/questions/364096