added entry to /etc/hosts
can ping ok
ping testjd.com PING test.com (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.100 ms
but nslookup (and apache2 config) can't resolve the new name...
nslookup testjd.com ;; connection timed out; no servers could be reached sudo /etc/init.d/apache2 reload [error] (EAI 2)Name or service not known: Could not resolve host name > -- ignoring!
note: cat /etc/host.conf
order hosts,bind multi on
what i ultimately want to achieve is for my apache2 config to be able to resolve the new local name (note: i configured a virtualhost for testjd.com, but i can't get past the "resolve host name" problem shown above)