Forum Moderators: phranque

Message Too Old, No Replies

internal web viewing

         

Chuckmeister

1:43 pm on Sep 29, 2005 (gmt 0)

10+ Year Member



Hello, I'm new to the forum and apache :)

I've installed the latest apache server on my home computer. I've got it up and running and have wordpress running out of /wordpress.
The problem I have is I can access wordpress in either localhost or I can serve the page. I have forwarded the port on my router (speedtouch530), turned off port blocking on my isp's server and because I have a dynamic IP, I have dyndns updating my ip number under a url address. Now the problem I have is that while I can serve properly and people can see wordpress, when I go to access the page from localhost I cant connect to the server and the request times out.
I have done a search for info but I'm not sure what I'm supposed to be looking for as I'm a total noob.
I'm wondering if someone would be kind enough to either give me a hand or tell me where and what to look for.
so in short...
I can access through localhost when not serving, when serving I cant access...

Thanks in advance

Chuck :) (sorry for the confusing post)

jdMorgan

1:59 am on Oct 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Chuck,

Welcome to WebmasterWorld!

Things get tricky when you enable a server and then try to make a request from your machine to itself.

Have you tried defining a different domain (not localhost) to use for local access to your site?

Typically, you'd open up the 'hosts' file (no extension) on your machine, and add something like

127.0.0.1 test.example.com

You would then access your site using the test.example.com domain name.

The hosts file is typically in C:\WINDOWS\SYSTEM32\DRIVERS\etc on Win XP Pro.

Also, see Programs that connect to IP addresses that are in the loopback address range may not work as you expect in Windows XP Service Pack 2 [support.microsoft.com].

Jim

Chuckmeister

4:11 am on Oct 2, 2005 (gmt 0)

10+ Year Member



Thanks for the reply Jim :)

Well I sorted out the localhost issue. It turns out that I had the paths written the wrong way in the actual wordpress settings. I applied an absolute path instead of a relative path...simple mistake that had me running around the apache website for hours Lol.

With the loopback, I was told that my router does not support it....
Its serving ATM and I can do everything in localhost now so thats fine :)
Thanks for your time :)

Chuck