Page 1 of 1

Domain works outside network but not inside

PostPosted: 12. August 2008 05:21
by rayishu
Ok, so i have my webserver up and my static IP is configured, i have my domain set to the freedns.afraid.com nameservers and i have my apache setup properly (or so i think)

I can't access my domain from inside my network, when i type in the domain or Ip adress on any computer in my network i get a timed out error

but outside my personal network it works fine,

localhost works but many of my applications like wordpress and such have a path setup that uses the domain of the website, so i cant access those through localhost

anybody know whats wrong?

PostPosted: 12. August 2008 15:09
by Smackie
Do you have a router? if so forward port 80 same with your firewall forward port 80 as well ..

go into C:\WINDOWS\System32\drivers\etc and open host file up using notepad or wordpad or something simular. and under
127.0.0.1 localhost
type out this
127.0.0.1 (your url without www)
127.0.0.1 (your url with www)

This way if users type your url with or without www it will still go to your site.

PostPosted: 12. August 2008 17:06
by kevinduke
most home routers do not support loopback so you can not use a domain name within your LAN.

You can try editing the host file on the PC so your domain (www.domain.com) points to your internal ip address.

Like

192.168.1.1 domain.com

PostPosted: 12. August 2008 19:31
by rayishu
Thank you, excellent help (i dont have to use a proxy in order to see my web files anymore lol)