我以前从未见过!效果如何?我知道 ICANN 现在允许自定义域名,但它在www之前!我尝试在欢迎之前添加另一个 www ,它返回 404。
问问题
287 次
4 回答
5
www 不是什么特别的东西。www 或 www1 或 Welcome 之间的服务器没有区别。有些网站根本没有www。实际上 www 是子域,您可以创建两个不同的网站:一个在 www 上,另一个没有。
于 2013-02-15T03:17:54.943 回答
2
RFC 1035定义了下面的语法。此外,您可能希望查看此维基百科文章。
<domain> ::= <subdomain> | " "
<subdomain> ::= <label> | <subdomain> "." <label>
<label> ::= <letter> [ [ <ldh-str> ] <let-dig> ]
<ldh-str> ::= <let-dig-hyp> | <let-dig-hyp> <ldh-str>
<let-dig-hyp> ::= <let-dig> | "-"
<let-dig> ::= <letter> | <digit>
<letter> ::= any one of the 52 alphabetic characters A through Z in
upper case and a through z in lower case
<digit> ::= any one of the ten digits 0 through 9
Note that while upper and lower case letters are allowed in domain
names, no significance is attached to the case. That is, two names with
the same spelling but different case are to be treated as if identical.
The labels must follow the rules for ARPANET host names. They must
start with a letter, end with a letter or digit, and have as interior
characters only letters, digits, and hyphen. There are also some
restrictions on the length. Labels must be 63 characters or less.
For example, the following strings identify hosts in the Internet:
A.ISI.EDU XX.LCS.MIT.EDU SRI-NIC.ARPA
于 2013-02-15T03:19:18.270 回答
1
人们可以将他们喜欢的任何东西放在子域中,然后告诉服务器“对待example.com.au
相同www.example.com.au
”
因此,您可以拥有一个“真实”的 URL,例如:
www.abc.www.example.com
然后告诉服务器允许:
abc.www.example.com
这可能是你所看到的......
于 2013-02-15T03:18:22.653 回答
1
这是第 4 级子域,其中 www.example.com 的 www 是第 3 级,因为 example 是 .com 的子域。
因此,子域可以向下执行 127 级,这样 my.desktop.www.example.com 将是一个有效的 URL,在这种情况下,中间是 www。
看看类似 traceRT 的东西,你可能会看到类似 dsl123.sfv.la.example.com (或其他)的东西,重点是,有很多多级子域的情况,有或没有 WWW - 另一个例子可能是邮件.phx.example.com,一家公司凤凰办公室的邮件服务器。
于 2013-02-15T03:23:00.507 回答