Page 1 of 2

IP Conflict

PostPosted: 12. May 2008 22:51
by jamesjohnson88
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

PostPosted: 12. May 2008 23:15
by Wiedmann
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.

PostPosted: 12. May 2008 23:17
by jamesjohnson88
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:

PostPosted: 13. May 2008 00:34
by Wiedmann
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.

PostPosted: 13. May 2008 01:29
by jamesjohnson88
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

PostPosted: 13. May 2008 01:34
by Wiedmann
IPv4 Adress: 192.168.0.2

PostPosted: 13. May 2008 19:15
by jamesjohnson88
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?

PostPosted: 13. May 2008 19:17
by Wiedmann
and I then get taken to the xampp page. ( http://192.168.0.2/xampp/ )

The XAMPP page is working?

PostPosted: 13. May 2008 20:15
by jamesjohnson88
Yes.

PostPosted: 13. May 2008 20:49
by Wiedmann
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.

PostPosted: 13. May 2008 21:53
by jamesjohnson88
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?

PostPosted: 13. May 2008 23:21
by Wiedmann
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?

PostPosted: 14. May 2008 00:11
by jamesjohnson88
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.

PostPosted: 14. May 2008 00:37
by Wiedmann
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.

PostPosted: 14. May 2008 00:55
by jamesjohnson88
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?