Do
- Use them in documentation, RFCs, and help centre articles wherever a placeholder host is needed.
- Use them in unit tests, fixtures, and mock data so tests never touch the live DNS.
- Use them in screenshots and design mock-ups so no real brand appears by accident.
- Use .localhost or .test for local development environments.
- Prefer example.com when you only need one example name.