如何将URL中的IP地址更改为名称 [英] How to change IP Address in URL to Name

查看:243
本文介绍了如何将URL中的IP地址更改为名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我对部署ASP.Net应用程序知之甚少。



我想要询问如何将地址本地站点(IP地址)更改为其他文本:



示例:



当前:http://192.168.3.15:80 / Default.aspx



我想将上面的URL更改为:



待办事项:http://mydevelopmentsite.test.com



我该怎么做?



谢谢。

Hi,

I have limited knowledge about deploying ASP.Net applications.

I want to ask on how to change the address local site (ip address) to other text:

Example:

Current: http://192.168.3.15:80/Default.aspx

I want to change the above URL to something like:

To Do: http://mydevelopmentsite.test.com

How do I do this?

Thanks.

推荐答案

如果你在你的机器上测试你可以输入http:// localhos / NameOfYourApp或使用计算机名称insted localhost就像http:// YourComputerName / NameOfYourApp但是如果你想在互联网上测试你需要注册域名有很多站点这样做就像 HostMonster
if you test in your machine you can type http://localhos/NameOfYourApp or use name of computer insted localhost like http://YourComputerName/NameOfYourApp but if you want to test on internet you need to register domain name there is alot of sites do this like HostMonster


检查类似的解决方案这里 [ ^ ]。





--Amit
Check the similar solution here[^].


--Amit


请参阅以下链接



Asp.net主机网站,其中包含自定义URL而不是http:// localhost / in IIS


这篇关于如何将URL中的IP地址更改为名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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