Go Back   Computer Forums > General Computing > Networking | DNS
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 06-12-2011, 08:15 PM   #1
Site Team
 
celegorm's Avatar
 
Join Date: Sep 2006
Posts: 10,713
Send a message via AIM to celegorm
Default Can't view my own site on local network

Ok, so I have a difficult one for you guys that I can't figure out. My windows home server comes with a domain name that works out to be <domain>.homeserver.com

I can't seem to connect to the page from my local network (aka, at my apartment). However when I leave my apartment I can view the site and do whatever I want with it. My main point of using the site is as an SVN server so I need to be able to type the url in from my local network.

I've played with all the security settings in the router but can't figure out why it can't connect while local but is free to connect while I'm out of my apartment.

Ideas on things I could try so it's available on-site again?
__________________

__________________
"as a fanboy i refuse to admit it and will pull countless things out of my butt to disprove it"

Team Thelegorm! Total Kills: 21 (i iz in uor profile, editsing your sigz)
celegorm is offline   Reply With Quote
Old 06-14-2011, 03:25 PM   #2
Daemon Poster
 
The_Lucas's Avatar
 
Join Date: May 2010
Posts: 749
Send a message via ICQ to The_Lucas Send a message via MSN to The_Lucas Send a message via Yahoo to The_Lucas
Default Re: Can't view my own site on local network

Have you checked your firewall settings?
Also, what are the settings you used to set up port forwarding?
__________________

__________________
The Enigma Community
http://enigmacommunity.org
My Blog
http://lucasbytegeni.us
Quote:
Originally Posted by krone6 View Post
Doesn't "loatheing" something the same as "love?" Whenever i hear it be used the person "loves" that product or service or whatever it is they're talking about.
The_Lucas is offline   Reply With Quote
Old 06-14-2011, 04:00 PM   #3
JCB
Daemon Poster
 
JCB's Avatar
 
Join Date: Oct 2004
Posts: 1,302
Default Re: Can't view my own site on local network

some ideas on the top of my head

-Maybe when your on the LAN its using an internal DNS entry which is different to the external one? Ping the domain name when you are on the LAN and WAN, are they the same ip ?
-Can you telnet to port 80 on the LAN intrnally and externally?
-Does the host have firewall started (In windows and any AV you might have installed) if yes stop it and try internally
-Is ISA installed on the server? If yes I bet you need to add the "Internal Traffic" network in to one of the rules
-Get an RJ45 cable and plug one end in to the server and the other in to another computer, then give the computer the same subnet + a different IP address. You should then be able to ping the server, can you browse to the site now? This can rule out networking if it doesnt work, if it does work there is a network issue

-What OS is the server?
__________________
Check Out My Computer Related YouTube Channel @ Click Here
JCB is offline   Reply With Quote
Old 06-14-2011, 06:12 PM   #4
Site Team
 
celegorm's Avatar
 
Join Date: Sep 2006
Posts: 10,713
Send a message via AIM to celegorm
Default Re: Can't view my own site on local network

The firewall is open, I can do anything and everything remotely and I can access any shared folders on it (also available through the site). I have forwarded ports 80,443, and 8443 from any host (internal and external) to the server at 192.168.248 which is that static IP of the server on my network.

JCB,
When I ping, the IP always resolves to the same IP.
I have telnet disabled on the server. It's always been disabled, even when I could reach it internally.
No OS based firewall, and the anti-virus does not have one either
I'm not sure honestly. I've never had to touch it, it just simply worked in the past.
I'm not sure I understand what you are suggesting with the network cable Idea.

The server itself is a Windows Home Server.

I should also make sure it's clear because reading through I don't think I did in my first post, This was working internally at one point. The only "change" has been moving apartments but all hardware has remained the same, even the network cables. I would have expected the move to affect outside traffic coming in, not inside staying in. I am still able to access all other services that the server provides while I'm at my apartment, just not the webpage. This is an issue since anything I do in my SVN needs to see that URL, no matter where I am.
__________________
"as a fanboy i refuse to admit it and will pull countless things out of my butt to disprove it"

Team Thelegorm! Total Kills: 21 (i iz in uor profile, editsing your sigz)
celegorm is offline   Reply With Quote
Old 06-15-2011, 12:19 PM   #5
j03
~~~~~~~~
 
Join Date: Jan 2005
Location: Wales
Posts: 5,556
Send a message via MSN to j03
Default Re: Can't view my own site on local network

This is fairly normal behaviour. I can't remember the exact reason for it... I think that it might have been to do with NAT/Your routers firewall.

When you try and access it with your domain name, the DNS lookup will report your external IP address as the IP address associated with the domain (because of the A Record). Because your machine is INSIDE your network, traffic will not pass through your firewall - and as a result, the port-forward you created for your WHS box isn't "seen" by your computer.

If you add a line like this:

Code:
xxx.xxx.xxx.xxx domain.homeserver.com
where xxx.xxx.xxx.xxx is the INTERNAL IP of your server, to your hosts file (C:/Windows/System32/Drivers/etc/hosts under windows, /etc/hosts for Unix like systems (incl. OSX)), then your computer will ignore the IP address reported by the DNS server, and you should be able to access the server through the domain name.

My reasoning for this might not be totally correct... but I think that's the jist of it!

I hope that this works for you... my know how you get on with it

Obviously this isn't quite ideal if you're on a portable machine, since you'll have to keep changing the hosts file... but it's a fix, none the less. Someone should build a hosts-file selector!
j03 is offline   Reply With Quote
Old 06-17-2011, 10:28 PM   #6
Site Team
 
celegorm's Avatar
 
Join Date: Sep 2006
Posts: 10,713
Send a message via AIM to celegorm
Default Re: Can't view my own site on local network

Sorry for the delay in my response.

I've tried playing with the hosts file and that does not appear to have helped. I've added the line 184.59.X.X <domain>.homeserver.com and it still will not connect. I see no NAT settings in my router to play with, and tried completely disabling the router's firewall.

As an aside, when editing the hosts file, I restarted after the edit, and flushed the dns.
__________________
"as a fanboy i refuse to admit it and will pull countless things out of my butt to disprove it"

Team Thelegorm! Total Kills: 21 (i iz in uor profile, editsing your sigz)
celegorm is offline   Reply With Quote
Old 06-18-2011, 12:47 PM   #7
j03
~~~~~~~~
 
Join Date: Jan 2005
Location: Wales
Posts: 5,556
Send a message via MSN to j03
Default Re: Can't view my own site on local network

184.59.xx.xx isn't the internal IP of your server - I mean like... 192.168.x.x or 10.x.x.x or 172.16.x.x.x
j03 is offline   Reply With Quote
Old 06-19-2011, 02:53 PM   #8
Site Team
 
celegorm's Avatar
 
Join Date: Sep 2006
Posts: 10,713
Send a message via AIM to celegorm
Default Re: Can't view my own site on local network

Ah well that would make a lot of sense actually... I'll give that a shot and see how things work while mobile.

Thanks!
__________________
"as a fanboy i refuse to admit it and will pull countless things out of my butt to disprove it"

Team Thelegorm! Total Kills: 21 (i iz in uor profile, editsing your sigz)
celegorm is offline   Reply With Quote
Old 06-23-2011, 07:00 PM   #9
Site Team
 
celegorm's Avatar
 
Join Date: Sep 2006
Posts: 10,713
Send a message via AIM to celegorm
Default Re: Can't view my own site on local network

Sorry for the delay (again), I've been scatter-brained prepping for my girlfriends return from france.

That did fix the issue, but as you mentioned it's then a problem with the hosts entry while off-site. I tried putting both local and public IPs in, in the hopes that things would detect properly... Needless to say it was a vain hope, but I had to try.

I guess I'll just have to suck it up and and use something like Himanchi to make this work consistently.

Thanks for all of your time!
__________________
"as a fanboy i refuse to admit it and will pull countless things out of my butt to disprove it"

Team Thelegorm! Total Kills: 21 (i iz in uor profile, editsing your sigz)
celegorm is offline   Reply With Quote
Old 06-25-2011, 11:15 AM   #10
Site Team
 
celegorm's Avatar
 
Join Date: Sep 2006
Posts: 10,713
Send a message via AIM to celegorm
Default Re: Can't view my own site on local network

Well now I just feel like a moron...

It dawned on my last night that about two weeks before I moved, I upgraded my firmware to DD-WRT. As much as I remembered testing it to make sure everythign worked, I don't recall ever testing to make sure the SVN stuff still worked. So I flashed back to my Linksys firmware... Now everything works... Bad build most likely but it still sucks. So now I'll walk away with my tail between my legs for not testing properly when I did the flash.
__________________

__________________
"as a fanboy i refuse to admit it and will pull countless things out of my butt to disprove it"

Team Thelegorm! Total Kills: 21 (i iz in uor profile, editsing your sigz)
celegorm is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 09:31 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0