Looks like sugarcrm was using a nameserver that was decommissioned.
Even though /etc/resolv.conf had the new name server entry in it sugarcrm was still using the old address and resolving failed.
When connecting via the command line everything resolved properly.
Quick fix was to put
www.sugaroutfitters.com's ip address in /etc/resolv.conf