I am running Apache on a windows XP machine....My webserver is working fine and I have php and mysql installed.

My problem is everyone can see my website except for the computers in my network. For example if you go to http://www.mysampledomain.com you would see my website but if I were to go the same domain I would get a 'cannot connect to server message'.

Any help on this issue would be greatly appreciated.

Thanks,

    I guess that you have a router between your network and Internet? If you do then this is unfortunatley not unusual. But there are no simple solution, at least not any that I know of. Use the ip-address of the computer instead and it will probably work.

      Yep...I have a linksys WCG200 that is setup to forward port 80 to my webserver. When I recently moved I switched over to this router from a WCG54GS which was working fine with the webserver.

      Could it be an issue with my ISP's DNS?? Maybe they haven't updated recently?

        Most likely it is your router that is causing the trouble. That's why I said that there is no simple solution.

          If you're using the "port forwarding" rule of a NAT-router to show the site, other machines on the network may not be able to see it.

          This is because the router refuses to pass the same connection through the NAT process twice (once for SNAT, again for DNAT). So technically this is a router limitation.

          There's no reason in principle why the same connection can't be SNAT'd and DNAT'd, some routers do have this feature. See the documentation for more info.

          Mark

            Write a Reply...