IP Conflict

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

IP Conflict

Postby jamesjohnson88 » 12. May 2008 22:51

I've just set up my server using XAMPP and secured everything with passwords and whatnot. The problem is that when I enter my IP I get asked to log in to my router.

192.168.0.1 is my IP, what should I do so that I can start being able to link people to my site?

http://localhost/epicfx/test.html is my current tet page, if it helps at all.

Any help will be greatly appreciated.

James
jamesjohnson88
 
Posts: 9
Joined: 12. May 2008 22:29
Location: UK

Postby Wiedmann » 12. May 2008 23:15

The problem is that when I enter my IP I get asked to log in to my router.

Then that's not your ip (the ip from the pc XAMPP is running on), it's the ip of your router.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby jamesjohnson88 » 12. May 2008 23:17

Where do I go from here then?

EDIT - My actual IP is 78.144.116.91

I still get asked to log into the router though when I visit that adress. :cry:
jamesjohnson88
 
Posts: 9
Joined: 12. May 2008 22:29
Location: UK

Postby Wiedmann » 13. May 2008 00:34

My actual IP is 78.144.116.91

That's also the ip from your router (the wan ip).

The router ip you can only use from the internet. from your local net, you must use the real ip from the xampp pc.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby jamesjohnson88 » 13. May 2008 01:29

This is what I get from running ipconfig.

IPv4 Adress: 192.168.0.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.0.1
jamesjohnson88
 
Posts: 9
Joined: 12. May 2008 22:29
Location: UK

Postby Wiedmann » 13. May 2008 01:34

IPv4 Adress: 192.168.0.2
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby jamesjohnson88 » 13. May 2008 19:15

When I go to that adress I just get asked to login and I then get taken to the xampp page. ( http://192.168.0.2/xampp/ )

Where do I go from here?
jamesjohnson88
 
Posts: 9
Joined: 12. May 2008 22:29
Location: UK

Postby Wiedmann » 13. May 2008 19:17

and I then get taken to the xampp page. ( http://192.168.0.2/xampp/ )

The XAMPP page is working?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby jamesjohnson88 » 13. May 2008 20:15

Yes.
jamesjohnson88
 
Posts: 9
Joined: 12. May 2008 22:29
Location: UK

Postby Wiedmann » 13. May 2008 20:49

So what's your problem?

Where do I go from here?

I don't know... that ("/xampp") are just some example pages. If you want see something other with "http://192.168.0.2/", you must write some html, php or perl scripte.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby jamesjohnson88 » 13. May 2008 21:53

I have a test page that I made.

Its located xampp>htdocs>epicfx>test.html

I can access it from my PC but its only from using localhost.

I assume its something to do with setting a vhost but I can't seem to find any decent guides on doing so. Any tips?
jamesjohnson88
 
Posts: 9
Joined: 12. May 2008 22:29
Location: UK

Postby Wiedmann » 13. May 2008 23:21

Its located xampp>htdocs>epicfx>test.html

Thus the URI is "http://localhost/epicfx/test.html"?

I can access it from my PC but its only from using localhost.

Where are the other pcs located on which you are trying an access?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby jamesjohnson88 » 14. May 2008 00:11

Yes, thats the URL.

Obviously the local host URL won't work outside of my home network. Essentially, I want to be able to host a website viewable to the public.
jamesjohnson88
 
Posts: 9
Joined: 12. May 2008 22:29
Location: UK

Postby Wiedmann » 14. May 2008 00:37

Essentially, I want to be able to host a website viewable to the public.

Then you must use a service like DynDNS (or use the WAN ip of your router, if this one is static) and configure a port-forwarding in your router.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby jamesjohnson88 » 14. May 2008 00:55

Thanks for the help. I'll try the DynDNS thing first. Will I still need to forward the ports from my router? Or is it an either/either scenario?
jamesjohnson88
 
Posts: 9
Joined: 12. May 2008 22:29
Location: UK

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 113 guests