We have a website dns is brought from 123-reg and hosted in static IP provided by server intellect. We have developed the site in ASP.net Visual Studio 2010 and deployed IIS 7. Everything is working fine. When we type the DNS name in browser it takes to the site but Browser address bar is showing IP address instead of DNS Name. How to keep the DNS name?
in the hosting machine's /etc/hosts file alias the DNS name and IP