At 11:29 03/09/2002 +0100, you wrote: The DNS howto at The Linux Documentation Project ( http://www.tldp.org ) will guide you. Essentially you need a "zone file" which describes the hostnames and addresses for your network and and addition to the nameserver config file to load that zonefile. Because you are using virtual "name based" apache config the webserver needs to do dns lookups to resolve the address of the virtual host.
ttfn nick@nexnix >Hi all, > >This may be basic stuff & I've asked a similar question before, but... > >I have my rh install running in vmware (IP 192.168.202.128) communicating >with my >win2k host (IP 192.168.202.1)...I can successfully ping either way, and by >putting an entry in either hosts file I can access a web server running on >either machine via http://[name]. > >What I really need to be able to do is set up several virtual hosts on the >linux machine, and access them from win2k, but without having to put an >entry on the hosts file for each one...like on the web > >I've tried several things, but obviously not correctly, 'coz it ain't >working!... > >I've given my linux machine a name...linux.linuxserver.com, and in >httpd.conf entered ServerName linux.linuxserver.com...if I hit >http://linux.linuxserver.com from the browser I get the Apache test >page...so far so good. > >I then tried to set up a virtual host to access my install of phpmyadmin... > >NameVirtualHost * > ><VirtualHost *> > . > . > . > ServerName www.phpmyadmin.com ></VirtualHost> > >Doesn't work...why...is it simply because I haven't set up DNS?...if this is >so, I've never done this b4 & am fairly confused as to how to do it, so can >anyone point me at a simple HOWTO that'll tell me where to start...or >perhaps give me some notes here on what to do ;-) > >Thanks, > >Nige > > > >_______________________________________________ >MK mailing list >[EMAIL PROTECTED] >http://mailman.lug.org.uk/mailman/listinfo/mk > > > >-- >redhat-list mailing list >unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe >https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list