www是子域吗? [英] Is www a subdomain?

查看:27
本文介绍了www是子域吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近购买了 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.comsomething.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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆