/    Sign up×
Community /Pin to ProfileBookmark

i have installed Apache and it seems to be installed properly. i can even start and stop the service. i have that icon with a green triangle, in my systray. however, when i type “localhost” or “127.0.0.1” in my bowser i never get the apache default page. instead my browser goes to a default search engine. i also have PHP installed on the same machine and i also cannt view the phpinfo page in my browser.How do i point apache to the local host? i would appreciate any help

to post a comment
Full-stack Developer

10 Comments(s)

Copy linkTweet thisAlerts:
@Stephen_PhilbinOct 18.2004 — Green triangle? Is this on Windows? If so I think you gotta move a file to the WINDOWS directory at some point. I could be wrong though, that might be part of installing php. I just remember seeing something to that effect as I was shuttling through trying to find the install instructions I needed.

You have read all the documentation to install it, right?
Copy linkTweet thisAlerts:
@ray326Oct 18.2004 — Is this Windows? Do you maybe have IIS running already? If so you'll have to stop IIS or use non-standard ports for all but one of the web servers you've got running.
Copy linkTweet thisAlerts:
@tonderai76authorOct 18.2004 — i am running winXP. I changed the port for apache from the default 80 to 8080
Copy linkTweet thisAlerts:
@Stephen_PhilbinOct 18.2004 — Info, info. Do you have any other servers on yer PC? Tell us as much about your environment as possible. And as I suggested before, make sure you've read through the install instructions step by step.

Here's a quick-fire off-the-cuff random maybe it'll help kind tip too. I don't know how an apache installation behaves on windows but I do know windows software does try to be as idiot proof (and please don't get the wrong idea. I am in no way suggesting you are an idiot) as possible. So maybe it starts its self automatically?

If so, and if you are using a router, then you'll need to redirect traffic in your router. Use "[b]Port fowarding[/b]" to foward any requests made on your router from a particular port (80 for simplicitys sake) to your computer on the network. So you basically say foward port 80 to whatever address your PC has on the network.

(you'll also have to check your public IP address quite often too. To make sure it's the right one for people to request for connections.
Copy linkTweet thisAlerts:
@MstrBobOct 18.2004 — No, if you type in http://localhost or http://127.0.0.1 , it'll point to the PC, and at port 80. Regardless of any internet/intranet/network.

You know that if it's port 8080, you have to do:

http://localhost:8080

Just checking.
Copy linkTweet thisAlerts:
@ray326Oct 19.2004 — [i]Originally posted by tonderai76 [/i]

[B]i am running winXP. I changed the port for apache from the default 80 to 8080 [/B][/QUOTE]
Then http://localhost:8080/ should get you there.
Copy linkTweet thisAlerts:
@MstrBobOct 19.2004 — ... I... said... that...
Copy linkTweet thisAlerts:
@Stephen_PhilbinOct 19.2004 — [i]Originally posted by MstrBob [/i]

[B]No, if you type in http://localhost or http://127.0.0.1 , it'll point to the PC, and at port 80. Regardless of any internet/intranet/network.[/B][/QUOTE]


Oh yeah. Forgot about that. lol

Excuse me whilst I go and slap myself in a corner for a while.....
Copy linkTweet thisAlerts:
@tonderai76authorOct 19.2004 — thank you guys. i have tried http://localhost:8080/ and it works. really apreciate your help
Copy linkTweet thisAlerts:
@ray326Oct 19.2004 — [i]Originally posted by MstrBob [/i]

[B]... I... said... that... [/B][/QUOTE]
Yea, well I'm claiming fair use unless you pull the DMCA on me. ?
×

Success!

Help @tonderai76 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...