无法在本地主机中运行我的网站。相反,它将我重定向到livewebsite [英] Unable to run my website in local host. instead it's redirecting me to livewebsite
本文介绍了无法在本地主机中运行我的网站。相反,它将我重定向到livewebsite的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
我无法在本地主机上运行我的网站,而是直接点击我的网站。
请有人可以引导我。我需要检查什么。我检查了web.config,没关系。
非常感谢
Suman
Hi All
I am unable to run my website in local host instead it directly hitting my live website.
Please can someone guide me. What I need to check. I checked web.config and it's fine.
Many Thanks
Suman
推荐答案
编辑主机文件 http://superuser.com/questions/196091/hosts-file-location-in-windows-7 [ ^ ]
添加您在Host文件中的本地主机详细信息,例如
127.0.0.1 www.example.com
在添加主机详细信息时使用127.0.0.1 IP
Edit your host file http://superuser.com/questions/196091/hosts-file-location-in-windows-7[^]
Add your local host details in Host file like
127.0.0.1 www.example.com
Use the 127.0.0.1 IP while adding host details
这篇关于无法在本地主机中运行我的网站。相反,它将我重定向到livewebsite的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文