Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Angie Clark
seal-mask
.a{fill-rule:evenodd;}techdegree
Angie Clark
Front End Web Development Techdegree Student 19,986 Points

Should we really be naming these .dev?? I had a warning come up

When the warning came up on my Mac I searched and found this article. https://iyware.com/dont-use-dev-for-development/ Some of the comments say they are now using the .dev as registered domains and it is causing problems. I named it .dev as in the video and then when wanting to rename it I could not take off the .dev. I am not knowledgable enough about this but I think I will name it something else to be sure. Any info would be great!

2 Answers

Rich Donnellan
MOD
Rich Donnellan
Treehouse Moderator 27,696 Points

Hey, Angie!

Google owns the .dev domain and has made changes recently that will affect your workflow if you use it. The recommended reserved TLD's for Testing and Documentation Examples (referenced in RFC-2606) are:

  • .test
  • .example
  • .invalid
  • .localhost

It seems most of the community now uses .test (myself included). You're really free to use whichever, but to avoid collisions in the future, it's best to stick with one of those mentioned above.

Hi Angie,

This is something I came across when using DesktopServer, I have since switched to Local by Flywheel -> https://local.getflywheel.com/

Sites are created in a more dev friendly way as you will find further down the road with the use of WP CLI.

Plus its FREE for as many installs as you like!

Hope this helps! :)