如何监控哪些 IP 连接到我的域
您好,
我目前有一个网站。 如何追踪当前访问我网站的 IP? 我还可以追踪到他们正在访问我的网站的 URL 吗?
谢谢, 西里尔·H.
Greetings,
I currently have a website.
How could I trace the IP that is currently accessing my website?
Could I also trace to what URL of my website they are accessing?
Thanks,
Cyril H.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为提供有关您网站的更多信息会很好。它是什么类型的服务器?也许是阿帕奇?
I think providing a little more information about your website would be good. What type of server is it? Apache, perhaps?
如果您使用的是带有 IIS 的 Windows 服务器,请打开 IIS 管理器,然后查看相关站点的日志。
如果你运行的是 *nix 盒子,这完全取决于你安装的 Web 服务器,我假设它是 apache,所以你可以检查日志所在的 apache conf 文件。我见过的大多数安装都位于
/var/log/apache2/
或类似于/var/log/httpd
等;然后您只需查看文件即可。默认情况下,大多数 Web 服务器会记录请求(访问)和错误(失败的请求、404 文件/页面)。
应该向您提供您提到的所有详细信息。但这取决于您运行的内容。
If you are using a Windows server with IIS, open up your IIS Manager, and view the logs for the site in question.
If you are running a *nix box, it would all depend on what web server you have installed, I will assume that its apache, so you could check the apache conf file where the logs are located. Most installations I have seen they are in
/var/log/apache2/
or something similar to/var/log/httpd
etc;Then you simply view the files. By default most web servers log requests (access) and errors (failed requests, 404 files/pages).
Should give you all the details you mentioned. But it depends on what you have running.