Homestead: Proposal: Change .app TLD to .test

Created on 18 Sep 2017  路  12Comments  路  Source: laravel/homestead

Based on: https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/

It's probably time to move to a reserved TLD instead of using .app

Looking for feedback on an idea about changing the .app TLD we use by default for local domains to .test. As it's the shortest reserved domain according to: https://en.wikipedia.org/wiki/.test

help wanted

Most helpful comment

We could also change the default to .localhost

All 12 comments

We could also change the default to .localhost

Those are probably going to be the best future proof options. I really liked using .dev :( and I probably still will until something forces me to change. Whatever we do I'd like to see us be flexible. A configuration option may be a good thing here.

Leaning towards going to .localhost as the default

Have to say I'd much prefer .test

It just takes so loooong for .localhost so many typos....but maybe that's just me.馃槩

I get it, which is why I mentioned .test originally. But you can always change it. This is just the default that Homestead will start out with when you generate your Homestead.yaml file.

Saw this earlier today, interesting article too. Written in 2015 with the warning not to use .dev back then too. Talks about .test etc as well.

https://iyware.com/dont-use-dev-for-development/

I would vote for .localhost as the default. With our default files we should definitely choose one of the 4 reserved TLDs. I think .localhost makes the most semantic sense, as I see .test as your testing environment, not your dev environment.

And since this is only a suggestion, people can continue to do whatever they want in their Homestead.yaml file. Personally, I'll probably stick with .app until it stops working.

I like the proposal, let's encourage best practises. I also think .localhost makes the most sense.
Don't forget to update https://github.com/laravel/docs/blob/5.5/homestead.md accordingly.

We're going to be defaulting to .localhost

Thanks so much!

.localhost doesn't work for me even after stuffing around and removing it from dnsmasq I still have issues but .test works.

OS: ubuntu

FYI Homestead defaults to .test since https://github.com/laravel/homestead/pull/697

Was this page helpful?
0 / 5 - 0 ratings

Related issues

teleclimber picture teleclimber  路  3Comments

cschoeni picture cschoeni  路  4Comments

svpernova09 picture svpernova09  路  5Comments

bironeaj picture bironeaj  路  3Comments

mtpultz picture mtpultz  路  4Comments