通过本地IP的Plesk网站 [英] Plesk website via local IP

查看:110
本文介绍了通过本地IP的Plesk网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在本地Windows Web服务器上运行Plesk Panel,该服务器工作正常,但我想添加一个仅在本地网络上使用的网站.

I run Plesk Panel on my local Windows web server which works just fine but I want to add a website that will only be used on my local network.

我以通常的方式添加了它,并且可以通过它的域正常工作,但是我想知道是否可以通过本地IP而不是域名来执行它.

I have added it in the usual way and it works fine via it's domain however I want to know if it's possible to execute it via a local IP instead of the domain name.

这样做的主要原因是我希望它可以避免DNS等,从而加快对本地用户的访问.

The main reason for this is that I hope it will speed up access for local users by avoiding DNS etc.

所以目前它是: http://subdomain.domain.com 但我想使用: http://123.123.123.123/website (或类似名称)

So currently it's: http://subdomain.domain.com but I want to use: http://123.123.123.123/website (or similar)

这可能吗?我很欣赏这可能不是在Plesk内部完成的.

Is this possible? I appreciate it probably isn't done from within Plesk.

如果有任何区别,该站点需要PHP.

The site requires PHP if that makes any difference.

推荐答案

经过几天的寻找,它实际上非常简单,可以通过Plesk完成.

After a couple of days hunting its actually remarkably simple and can be done through Plesk.

工具和设置> IP地址

Tools & Settings > IP Addresses

选择服务器IP,然后从下拉列表中为其分配相关域.

Select servers IP and assign the relevant domain to it from the drop down.

这篇关于通过本地IP的Plesk网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆