Unix主机上的子域 [英] Sub domain on Unix Host
问题描述
我有能力在我的unix web主机上拥有无限的子域,在我看来只不过是主机上的另一个文件夹,我使用主机Cpanel应用程序然后将文件夹传达给所有DNS服务器。最终结果是我可以访问像www.test.stokesabode.com这样的文件夹,而不仅仅是文件夹www.stokesabode.com/test。如果我使用EW2执行此操作,我只需在当前站点中创建一个文件夹,发布该文件夹,然后转到Cpanel并将该文件夹设置为主机所看到的子域。或者我是否必须建立一个新的"本地"发布到子域文件夹的Ew2页面?希望这很有意义,尝试解释就像我理解这个过程一样简单。
I have the ability to have unlimited sub domains on my unix web host, it appears to me to be nothing more than another folder out on the host that I use the host Cpanel app that then gets the folder probagated to all the DNS servers. End result would be I could access the folder like www.test.stokesabode.com instead of just a folder www.stokesabode.com/test. If I do this using EW2 can I simply create a folder in my current site, publish the folder, then go to the Cpanel and make the folder what the host sees as a subdomain. Or do I have to establish a new "local" Ew2 page that publishes just to the subdomain folder? Hope this makes sense, tried to explain as easy as I understand the process.
推荐答案
我不会从EW发布,因为我使用的是独立的FTP客户端。话虽如此,我敢打赌,您可以像发布根文件夹中的任何其他文件一样发布到该文件夹。除了您可以直接访问的DNS信息和设置之外,使其成为服务器中的文件夹的子域的原因是什么。这意味着它看起来就像一个文件夹,所以请这样对待。
请记住,子域名被视为与Google不同的域名,因此请确保发布和使用子域名链接而不是文件夹链接到您的主域名。不要混淆两者。
I don't publish from EW as I use a standalone FTP client. Having said that I would bet that you can just publish to that folder just like any other folder in your root web folder. What makes it a subdomain over just a folder in your server is the DNS information and setting beyond what you can directly access. This means to you it looks just like a folder so treat it that way.
Keep in mind that subdomains are treated as a different domain to Google so make sure to post and use subdomain links and not a folder link attached to your main domain. Don't mix the two.
这篇关于Unix主机上的子域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!