Will service work if url does not start with http:// ?

Version 1
    This document was generated from CDN thread

    Created by: Cindy Brozyno on 20-02-2012 05:16:42 PM
    I have a service that works fine on IIS 7.0, Server 2008. I placed it on the 'default website' that doesn't actually have a website address.
    We're moving it into production, onto IIS 6.0, Server 2003. Here, it's on a 'default website' that DOES have a website address.  It isn't working.
     
    It has a specialized Application Pool because it needs to access SQL server. In IIS 6, you can assign that to a Virtual Directory, so that's good.
     
    The Production server uses a url that does NOT have the http:// in front of it.  Just starts out with www.
    I've tried varied scenarios, and I get different results (none good).
     
    Using http://1.1.1.1/CiscoIPServices/.... - Bad Request (Invalid Hostname)
    Using http://www.dbiservices.com/... - Host Not Found
    Using www.dbiservices.com/.... - the service doesn't even find the first page.
     
    My thinking is that the CUCM and/or phone system needs the http:// , and because that's not part of the DNS structure of the URL, it's not picking it up.
    I am, of course, not coming to any conclusions, so I would appreciate any advice you might have.
     
    If there are other issues that could present this problem, please let me know.
    Thanks
     
    Cindy

    Subject: RE: Will service work if url does not start with http:// ?
    Replied by: David Staudt on 20-02-2012 05:27:01 PM
     
    Note 'http://' as part of a URL is the 'scheme' or transport, and is used to identify the type of communication.  It is not used in DNS lookup of the hostname, nor does it come into play on the server side with paths/directories/sites, etc.  I would definitely make sure that URLs as specified in UCM for phone services start with http://.
     
    A good test is to plug a PC into the phone's extra ethernet port and request the same URL that you've configured for the phone in a browser.

    Subject: RE: Will service work if url does not start with http:// ?
    Replied by: Jeffrey Ness on 20-02-2012 05:38:13 PM
    The phone requires the protocol (http or https if the version permits). It sounds like you may be running into a bug on old firmware where host headers are not properly sent in the webs request. This issue is fixed in later releases of IP phone firmware.

    Subject: RE: Will service work if url does not start with http:// ?
    Replied by: Cindy Brozyno on 22-02-2012 02:28:32 PM
    The http:// wasn't the problem. Turns out that DNS was not defined on the phones, so it couldn't find the host. We added it, and it works fine.