Page 1 of 1

When connecting to IP hosting XAMPP, it goes to localhost

PostPosted: 04. January 2013 01:50
by koolzero
I am running XAMPP on Windows 7. I can access my site via "localhost" in the address bar on the host machine. However, if I try to access the site from one of my network machines or mobile devices by IP, it will bring it up and put "localhost" in the address bar with a blank white page. I have cleared all history etc... and no luck. Do I need to configure something else? Thoughts?

Re: When connecting to IP hosting XAMPP, it goes to localhos

PostPosted: 04. January 2013 01:59
by Altrea
Hi koolzero,

It would be polite if you would start new threads with a short salutation line. Thank you.

koolzero wrote:Do I need to configure something else? Thoughts?

This is fully dependend on the configuration changes you made and your application files.
Because you don't five us the needed information, we can't say anything about that.

best wishes,
Altrea

Re: When connecting to IP hosting XAMPP, it goes to localhos

PostPosted: 04. January 2013 02:04
by koolzero
I didn't change any application files. I just set it up and then installed something in a sub-folder of the htdocs. I will try a reinstall of XAMPP and see what happens though.

Re: When connecting to IP hosting XAMPP, it goes to localhos

PostPosted: 04. January 2013 12:43
by koolzero
So even on a fresh install.. I can load the xampp default page by browsing to the IP, but if I try to hit any of the sub-folders that I create for a site within htdocs, it just reverts to localhost.

Re: When connecting to IP hosting XAMPP, it goes to localhos

PostPosted: 04. January 2013 15:49
by Altrea
koolzero wrote:So even on a fresh install.. I can load the xampp default page by browsing to the IP, but if I try to hit any of the sub-folders that I create for a site within htdocs, it just reverts to localhost.

Apache don't revert any IP back to the hostname by itself, thats a fact.
It has to be a redirect or something like that which is configurated in your own files, .htaccess or Apache configuration changes.
As i said before: We don't have any information about which scripts you are trying to request.
And last but not least: That is not an XAMPP issue.

best wishes,
Altrea

Re: When connecting to IP hosting XAMPP, it goes to localhos

PostPosted: 04. January 2013 17:39
by koolzero
Bleh.. thanks for the responses.. I am just silly and overlooked one thing that messed it up. Sorry for wasting your time but I do appreciate your help!

Re: When connecting to IP hosting XAMPP, it goes to localhos

PostPosted: 05. January 2013 06:12
by Altrea
koolzero wrote:overlooked one thing that messed it up

And you don't want to tell us what exectly you have overlooked?
Other people having the same problem and finding your thread can't get any help now from your whole thread.