Custom Domains in Chrome
I've got a vhosts file set up for my local machine where I use a made up domain (cascade.mtn) with a bunch of subdomains (rainier.ca开发者_StackOverflow中文版scade.mtn, hood.cascade.mtn, etc). In every other browser I can hit those domains just fine but in Chrome it just takes me to a Google search.
Is there anyway to force Chrome to recognized the cascade.mtn domain?
Old question, but posting answer since I ran into the same thing.
If you add a trailing slash (/
) to the end of the URL, it will hint Chrome to treat it as a URL, which is what you want. From that point, it will 'learn' that that is indeed a valid URL and you won't require the trailing slash anymore.
精彩评论