Http Local Host, Https over DNS

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

Http Local Host, Https over DNS

Postby jmair » 07. September 2010 21:52

I've run into something I haven't seen and could use a tip if anyone has any ideas.
I've downloaded 1.7.3 and created my test site. After moving it to the Windows 2008 64bit server it's been working fine also, untill I try to connect to it via the domain.

my NAT works fine (able to remote to my webserver with Ip and domain name.)
I can connect to the website on my intranet using its local ip.
I can't connect using the domain name.
I can connect to the site with https however using the https://www.domain.com

Windows Firewall disconnected.

I've checked the httpd to make sure the directory goes to my site.

It acts like there is a Deny somewhere.. Am I missing that, if so, where is it located in Wamp?


Thanks guys.
jmair
 
Posts: 4
Joined: 21. January 2010 18:16

Re: Http Local Host, Https over DNS

Postby JonB » 07. September 2010 23:56

Three things

1. What is the exact error you are getting?

pasting it into your reply is a good tactic

2. What errors are being recorded in the Apache error.log?

3. Not a question, a 'quick fix' for the moment perhaps -
an entry pointing your domain to the local IP in the hosts file(s). :idea:

(have you tried pinging or tracerouting the http address?)

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Http Local Host, Https over DNS

Postby sbarrow47 » 08. September 2010 01:16

If you're trying to access it using the public ip/domain from inside your nat, usually it won't work.
sbarrow47
 
Posts: 3
Joined: 08. September 2010 01:13

Re: Http Local Host, Https over DNS

Postby JonB » 08. September 2010 01:21

Sam -
that would only be true with a router that doesn't support NAT loopback AND you were using the IP - not the FQDN.

8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Http Local Host, Https over DNS

Postby jmair » 08. September 2010 03:28

JonB wrote:Sam -
that would only be true with a router that doesn't support NAT loopback AND you were using the IP - not the FQDN.

8)


Well, I dunno. Sam could be onto something (however I'm not sure why the https is a workaround for it.) When at home, I'm able to access the site using the www.domain.com, but can't on location. This includes the external ip of the site.. I didn't have this problem when I was on a 2003 network using WAMP, however I did just upgrade my servers to 2008 r2 from 2003, so there could be a dns setting on my server somewhere I didn't set yet.

The page that's displayed is the Internet Explorer cannot display the webpage Image

Thanks for the help guys.
jmair
 
Posts: 4
Joined: 21. January 2010 18:16

Re: Http Local Host, Https over DNS

Postby JonB » 08. September 2010 05:05

If you supply your own DNS on the local loop - that could easily be the problem.

When you are where the server is; traceroute it, that's what the tool is for. or Ping it if that blows wind for ya.

BTW - here's a good explantion of NAT loopback. I guess looking to see if your router has a setting for NAT loopback seems like a pretty good idea ATM.

Ihttp://opensimulator.org/wiki/NAT_Loopback_Routers

http://forums13.itrc.hp.com/service/for ... Id=1374507

If you don't have answer soon, try using Wireshark (its free)

Good Luck.
:shock:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 218 guests