3 ms·
you cant use wildcards within your hosts file, so you have to manually edit your hosts file for every new subdomain you want to use, I have had a huge hassle do
by daleharvey 16y ago
you cant use wildcards within your hosts file, so you have to manually edit your hosts file for every new subdomain you want to use, I have had a huge hassle doing the same. particularly when you want 1. dynamically generated sub domains, 2. to test a lot of subdomains.
Unless you want to run bind of course
- andrewvc 16y agojust have your regular DNS use localhost as a wildcard subdomain, say *.development.mysite.com
- retro212 16y agolvh.me domain is pointed to 127.0.0.1 so you can use subdomains if you're connected to the internet.
- daleharvey 16y agoI think its pretty important for most people development setups to work offline
- andrewvc 16y agoWell, then setup bind. It's not the end of the world :). That, or just use /etc/hosts, it's more of a pain, but for testing you just need a handful of URLs.