Click here to Skip to main content
15,906,628 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Posted
Comments
Mayank Vashishtha 16-Sep-14 5:21am    
Which IDE are you using?
babli3 16-Sep-14 5:25am    
Hi
vs 2013 express and classic asp
Mayank Vashishtha 16-Sep-14 5:56am    
Try to follow this:-

Right click on your web project --> Properties --> Web tab --> Then under server section check the value. Is it pointing to External host or something else?
babli3 16-Sep-14 6:06am    
ok thank you. will try this

1 solution

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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900