宝塔用户_rmfhek 发表于 2024-9-6 15:33:41

【已完成】添加网站后域名无法访问

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.1.0
系统版本:ubuntu
问题描述:域名已备案且解析,端口已开放,在宝塔面板添加网站后,在浏览器访问域名显示 not found
相关截图(日志、错误):data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAP4AAABwCAIAAACxTlquAAAGJUlEQVR4Ae2d/U4UVxjGn/tZFhBhAaFf/FFtLDahYms/bOtHWi1VrIqADUSKhH6lf5DqFeAdNPYK1uswmnAZ28zMnpkzO8sKNkDD8yPEObMzc2ae3/ucl/ecXVD1Wu3Zi1d8Q8CNgPpqfW6a0QuBZy9eabBWBwQEDAlokKxPvWdJQPVa319//8M3BNwIaKDW1+ILAn4EkoLHTzWKIdDC+pjAlECywmMqHdneBDSA9b0dYKs+WeGxFY9wZwKq1/qd9aPdlkDyQQZb8Qh3JqBareasH+22BLC+bejdhWN9dwfY6sf6tqF3F37U09yX2zNKv9aahxqK5+uS1p8f6j252f+KwIFm/ea6NPN0Z3fByQk6ZNNnT4P1d4+KyRHVDm5xM83ovayfnnA0qRfrmxh8d5kHmfWx/u7cOXLkBF5j/eZaUhI384q8WsBEh+LqOb0wq+KTf6u5v+OEPPeXXp/dLqqlSp7eeTqTPFuGsH10Z3s23DS+NjmnfKjS25FHggc4ZAJ7sb4UbJS6LZoddhgo3S1cvu+sn7oz3CuYtcPcBZ+q9aWZ7ZfpCdmALGYR6aQi7zkM13y8FZ3SsiGwF+sHPyVQ4olp3G4Da/+UyPb2af3UyvG9Wq24h45h1mpVrV+MulYrfpJqz+kr0Ri2iTdCcwKvmebGBkqvSRNzlk0rXkxOSF4M9o2Nm98wbqQnhNTbkfKz83rdrmr90FVybXS0W89dHz5+NtrHncBesn4oOVJHJcV0VjnELs8xxZZ6A+sXJUrWY+TauOf0YGTubMiVsnh6NBuE0fjp+pz5izScCLzmLa3uWb+wfsltCbd4PLyB9fNyvB2DyLX/0fodPVd6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Fz6lnVJtz+XP5maYo2iGB/wC2uXs+L2a74AAAAABJRU5ErkJggg==


URL没有写错;
网站目录下有index.html 文件,没有其他程序,没有设置伪静态
域名可以ping通,80端口也开放
nginx日志/www/wwwlogs/nginx_error.log为空
这2天试了很多次都不行,服务器资源也充足。



大饼爱小饼 发表于 2024-9-6 15:58:28

终端命令行执行下 netstat -tunlp 看看nginx 80端口到底有没有正常在运行。

宝塔用户_rmfhek 发表于 2024-9-6 16:02:06

大饼爱小饼 发表于 2024-9-6 15:58
终端命令行执行下 netstat -tunlp 看看nginx 80端口到底有没有正常在运行。

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAr4AAAAyCAIAAAA1CE+oAAARDUlEQVR4Ae1dy5XbOgx1BVNB1tpMBVPBbLSdStRA2lALacJNvBZcR94BSJAgCNKSLNuyc+fkxPwBuLj8QR/Tp9Otf+N8uczjrVogDwbAABgAA2AADPwjDCB0+Ec6Gm6CATAABsAAGAADYAAMgAEwAAbAABgAA2AADIABMAAGwAAYAANgAAyAATAABsAAGAADYAAMgAEwAAbAABgAA2AADLwZA+N8noY38wnugAEwAAb2Z2CcL3q5fPjXKIbpvNtXPh8OfnV3EEJN9+l0oqLLPBIPnBCdVYFUtD5ZkVHeans6nYZpZouXy+U837phHp/5DhO5CqFD5uIBKR6xNOqLgb/YMM2Q5eN9sdqjNuxM2GGUuXz7VD6q+8B1LAaqJb8quD/e/Uzup6nwetsSRdO53psJYrHccYQwj6cYKaQwyuYLRE4mLh6FbqdZLApWY8AgENrNr9YcivmraJ0GefG9nM/zeOdbD8T4wp5SWB8ppcza5DYYVovObxw9+wPRoI6VJl8vEuGHTDpiJ/DAY3ao1pdjuQE078JAPWfrkvv7upvN3RSVPm9YoghJ2oGGkeZ93CoMxrQKhMQ8x9hhmM7nmS4llh3CRc0nMrNsQ0pWo6MGVOn+ktzNCnwjG5j3FV0p5e6aRoofpmEYxnlK6/IVyW3V2/x6pFTHr20wOgr5xtuycV5o2R9Iof5IGXJVLw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YAAMWAbSz3iGiod/jYJOt9jrtIiHg7dkXs0TQrM7UdFlHuN5IJmKquCaclZklHdkinO/6hNLOpJO1fGZd0DXRQgdak5QAgbAABiwDFRLflVgJfbP72dyP02Fl7SJL9+SRZSOwjvHM8jOs+zNBLHQxRFC/Ck0ai2xQ4wcUl7Utj7HmY0Vulttw1FmFwElENrNr9YcivmraJ0G+eDCy1mdoOq0jEWtuwut8rYm1IABMAAGXouBesWvS+7v0W42d1NU+rwhdCAkaQcqzjA3GNO2HRLzHGOFYTrzT5wsDB2o+bT819SS1eioAVW6vyR3swLfyAbmfUVXSrm7ppHih2kYhnGexisS9I6k+9cqdxujEAyAATDwegw4Cz4XTfESlrY/uVxm7/hkbjnNO22NVGWusflHaxIhtHfGC3CjMDRxcCTZKmEa62wHvG5mfls8VLkuU5X9i7cFOgqdXyOn1uGGgNm1k5pYPobYIYUCi0IHkl31G+4GhAO4ot2QZrLshj9skod1X4eqPZkPNti98uaO508qo/bcO3hgkThBAgyAATDgM2AWdW5EZbLLxfva+R74OM2TBAXhUjruo3Erij8DRgGGumxjlfFXxOyeFYF5SHzMJ7vNadEOeN3M2fbSLQIGmD1mEGln0ZDaClVzuQ2ufyO1oIC0lCEFxw4Uak1D0VLbLtPJXkqU9W6O4YewkHvSuNyWyZfjmgFKiydm2Ohmd2ZeUDNxK0MHjtEQOgiF+AQDYAAMEAP/A1qXb17SmpBNAAAAAElFTkSuQmCC
这应该是正常运行了吧?

宝塔用户_rmfhek 发表于 2024-9-6 16:03:09

大饼爱小饼 发表于 2024-9-6 15:58
终端命令行执行下 netstat -tunlp 看看nginx 80端口到底有没有正常在运行。

netstat -tunl |grep -w 80
tcp      0      0 0.0.0.0:80            0.0.0.0:*               LISTEN

这应该是正常运行了吧?

运维技术阿闯 发表于 2024-9-6 17:56:42

您好,您这边curl -vvv http://您的网站
以及ping 您的网站
看一下反馈的信息

宝塔用户_rmfhek 发表于 2024-9-7 09:33:09

运维技术阿闯 发表于 2024-9-6 17:56
您好,您这边curl -vvv http://您的网站
以及ping 您的网站
看一下反馈的信息

您好,返回404,网站ping通了,具体如下:

curl -vvv http://s***w.com
*   Trying 122.**.**.147:80...
* Connected to s***w.com (122.**.**.147) port 80 (#0)
> GET / HTTP/1.1
> Host: s***w.com
> User-Agent: curl/7.81.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Date: Sat, 07 Sep 2024 01:27:55 GMT
< Server: localhost
<
* Connection #0 to host s***w.com left intact
not found(base) ubuntu@VM-4-8-ubuntu:~$ ping s***w.com
PING s***w.com (122.**.**.147) 56(84) bytes of data.
64 bytes from 122.**.**.147 (122.**.**.147): icmp_seq=1 ttl=63 time=2.26 ms
64 bytes from 122.**.**.147 (122.**.**.147): icmp_seq=2 ttl=63 time=1.99 ms
64 bytes from 122.**.**.147 (122.**.**.147): icmp_seq=3 ttl=63 time=1.91 ms
64 bytes from 122.**.**.147 (122.**.**.147): icmp_seq=4 ttl=63 time=1.95 ms
^C

谢谢!

宝塔用户_rmfhek 发表于 2024-9-9 10:23:25

本帖最后由 宝塔用户_rmfhek 于 2024-9-9 10:24 编辑

网站目录下有:404.htmlindex.html 这2个文件,但还是显示404
请问,什么问题?怎么解决呢?

运维技术阿闯 发表于 2024-9-9 18:20:03

您好,您这边是否有安装nginx防火墙呢,您的网站配置文件截图发一下
网站-设置-配置文件

宝塔用户_rmfhek 发表于 2024-9-10 10:18:39

运维技术阿闯 发表于 2024-9-9 18:20
您好,您这边是否有安装nginx防火墙呢,您的网站配置文件截图发一下
网站-设置-配置文件 ...


您好,这是完整截图

运维技术阿闯 发表于 2024-9-10 14:05:59

宝塔用户_rmfhek 发表于 2024-9-10 10:18
您好,这是完整截图

您好,您网站直接使用ip是否可以访问,如果可以的话,排查解析,cdn之类的

宝塔用户_rmfhek 发表于 2024-9-10 17:23:33

运维技术阿闯 发表于 2024-9-10 14:05
您好,您网站直接使用ip是否可以访问,如果可以的话,排查解析,cdn之类的 ...

用IP也无法访问,网页也是显示not found:(

运维技术阿闯 发表于 2024-9-11 10:24:37

宝塔用户_rmfhek 发表于 2024-9-10 17:23
用IP也无法访问,网页也是显示not found

您好,您这边是不是一个机器多个ip呢,不是的话,测试一下重新创建一个测试网站,然后访问看看

宝塔用户_rmfhek 发表于 2024-9-11 10:47:53

运维技术阿闯 发表于 2024-9-11 10:24
您好,您这边是不是一个机器多个ip呢,不是的话,测试一下重新创建一个测试网站,然后访问看看 ...

我是用的腾讯云,只有1个IP。 我创建了好几次测试网站,添加域名设置反向代理,使用IP:端口或域名访问都不行。
我还测试直接用IP:端口添加网站,可以直接用IP:端口访问。
下面是我在宝塔添加的网站:


运维技术阿闯 发表于 2024-9-11 12:17:31

宝塔用户_rmfhek 发表于 2024-9-11 10:47
我是用的腾讯云,只有1个IP。 我创建了好几次测试网站,添加域名设置反向代理,使用IP:端口或域名访问都 ...

您好,绕过反代的,和dns的,看是否可以访问
页: [1] 2
查看完整版本: 【已完成】添加网站后域名无法访问