router accessing localhost rather than website
Posted: 18. July 2010 17:01
I am running Xampp 1.73, windows 7 ultimate, bitdefender ts firewall, dell true mobile 2300 - ddwrt.
This is bugging me because I had this router set up before to be able to access all websites by domain name local intranet or internet. Without any mods But since we moved to a new home And I had to set up everything again Same static IP.... It goes straight to the xxx.com/Xampp no matter what site I use.
this is the routers table.
I have Dyndns.org set in the router for the 4 host names to update.
host; xxx.com -a xxx1.com -a xxx2.com etc. works quite well.
I am using 1 comp/server to host all sites.
All host host names, ip's are bound by Mac address in static routes
Ip bindings in router
Each host is listed in the Windows host file
As I have done before and is the same as the above setup minus the mac addresses
host file
I have forwarded all ports to each and turned off the nat firewall which I never had to do before
I am running on Windows 7 ultimate behind a Bitdefender total security firewall. never had any problems there before.
Apache shows the router connecting to it and not the ip of the specific networked computer.
access log
Is router then my local dns server? And is the host file itself a waste of time?
I have tried both Name and IP based virtual hosts. Each host having it's own separate ip. All Ips are also configured in the local area connection, incuding the default gateway being the router; the second gateway as has been configured in the past and has always been dyndns.orgs name server.
I have used RDP to configure all theses settings before and have never had any issues... Even with file sharing turned on, this has always worked. IIS has been configured to run on different ports, as IIs is used for file sharing on the network.
Sorry if I seem to be rambling now but I am pissed.
Anyway any help here would be appreciated.
White.
This is bugging me because I had this router set up before to be able to access all websites by domain name local intranet or internet. Without any mods But since we moved to a new home And I had to set up everything again Same static IP.... It goes straight to the xxx.com/Xampp no matter what site I use.
this is the routers table.
- Code: Select all
192.168.1.0 255.255.255.0 0.0.0.0 LAN & WLAN
xx.xx.xx.0 255.255.255.0 0.0.0.0 WAN
169.254.0.0 255.255.0.0 0.0.0.0 LAN & WLAN
0.0.0.0 0.0.0.0 xx.xx.xx.1 WAN
I have Dyndns.org set in the router for the 4 host names to update.
host; xxx.com -a xxx1.com -a xxx2.com etc. works quite well.
I am using 1 comp/server to host all sites.
All host host names, ip's are bound by Mac address in static routes
Ip bindings in router
- Code: Select all
Mac address host name Ip Address
00:00:00:00:00:00 xxx.com 192.168.xxx.xxx
Each host is listed in the Windows host file
As I have done before and is the same as the above setup minus the mac addresses
host file
- Code: Select all
127.0.0.1 localhost
127.0.0.1 ::localhost
192.168.xxx.xxx xxx.1.com
192.168.xxx.xxx xxx.2.com
192.168.xxx.xxx xxx.3.com
192.168.xxx.xxx xxx.4.com
I have forwarded all ports to each and turned off the nat firewall which I never had to do before
I am running on Windows 7 ultimate behind a Bitdefender total security firewall. never had any problems there before.
Apache shows the router connecting to it and not the ip of the specific networked computer.
access log
- Code: Select all
192.168.1.1 - - [18/Jul/2010:10:09:04 -0500] "GET /xampp/ HTTP/1.1" 401 1287 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6"
Is router then my local dns server? And is the host file itself a waste of time?
I have tried both Name and IP based virtual hosts. Each host having it's own separate ip. All Ips are also configured in the local area connection, incuding the default gateway being the router; the second gateway as has been configured in the past and has always been dyndns.orgs name server.
I have used RDP to configure all theses settings before and have never had any issues... Even with file sharing turned on, this has always worked. IIS has been configured to run on different ports, as IIs is used for file sharing on the network.
Sorry if I seem to be rambling now but I am pissed.
Anyway any help here would be appreciated.
White.