--- herb Kornfeld <[EMAIL PROTECTED]> wrote: > I hope this helps > Set up: > I do want my webserver connected to the world. I have my cable modem > connected to my router. The router is connected to the linux box. I > configured the router to set the linux box's IP address to be in the DMZ (I > assume this opens up the ports). I have other devices connected to the > router as well. > > Step1: When outside of my home and away from my private network I open a > browser and type in the public IP of my home system 76.88... and the standard > Apache Fedora test page displays on the browser (yay, just as I expected). > > Step2: I have my wordpress blog located at http://76.88..../wordpress and > when I try to access it, the browser trys to open the private IP address of > my webserver 192.168.... instead of the public IP 76.88.../wordpress . I am > a newbie and don't understand why it seems to try and redirect the request.
Since WordPress is written in PHP, do you have PHP installed and running in your Apache web server? I didn't look deeply into the docs but it seems as if you might also need MySQL. Linux, Apache, MySQL, PHP form a core environment which is often abbreviated as LAMP. Part of this installation of PHP is a configuration in Apache which tells the webserver to hand over files with certain extensions (eg .php) over to the PHP interpreter before sending them back to the web browser which requested them. Are you trying to view the site from Linux? I guess you are doing so from behind the router/firewall. If so, what is the output of the route command from your Linux box? It might look something like this: $ /sbin/route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 Perhaps there is something in your Linux routing which is preventing the connection from reaching the server in the DMZ. Another interesting command output would be $ cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost (As stated in previous messages, the $ says this command can be run by an ordinary user. It is the prompt. A # would indicate that it should be run as the root user. Don't type the $ or # at the beginning of one of these sample lines. James -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie
