使用Vesta CP和DigitalOcean创建子域

时间:2014-09-18 00:32:08

标签: dns subdomain digital-ocean

我尝试配置,但每次访问domain.mysite.com.br时都会向我显示未找到的错误。 www.mysite.com.br正在重定向我。只有子域不是。

这是我的背心配置: This is my vesta configurations

数字海洋DNS配置 Digital ocean DNS configuration

我的ftp正确显示了新的子域名文件夹 My ftp is showing the new subdomain folder correctly

我配置数字海洋DNS是错误的吗? OBS:我的服务器IP不是111.111.1.111,我在Photoshop中编辑了安全性。

抱歉,我的英语不好。

2 个答案:

答案 0 :(得分:13)

您可以使用以下步骤在vesta cp中创建子域:

  • 在vestacp菜单上为您的域(maisrp.com.br)创建DNS记录,记录类型是指向您的Droplet IP地址的CNAME。输入要在记录部分添加的子域(即mysubdomain)

Create DNS Record for your subdomain

  • 通过Vesta Cp添加一个具有完整地址的新域名(即mysubdomain.maisrp.com.br)

Add new domain

我试过这个,然后工作

答案 1 :(得分:-1)

有效!我等了15分钟就行了。我认为它是瞬间的,但事实并非如此。现在subdomain.mysite.com.br正在运行,但www.subdomain.mysite.com.br不是:/为什么?