<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Please help!<br>
<br>
I need assistance setting up my PC as a web server.  It seems like it
should be simple, but I just can't get it working.  <br>
<br>
I have a Belkin router.<br>
192.168.2.1 brings up the router's browser-based setup where I can find
the WAN IP address (the address I would use to access my web server
from the outside, I assume -- from inside, this also brings up the
router's setup).  /sbin/ifconfig reports my PC's IP address as
192.168.2.4.  So...<br>
<br>
...in the 'Virtual Servers' section of the router setup,  I've got the
following:<br>
- enabled is checked.<br>
- description is 'Web Server (HTTP)'<br>
- inbound port 80 to 80<br>
- type 'TCP' (other choice is 'UDP')<br>
- private IP address is 192.168.2.4<br>
- private port 80 to 80<br>
<br>
...and in /etc/httpd/conf/httpd.conf, I've got the following (in order
found in file):<br>
...<br>
Listen 80<br>
...<br>
ServerName 192.168.2.4:80<br>
...<br>
NameVirtualHost *:80<br>
...<br>
<VirtualHost *:80><br>
ServerAdmin <a class="moz-txt-link-abbreviated" href="mailto:sbrown3@optonline.net">sbrown3@optonline.net</a><br>
DocumentRoot /var/www/html<br>
ServerName 192.168.2.4  (appears earlier in the file -- do I need this
again?  with or without :80?  I've also tried 'localhost' as reported
by dnsdomainname.)<br>
</VirtualHost><br>
<br>
To see if it's working, I go to proxify.com and enter the 'WAN IP
address'.  Any assistance would really be appreciated.<br>
<br>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>Signature</title>
<pre>Steven J. Brown
<a class="moz-txt-link-abbreviated" href="mailto:sbrown3@optonline.net">sbrown3@optonline.net</a>
516/812-8338
home:mozilla/firefox:linux
<a href="http://www.spreadfirefox.com/?q=affiliates&id=0&t=70"><img
 alt="Get Firefox!" title="Get Firefox!"
 src="cid:part1.06050300.00090207@optonline.net" border="0"></a>
</pre>
</div>
</body>
</html>