VHOST - Unable to access site from internet

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

VHOST - Unable to access site from internet

Postby parasoaf » 12. June 2009 11:54

Hello,
I've installed xampp-win32-1.7.1.exe on an win 2003 server and it's running successfully on my local machine as well as on LAN.

I'm able to bring up the site sucessfully with Virtual Hosting with the following methods

http://localhost/my-site/ ------ Locally from the windows 2003 server
http://www.my-site.org/ ------ Locally from the windows 2003 server
http://my-site.org/ ------ Locally from the windows 2003 server
http://192.168.0.76/my-site/ ------ Anywhere from LAN using the ip address (LAN) of the windows 2003 server

The problem is that I can't access my-site.org from internet.

The ping command also shows the right results ie. (where XXX.XXX.XX.XX is the internet ip address of my windows 2003 server)

C:\Documents and Settings\Administrator>ping my-site.org

Pinging my-site.org [XXX.XXX.XX.XX] with 32 bytes of data:

Reply from XXX.XXX.XX.XX: bytes=32 time<1ms TTL=128
Reply from XXX.XXX.XX.XX: bytes=32 time<1ms TTL=128
Reply from XXX.XXX.XX.XX: bytes=32 time<1ms TTL=128
Reply from XXX.XXX.XX.XX: bytes=32 time<1ms TTL=128

Ping statistics for XXX.XXX.XX.XX:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

Any help or pointers would be much appreciated.

Regards,
Paras.
parasoaf
 
Posts: 3
Joined: 12. June 2009 11:10

Re: VHOST - Unable to access site from internet

Postby Wiedmann » 12. June 2009 12:29

The problem is that I can't access my-site.org from internet.

Maybe a wrong router/firewall configuration.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: VHOST - Unable to access site from internet

Postby parasoaf » 12. June 2009 13:08

Tried without the Router on a Windows XP machine with totally new installation ..the results are same as mentioned in the original post.

Still can't access my-site.org from the internet.

Is there any setting that needs to be modified to specify the internet ip address in any of the configuration files ?
parasoaf
 
Posts: 3
Joined: 12. June 2009 11:10

Re: VHOST - Unable to access site from internet

Postby Wiedmann » 12. June 2009 14:23

Is there any setting that needs to be modified to specify the internet ip address in any of the configuration files ?

Regarding XAMPP/Apache?
--> No.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: VHOST - Unable to access site from internet

Postby parasoaf » 12. June 2009 14:40

Since you already answered "NO" so i guess it doesn't matter XAMPP/Apache?

Any other pointers ???
parasoaf
 
Posts: 3
Joined: 12. June 2009 11:10

Re: VHOST - Unable to access site from internet

Postby mahes » 24. June 2009 07:20

am also have this problem.. what is the solution.........
mahes
 
Posts: 20
Joined: 04. February 2008 10:47

Re: VHOST - Unable to access site from internet

Postby Nobbie » 24. June 2009 10:09

mahes wrote:am also have this problem.. what is the solution.........


You have to configure your router correctly, in order to route the tcp requests on port 80 to your server ip. It depends on your router where and how to establish that.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: VHOST - Unable to access site from internet

Postby mahes » 24. June 2009 10:15

Its static IP, how can i.....
mahes
 
Posts: 20
Joined: 04. February 2008 10:47

Re: VHOST - Unable to access site from internet

Postby Nobbie » 24. June 2009 10:20

What is static, what means "how can i"?
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: VHOST - Unable to access site from internet

Postby mahes » 24. June 2009 10:24

Sorry for the short term reply... AM using static ip with out router..For this can u route me in correct direction because am confused after read lot of articles....
mahes
 
Posts: 20
Joined: 04. February 2008 10:47

Re: VHOST - Unable to access site from internet

Postby Nobbie » 24. June 2009 11:04

I did already point you in the correct direction:

You have to configure your router correctly, in order to route the tcp requests on port 80 to your server ip.


What is unclear with that? Your server is connected to your router (i think) and it has a different ip than your router. Your router usually has two different IPs, the public WAN IP (like 170.164.100.64) and a local LAN IP (192.168.1.1 or similar). All PCs in the LAN (as well as the server) have local IPs in the same scope as the local LAN IP of the router, i.e. like 192.168.x.x

You have to configure your router to route the incoming tcp requests from port 80 to the local LAN IP of your server (where you installed Xampp). The (static) public IP or even static local IP of the router are not important for that.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 101 guests