When connecting to IP hosting XAMPP, it goes to localhost

Problems with the Windows version of XAMPP, questions, comments, and anything related.

When connecting to IP hosting XAMPP, it goes to localhost

Postby koolzero » 04. January 2013 01:50

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?
koolzero
 
Posts: 5
Joined: 03. January 2013 22:17
Operating System: OSX

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

Postby Altrea » 04. January 2013 01:59

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

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

Postby koolzero » 04. January 2013 02:04

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.
koolzero
 
Posts: 5
Joined: 03. January 2013 22:17
Operating System: OSX

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

Postby koolzero » 04. January 2013 12:43

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.
koolzero
 
Posts: 5
Joined: 03. January 2013 22:17
Operating System: OSX

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

Postby Altrea » 04. January 2013 15:49

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

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

Postby koolzero » 04. January 2013 17:39

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!
koolzero
 
Posts: 5
Joined: 03. January 2013 22:17
Operating System: OSX

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

Postby Altrea » 05. January 2013 06:12

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 182 guests