Valet-plus: Change .dev to .local?

Created on 20 Sep 2017  路  10Comments  路  Source: weprovide/valet-plus

Most helpful comment

Just change to what Valet does, which is .test. No need to argue ;)

All 10 comments

Do you want it for a specific app or in general?

For example, if you'd like to use .app instead of .dev, run valet domain app and Valet will start serving your projects at *.app automatically.
https://laravel.com/docs/5.5/valet#installation

I just opened this issue for discussion about this subject.

Not sure if .local should be the tld it is changed to. I believe that Macs have this reserved, vaguely remember seeing this somewhere. Maybe .loc? Seems kind of ugly to me though haha.

@jerrylopez From the article in the first post:

Alternatively, if you're looking for a quick "search and replace" alternative for existing setups, consider the .test gTLD, which is a reserved name by IETF for testing (or development) purposes.

See https://github.com/laravel/valet/pull/436

I would suggest to follow Valet, to keep it in line. But my personal suggestion would be to use .localhost

@jerrylopez is right: .local on Mac is reserved and will route all traffic through the Bonjour service first (if I remember correctly). When your frontend will load 300+ assets (like Magento 2 does for example), this has tremendous effect on your performance.

Does anyone here have an objection if we go with .test? Using a reserved name will prevent future issues.

Just change to what Valet does, which is .test. No need to argue ;)

We have changed the TLD to .test in 1.0.10: https://github.com/weprovide/valet-plus/releases/tag/1.0.10

Please run valet domain test to switch over to .test

Was this page helpful?
0 / 5 - 0 ratings