Apache configuration problem
Hi, everyone, In the attached apache config file, I have set up a virtual host for www.nickselby.de (to run my site locally, test scripts etc). I was under the impression that setting up another name-based host was as simple as announcing the name in the config file, then copying the settings from www.nickselby.de and changing the name to the new virtual host (in this case www.flyguides.de). But when I did just that, apache said it couldn't resolve the host. I created the proper root directory and cgi-bin directory, and the Access.conf and other files config looks for are there. www.nickselby.de works like a charm - perl, cgi SSI, etc. But now when restarting apache after editing the config file and stopping apache, the error I get is linux:/usr/local/httpd/virtual # /etc/rc.d/apache start Starting httpd [ PHP4 LDAP PERL ][Thu Jun 28 12:46:42 2001] [error] Cannot resolve host name www.flyguides.de --- ignoring! Any clues anyone? Many thanks in advance, nick -- ------------------------------------ Nick Selby, Flyguides, Inc Aviation Multimedia Publishing 103 Foulk Rd, Suite 202, Wilmington, DE 19803 USA http://flyguides.com | nick@flyguides.com US phone 301 691 6056 US Fax 301 652 8667 European Mobile: +49 178 659 6900
Is nickselby.de a registered domain? The hostname www.nickselby.de has to resolvable via DNS to work. If it is not registered and you just want to use it locally, add an entry for it, with its IP number, in /etc/hosts -- Rafael
participants (2)
-
Nick Selby
-
Rafael Herrera