Can I set access to all subdomains in my local domain in etc/hosts
file?
Like
127.0.0.1 localhost *.domain.local
Now it looks like
127.0.0.1 localhost domain.local mail.domain.local web.domain.local other.domain.local ...
Can I set access to all subdomains in my local domain in etc/hosts
file?
Like
127.0.0.1 localhost *.domain.local
Now it looks like
127.0.0.1 localhost domain.local mail.domain.local web.domain.local other.domain.local ...
No, wildcards are a DNS lookup thing; trying to do the same thing in your /etc/hosts
doesn't work. Sorry.