Soo,我们用域名mastergamingteam.eu命名了一个域名,并且我们一直在努力使其正常工作,但是似乎没有。我已经在网上尝试了很多东西,但是我们仍然无法连接到页面。
从客户端说DNS_PROBE_FINISHED_NXDOMAIN
我们使用ubuntu 16.04.6
/etc/apache2/sites-available/000-default.conf:
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
ServerName mastergamingteam.eu
ServerAlias www.mastergamingteam.eu
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
/ etc / hosts(这会不断被覆盖,默认情况下位于该位置):
# Generated by SolusVM
127.0.0.1 localhost localhost.localdomain
::1 localhost localhost.localdomain
79.139.56.118 mastergamingteam
端口80已由ufw启用并在apache2中已侦听
一条记录: mastergamingteam.eu优先级:0 TTL:7200类型:A值:79.139.56.118
NS记录: mastergamingteam.eu优先级:0 TTL:86400类型:NS值:ns1.rackforest.hu
VPS由rackforest托管,并在其站点上购买了域。
答案 0 :(得分:0)
这里的问题是:
您的域指向无处。没有您的域的记录(没有A或CNAME或任何其他相关记录),也没有配置任何名称服务器。
请确保设置记录,因为该域显然无法正常工作。
您可以在此处自己检查域的记录:https://digwebinterface.com/?hostnames=mastergamingteam.eu&type=&ns=resolver&useresolver=8.8.4.4&nameservers=
答案 1 :(得分:0)
注册商处的域记录名称服务器的主机名有误。
$whois mastergamingteam.eu
Domain: mastergamingteam.eu
...
Registrar:
Name: PDR Ltd.
Website: https://www.publicdomainregistry.com
Name servers:
sn1.rackforest.hu
sns1.racforest.hu
您应该编辑记录注册商,并将 ns1 .rackforest.hu用作名字服务器。
您的域中也只有一条NS记录。
$ host -t ns mastergamingteam.eu ns1.rackforest.hu
Using domain server:
Name: ns1.rackforest.hu
Address: 185.43.204.2#53
Aliases:
mastergamingteam.eu name server ns1.rackforest.hu
您可能应该将ns2.rackforest.hu作为第二个名称服务器。
ns2.rackforest.hu了解您的域。
$host mastergamingteam.eu ns2.rackforest.hu
Using domain server:
Name: ns2.rackforest.hu
Address: 79.172.213.19#53
Aliases:
mastergamingteam.eu has address 79.139.56.118