www是一个子域? [英] Is www a subdomain?
问题描述
我最近购买了 something.com
。
当我访问 something.com
从我的浏览器,我得到我在服务器上上传的索引页。
但是,如果我访问 www.something.com
,则显示错误404。
When I visit something.com
from my browser, I get the index page I uploaded on server.
However, if I visit www.something.com
, it shows Error 404.
所以我创建一个名为'www'的子域,并在其上上传另一个索引文件。
So I create a sub-domain named 'www' and upload another index file there.
现在, www.something.com
和 something.com
显示两个不同的网站。
Now, www.something.com
and something.com
shows two different websites.
我的问题是,'www'域?还是一些特殊的子域?如果是,它与其他子域如何不同?
My question is, is 'www' a normal sub-domain? Or some special kind of sub-domain? If yes, how is it different from other sub-domains?
推荐答案
是'www'一个正常的子域?是的,是的。从DNS的角度来看,这是一个完全正常的子域。
is 'www' a normal sub-domain? Yes, it is. From the point of view of DNSs it is a totally normal subdomain.
是一些特殊的子域?是的,确实。它是如此常用,大多数注册商和托管提供商都会自动为您创建它,并将其永久重定向到托管的Web服务器。
is some special kind of sub-domain? Yes, it is, indeed. It is so commonly used that most Registrars and Hosting providers do automatically create it for you and permanently redirect it to the web server hosted with them.
在你的情况下,似乎这不会发生什么。所以,创建它并永久重定向它,而不是为它创建一个新的索引页。
in your case, it seems that this is not what happens. So, create it and permanently redirect it, instead of creating a new index page for it.
这篇关于www是一个子域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!