I want to change localhost name in visual studio to my own name for example jeson.com
I search and find some topic 1 2 I change my hosts file to
127.0.0.1 jeson.com
::1 jeson.com
However, this method does not work for me
I want to change localhost name in visual studio to my own name for example jeson.com
I search and find some topic 1 2 I change my 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 out the:
::1 jeson.com
if it does not work, try restarting httpd
change your localhost name to domain name.Go to this path.File Path-> C:\WINDOWS\system32\drivers\etc
This is an example of the hosts file127.0.0.1 localhost loopback
::1 localhost
127.0.0.1 localhost
127.0.0.1 facebooktest.com
restart your server.. Read this