I am new to web servers, so please bear with me.
I want to run some CGI scripts on my Linux 1.2.13 system.
I have Netscape Navigator 3.01 Gold for Linux
I have Apache 1.1.1 for Linux (binary distribution)
I have a Pentium PC
(1) Is it necessary to have a web server to execute CGI scripts?
(2) If so: I installed the abovenamed Apache server on my Linux system
and got it to run with a few modifications to the config files. I ran
'top' and could see the 5 servers running. I copied a sample HTML file
to the directory where Apache would look for such a file. I tried to
access that HTML file with:
http://<my_machine's_host_name>/<path_to_html_files>/sample.html
Netscape gave me an error about it couldn't find the specified host and
something about it doesn't have a DNS entry. What do I need to do to
run Apache on my single un-networked PC? Is this possible? I made sure
I specified the correct host name (which is in the /etc/HOSTNAME file).
(3) I have heard about DNS servers. Do I need to implement this on my
machine somehow?
Any responses or pointers to reference material are greatly appreciated.
Thank You.