[S.u.S.E. Linux] linux nameserver for win95 intranet
OK, I have gotten apache set up, including the virtual hosts. If I use a linux box to view my web pages, I can use /etc/hosts to locate the pages. If I use windows, I need to use the linux box as a nameserver. How do I do that?? I have started the named daemon, to no avail. I can access my pages using the IP address and full path to the individual pages, but I would rather make a nameserver. thanks mc -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Michael Clark wrote:
OK, I have gotten apache set up, including the virtual hosts. If I use a linux box to view my web pages, I can use /etc/hosts to locate the pages. If I use windows, I need to use the linux box as a nameserver.
How do I do that??
Well, the way I got my Win95 and Linux box to act together (Linux as the server/proxy) via apache....First make sure that your Linux box is listed in /etc/resolv.conf and in your /etc/hosts. You can use Yast to set up the look up lists as far as both the dns entries and the url names. In /etc/hosts specify all hosts tied to your Linux box whether it is via inter or intra net. You can use an alias at the third column.... 192.168.1.1 office.mcclatchey.fam office 192.168.1.3 win95.mcclatchey.fam win95 BTW, the 192.168 is reserved for intranet according to a book I've been reading about tcp/ip as long as the machines involved are not on the internet. I never did get NIS running either (namely as I haven't finished configuring Names so it is not active. The next step is to make sure that Apache is set up to handle proxy. I'm running under Suse 5.1, and the apache that came with that wasn't compiled with the proxy enabled so I went to the apache websight and downloaded the latest and greatest source, enabled proxy service and recompiled. This allows your Linux box to act as a proxy server for your intranet. As far as the proxy stuff goes, I just left most of it at the default, just changed my dns entry where required, but the default port is 80 and as long as it is so configured on both machines it works just fine:-) Also, make sure squid is also running as a proxy server as it seems to handle managing the different ports better than apache:-) A word of warning, your mail won't work as far as trying to pick it up through apache, you will have to use fetchmail to bring the mail into your linux box and then your Linux box will act as the mail server for your other machines on the intranet. (I just finished getting that working and it works great:-) But that is another subject and I've still got a couple of bugs to work out (I run fetchmail as root and as a result root gets a copy of all the messages, but I think there is something as far as the aliases goes that needs straightening out). At any rate, that's pretty much summarizes how I got it working here:-) Hope it helps.
I have started the named daemon, to no avail.
This isn't needed unless your planning on running a rather complex network:-)
I can access my pages using the IP address and full path to the individual pages, but I would rather make a nameserver.
I can access both the Linux Webpages and the Win95 Webpages simply by specifying <A HREF="http://office"><A HREF="http://office</A">http://office</A</A>> or <A HREF="http://win95btw"><A HREF="http://win95btw</A">http://win95btw</A</A>>, it also works under <A HREF="ftp://win95:-"><A HREF="ftp://win95:-</A">ftp://win95:-</A</A>>) -- cya l8r Leon McClatchey <A HREF="mailto:leonmcclatchey@homemail.com">mailto:leonmcclatchey@homemail.com</A> Party on Linux:-) -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
You don't need to set up a nameserver unless that's what you want. Instead, copy the /etc/hosts file to your Win95 machine under C:\windows (or where ever you have Win95 installed). You should then be able to access the web pages on your Linux box using it's name. Of course, if you have many such Win95 machines then nameserver is the way to go. HTH Arun Khan At 01:38 PM 98/05/10 -0600, you wrote:
OK, I have gotten apache set up, including the virtual hosts. If I use a linux box to view my web pages, I can use /etc/hosts to locate the pages. If I use windows, I need to use the linux box as a nameserver.
How do I do that??
I have started the named daemon, to no avail.
I can access my pages using the IP address and full path to the individual pages, but I would rather make a nameserver.
thanks
mc
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (3)
-
arunkhan@xnet.com
-
leonmcclatchey@homemail.com
-
mclark@datsrvr.datsit.com