hey guys, recently i uploaded one of my clients site online, now what his requirement is the site should also be o开发者_开发问答pened even user just enter domain name, without www and .com, is there any settings in the iis which can make it possible to do this..
Please reply with some suggestion.
Yes, you can change the binding to that website. This example will open the website if he types site
on the address bar.
But only if site redirects to the server, this can be done in the hosts
file located in C:\Windows\System32\drivers\etc
. Adding this line
// server address name
127.0.0.1 site
This will only work on a machine that modifies the hosts file. You can't have a registered domain without a suffix.
AND
As pointed by @Govind
it will work on local system only dear before sending request to location host name find IP on DNS Database
精彩评论