如何强制我的URL重定向到特定端口

时间:2019-03-27 00:44:23

标签: web xampp

我已经在AWS实例上设置了XAMPP。我已将端口分配给各个Web应用程序。要访问特定的Web应用,会将相应的端口添加到URL。

http://myurl.com:8001 #this redirects to the first web app
http://myurl.com:8090 #this redirects to the second web app

当我访问没有端口的http://myurl.com URL时,将显示XAMPP仪表板

http://myurl.com/dashboard
#this is displayed when http://myurl.com is entered on the browser
#the dashboard gives details which may be a security risk

如何设置http://myurl.com重定向到http://myurl.com:8090

0 个答案:

没有答案
相关问题