如何禁止ip直接访问网站

CHINABLUESKY

New member
Joined
Jun 25, 2018
Messages
3
我重新安装了directadmin,但不希望直接用IP就能访问到某个站点,我新建一个站点,服务器的IP就会成为这个站点的独立IP地址。如果我删除这个站点,直接以IP访问又变成了其它站点的内容,但我不希望服务器IP成为用户的独立IP,只想让它显示成默认的页面Apache is functioning normally。告诉您一下我的服务器默认是局域网IP,所以我虚拟了外网的IP地址,我应该怎么做。 123.56.47.195
 
How to make the server default ip become a share?

How to make the server default ip become a share? Direct access to a site using server IP is not allowed.
 
Back
Top