我有一个关于VPS的网站。
我遇到的问题是,当我输入服务器的IP时,它会链接到网站。
即使在进入mail.domain.com时,它也会做同样的事情。
我如何禁用它,这样访问者就会收到消息或被定向到该域?
我试着禁用IP并在云flare上邮寄一条记录,但不起作用。
我的设置是:
VPS on Linux Debian
Nginx
no control panel just command line
Cloudflare
DNS setup with BIND
我遇到这个问题,试图使用socket.io-client连接到websocket (Socket.IO.js构建:0.9.16)
Failed to load resource: the server responded with a status of 404 (Not Found)
XMLHttpRequest cannot load https://myserver.it/socket.io/1/?t=1488475368547. No 'Access-Control-Allow-Origin' header is present on the requested res
有一个被gfw阻塞的$url。
现在,我想以这种方式从$url下载内容。
ssh root@vps_ip #to use my vps_ip to break the gfw.
wget -c $url -O /home/material #to get the content on /home/material in my remote vps disk.
scp root@vps_ip:/home/material /home #to get the /home/material in my remote vps disk into my loca
我在我的VPS上设置了一个ARP代理。通过这种设置,我可以通过WireGuard在VPS的第二个IP上路由传入的流量。这应该允许我的树莓派在家里使用第二个公共IP。
我得到了这样的工作。传入的Pings通过WireGuard隧道转发给Pi。但是Pi试图通过eth0回答Ping。有没有办法解决这个问题,所以它也通过WireGuard接口发送回复数据包?
显示这个问题(都在Raspberry Pi上)
WireGuard接口:
# tcpdump -i wg_pub
tcpdump: verbose output suppressed, use -v or -vv for full