I want to change the localhost name in visual studio to my name like jeson.com
jeson.com
I searched and found some topic 1 2 I change the hosts file to
127.0.0.1 jeson.com :: 1 jeson.com
However this method does not work for me
IIS -> Create Site
Binding -> jeson.com
Project -> properties -> Web -> Use Local IIS server -> ProjectUrl: http://jeson.com
Just add this to the bottom of your hosts file:
127.0.0.1 jeson.com
Leave:
::1 jeson.com
if it does not work, try restarting httpd
. .File Path-> C:\WINDOWS\system32\drivers\etc hosts127.0.0.1 localhost loopback::1 localhost127.0.0.1 localhost127.0.0.1 facebooktest.com.
File Path-> C:\WINDOWS\system32\drivers\etc
127.0.0.1 localhost loopback
::1 localhost
127.0.0.1 localhost
127.0.0.1 facebooktest.com