我在三个移动英国,它只发布一个动态IP,显然阻塞了所有的http端口,包括80个,所以我得到一个域stephenogidan.ddns.net从No-IP来解决这个问题。到目前为止,我还没能成功!这就是我到目前为止所做的:
index.html的文件夹的主机文件。该网站已启用。/etc/apache2/sites-available/stephenogidan.conf <虚拟主机*:80> ServerName stephenogidan.ddns.net DocumentRoot /var/www/stephenogidan /etc/hosts文件: 127.0.0.1本地主机127.0.1.1 ubuntu_server 127.0.0.1 stephenogidan.ddns.net当我访问stephenogidan.ddns.net时,以下是响应:
无法联系到这个网站。无法找到www.stephgidan.ddns.net的服务器IP地址。DNS_PROBE_FINISHED_NXDOMAIN
发布于 2020-06-09 12:23:05
有几个问题:
No-IP Address: xxx.xxx.xxx.xxx:8080)有问题。available-sites中列出,您必须启用它,例如使用a2ensite <site>https://unix.stackexchange.com/questions/591813
复制相似问题