将 localhost 更改为另一个域名 [英] change localhost to another domain name
本文介绍了将 localhost 更改为另一个域名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将 Visual Studio 中的本地主机名称更改为我自己的名称,例如 jeson.com
I want to change localhost name in visual studio to my own name for example jeson.com
我搜索并找到了一些主题 1
I search and find some topic 1 2 I change my hosts file to
127.0.0.1 jeson.com
::1 jeson.com
127.0.0.1 jeson.com
::1 jeson.com
但是这个方法对我不起作用
However, this method does not work for me
推荐答案
IIS ->创建站点
绑定 ->jeson.com
项目 ->属性 ->网络 ->使用本地 IIS 服务器 ->项目网址:http://jeson.com
这篇关于将 localhost 更改为另一个域名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文