[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Apache test page has different ways of displaying

On Wed, 2006-10-11 at 21:38 -0700, Barry Yu wrote:
> When I setup the Apache setup under FC5, enter the "HTTP://localhost"
> in address box in Firefox, immediately displaying full test page with
> text and the feather, in the same LAN, use other machine in address
> box of web browser enter IP address of the machine where Apache was
> setup, will also display in same way. However when use machine to
> connect to this same Apache web server ( Though router with port
> forwarding set up ), in the remote machine's web browser enter
> "www.xyzserver.homelinux.org", will only  display "It works!",  the
> rest in test page is blank. What happened.

Does whatever the computer browsing to that FQDN use a resolver that
resolves that FQDN to your PC running the webserver?  Are you connecting
to someone else's webserver?

Incidentally, if the FQDN resolves to a public IP address, and you try
to connect to it from within your own network, you can end up connecting
to your router rather than your webserver.  They don't always feed
connections out and then back in again.  A test, for those situations,
is to use something completely outside of your network to look at your

e.g. Try using the W3C HTML validator.  Say that you had a webserver
with an FQDN address of <www.example.com>, you'd browse over to
<http://validator.w3.org/detailed.html> and enter http://www.example.com
into the address to validate gadget, click the show source option, and
see if you get the source code to your own webpage back when you
"validate" (test) it.

(Currently running FC4, but testing FC5, if that's important.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]