Beware of using .dev on localhost


  • | 1179 points

    Leo, please can you make this thread Sticky!

    Hi,
    Just ran into issues using the new(ish) TLD .dev owned by Google. Just wanted to create a Sticky thread which i hope will help others who may be considering using it in Laragon ... in short ... DON'T. Read my thread [here](https://forum.laragon.org/topic/1932/cannot-run-my-first-project). There's a link in it to n excellent explanation as to why .dev isn't a wise choice on localhost local development environments. In short; a new feature introduced into Google and recently Firefox called HSTS will redirect all requests to https whether you set this protocol or not. 'Not' in my case and if you do set Laragon AFTERWARDS to use https its generally too late and you'll get a lengthy Chrome error page explaining why your stuffed! for eternity and beyond. IN SHORT ... IF YOUR PLANNING TO USE .DEV ENABLE HTTPS FIRST!

    Seen several other users in the forum who've fallen into this pit so PLEASE READ THIS FIRST AND SAVE YOURSELF SOME HEADACHES.

    All the best [ and doncha jus luv Laragon ... boooom! ]


  • administrators
    | 123538 points

    @trepatk : I did created a post on it:
    https://forum.laragon.org/topic/764/important-dev-domains-chrome-63

    However, I'm to make your post sticky because I like your attitude. Thank you for your contribution :)


  • | 1179 points

    @leokhoa
    ahh didnt see your thread - only joined Laragon this week - still its all good and i think we're all on the same wave-length here ... keep up the good work with this superb project

    Cheers


  • | 55 points

    this happened to me once with a local project i tried to use the dev tld and boom wrong move, though lesson learned.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.