From: Juergen W. <jue...@we...> - 2001-04-27 10:07:57
|
Hi, >"Cannot find server or DNS error"....maybe I should give up?! I'm not sure, how this works on W2k, but on WinNT4 you must either set up your machine as a DNS Server (which, at least with the workstation isn't possible AFAIK), or you make entries in your hosts and/or lmhosts file (this, in WinNT4 is in directory WINT\system32\drivers\etc) so Windows can resolve your server name. This is also for virtual host, so if you have entries like <virtualhost 127.0.0.1> ServerName localhost DocumentRoot "d:/mylocalhome" </virtualhost> <virtualhost 127.0.0.1> ServerName bcathome DocumentRoot "d:/binarycloud/htdocs" </virtualhost> in your http.conf you must set the corresponding 127.0.0.1 localhost 127.0.0.1 bcathome in your hosts. Then you can call the pages with http://bcathome/ Keep in mind, that you now cannot simply use http://127.0.0.1/ anymore, cause it is connected with different virtual hosts. You this way have to use the associated names. Juergen |