您好,首先我想为标题缺乏细节以及帖子内容不够详细表示歉意。我对此还不太熟悉,完全不知道该如何操作。
基本上,我昨天注册了一个 DigitalOcean 账户,并设置了一个 Droplet,按照创建流程搭建了一个 Discourse 站点。然而,只有在 URL 栏中输入 IP 地址时才能访问该站点;如果输入主机名,则会收到“找不到网站”或 ERR_NAME_NOT_RESOLVED 的错误。
我尝试使用我之前购买但从未使用过的个人网站域名,也尝试了 discourse.craftlads.com 这个域名,但似乎都没有成功。正如我之前所说,我可以通过在 URL 栏中输入 IP 地址来访问网站和管理员设置,但输入主机名则无法访问。
我已经进行了大量的谷歌搜索,但无法找出问题所在。这可能是一个简单的解决方案,但正如我所说,我只有 17 岁,对这一切还很陌生,所以我真的需要一个简单明了的答案。
谢谢。
Did you create a DNS A record for your subdomain discourse.craftlads.com and pointed it to your droplet IP?
I don’t see a valid A or AAAA record associated to your domain.
3 个赞
pfaffman
(Jay Pfaffman)
3
A DNS lookup shows:
No match for domain "CRAFTLADS.COM".
So you either haven’t registered that domain or you typed it wrong here.
And if you haven’t configured DNS for the domain you also haven’t gotten mail configured, so Discourse won’t be able to send mail.
If you’d like help getting things set up correctly, see Discourse Installation Packages – Literate Computing, LLC
3 个赞