Old 11-17-2011, 09:33 AM   #1 (permalink)
Newbie
 
Join Date: Dec 2009
Posts: 2
kjurkic is on a distinguished road
Default Port forward works for IP but not FQDN

Hello all

Perhaps my search terms were wrong, but I did not find a post with this specific problem.

I have a working port forward to an internal web server, so that folks from off-site can type in the Untangle firewall IP and a sub-directory and get routed to the login page, ie __htt_p://xx.xx.xx.xx/egroupware

When they try the same with a FQDN, they get a "404 Page not found"
ie h_ttp://our.fqdn.ca/egroupware. I will note that this message is coming from the internal server, not from the untangle firewall.

I know that my forward rules are working as noted above, but I am curious as to why the FQDN would change the forwarding behavior?

The internal host does not have the FQDN assigned as host name; is this perhaps the problem?

thanks
Ken
kjurkic is offline  
Old 11-17-2011, 10:09 AM   #2 (permalink)
Untangle Ninja
 
sky-knight's Avatar
 
Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 8
Posts: 15,454
sky-knight is on a distinguished road
Default

FQDN doesn't change forwarding behavior, all the DNS name does is resolve to the IP you're using and the IP based forward is what delivers the packets.

What you need to do is fix your web server, it isn't configure to properly serve requests for the domain name, the key here is likely the host header configuration on the web server.
__________________
Rob Sandling, BS:SWE, MCP
Intouch Technology
Phone: 480-272-9889
rob@intouchtechllc.com

UntangleAppliances.com
Phone: 866-794-8879
sky-knight is offline  
Old 11-17-2011, 12:37 PM   #3 (permalink)
Untangle Ninja
 
Mathiau's Avatar
 
Join Date: Feb 2008
Location: Costa Frickn' Rica
Posts: 1,467
Mathiau is on a distinguished road
Send a message via AIM to Mathiau Send a message via MSN to Mathiau Send a message via Yahoo to Mathiau
Default

yup, did you also set your FQDN to forward properly to your IP from your domain provider?
__________________
Def1:Started:UT 7.1 x64 -- Current :UT 9.1 x64| Gigabyte GM-G31 mATX | Intel Q8200 | 8G DDR2 800 | 80G WD | 4x Intel Pro 1000 GT NIC's | Corsair 550W PSU | Norco RPC-250 2U Case | 50mb/50mb | 10 users
Mathiau is offline  
Old 11-17-2011, 04:07 PM   #4 (permalink)
Newbie
 
Join Date: Dec 2009
Posts: 2
kjurkic is on a distinguished road
Default FQDN port forward

Hi & thanks guys

I kinda figured it wasn't in issue with Untangle, but wanted to positively remove it as a candidate; I have to support a lot of different IT, security, media, & communication systems without the opportunity to become an expert at any one.

Mathiau: my FQDN is good; as I dug a bit more, I was able to confirm that the request was going through the firewall, but just not getting proper response from the internal server. It was confusing me that the internal server could function properly serving the IP request, but not the FQDN request.

regards
Ken
kjurkic is offline  
Old 11-17-2011, 04:22 PM   #5 (permalink)
Untangle Ninja
 
sky-knight's Avatar
 
Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 8
Posts: 15,454
sky-knight is on a distinguished road
Default

That is usually the "host header", it's the magic that allows a web server to host multiple domains.

If you provide the www server and version you're using someone may be able to point you in the right direction.
__________________
Rob Sandling, BS:SWE, MCP
Intouch Technology
Phone: 480-272-9889
rob@intouchtechllc.com

UntangleAppliances.com
Phone: 866-794-8879
sky-knight is offline  
Old 11-18-2011, 12:42 PM   #6 (permalink)
Untangle Ninja
 
Mathiau's Avatar
 
Join Date: Feb 2008
Location: Costa Frickn' Rica
Posts: 1,467
Mathiau is on a distinguished road
Send a message via AIM to Mathiau Send a message via MSN to Mathiau Send a message via Yahoo to Mathiau
Default

Apache

http://www.thegeekstuff.com/2011/07/...-virtual-host/

IIS6
http://www.visualwin.com/host-header/

IIS7
http://technet.microsoft.com/en-us/l...95(WS.10).aspx
__________________
Def1:Started:UT 7.1 x64 -- Current :UT 9.1 x64| Gigabyte GM-G31 mATX | Intel Q8200 | 8G DDR2 800 | 80G WD | 4x Intel Pro 1000 GT NIC's | Corsair 550W PSU | Norco RPC-250 2U Case | 50mb/50mb | 10 users
Mathiau is offline  
Closed Thread

Tags
failure, fqdn, port forward, web

Thread Tools

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 On



All times are GMT -7. The time now is 06:24 AM.


© 2010 Untangle, Inc. All Rights Reserved.   SEO by vBSEO 3.6.0 PL2