Czytałem dokładnie dokumentacje i nic:
Mam takie ustawienie w httpd.conf:
Kod
ServerName localhost
Listen 80
NameVirtualHost 127.0.0.1
<VirtualHost localhost>
ServerAdmin admin@localhost
DocumentRoot c:/localhost
ServerName localhost
ErrorLog /logs/error_log
</VirtualHost>
<VirtualHost costam.localhost>
ServerAdmin admin@localhost
DocumentRoot c:/localhost/costam
ServerName costam.localhost
ErrorLog /logs/error_log
</VirtualHost>
Wywala mi taki bład:
ERROR (33501) Host not found: Cannot resolve host name costam.localhost --- ignoring!