Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.cascade.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?

like image 340
ryanstewart Avatar asked Sep 21 '25 05:09

ryanstewart


1 Answers

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.

like image 55
Jorge Israel Peña Avatar answered Sep 23 '25 16:09

Jorge Israel Peña