Today I setup my first dev environment. But whenever i simply created a web application and site collection under it, browser would show connection Error. So I researched and found two ways of making it work
- First I added the entry of new web application (host header) into hosts file like
127.0.0.1 xx.yy.com
::1 xx.yy.com
- For other web application host header i created fqdn going to dns manager... both the ways gave access
Now I am confused what is differece between these two process? Also do we have to edit host file or dns everytime we create a new web application in real time production environment?
sachin