Announcement

Collapse
No announcement yet.

Error 405 when moving RPC virtual directory to another site.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error 405 when moving RPC virtual directory to another site.

    I need to move the Rpc and RpcWithCert virtual directories from the default website (server.domain.com) to another (mail.domain.com). I'm doing this because we have a SSL certificate for mail.domain.com and we intend to use this site for all our mail need (in fact, OWA and ECP are already working there).

    In order to move both virtual dirs, i created both Rpc and RpcWithCert virtual directories on mail.domain.com (path: %windir%\System32\RpcProxy), converted them to application and placed the application on DefaultAppPool (the same as the source).

    This isn't working (got http/405) and i believe i missed some ISAPI filter:

    Code:
    Testing HTTP Authentication Methods for URL https://mail.domain.com/rpc/rpcproxy.dll.
         The HTTP authentication test failed.
         
        Additional Details
         A Web exception occurred because an HTTP 405 - MethodNotAllowed response was received from IIS7.
    Regardless of what i did, i need those virtual directories on mail.domain.com, what's the proper way to move them?

    I'm using Windows Server Small Business 2011 + Exchange 2010 + IIS 7.

  • #2
    Re: Error 405 when moving RPC virtual directory to another site.

    It isn't clear why you are trying to move the Outlook Anywhere directory?
    In my experience, moving anything Exchange related out of the Default web site will cause problems. Throw in the fact that you are using SBS, which likes to do things its way and breaks other things if you don't, then I think you are just setting yourself up for a world of hurt.

    Is the SSL certificate that you are using a UC certificate or is this all to try and reuse a single name SSL certificate? If the latter, then you can do that easily on the default web site if, and ONLY if, your external DNS provider supports SRV records. If they don't, then Outlook Anywhere isn't going to work correctly because Autodiscover doesn't work.

    Being blunt, it looks like you are trying to get a solution to work, without actually identifying the original problem and therefore whether this is an appropriate solution, particularly within the confines of SBS and Exchange.

    Simon.
    --
    Simon Butler
    Exchange MVP

    Blog: http://blog.sembee.co.uk/
    More Exchange Content: http://exchange.sembee.info/
    Exchange Resources List: http://exbpa.com/
    In the UK? Hire me: http://www.sembee.co.uk/

    Sembee is a registered trademark, used here with permission.

    Comment


    • #3
      Re: Error 405 when moving RPC virtual directory to another site.

      The Default web site has a certificate created by the SBS installation, which is not issued by a public CA (such as Thawte or Verisign), and whose cn is computer.domain.com.

      I created the other (mail.domain.com) website in order to handle the email stuff, for this we bought a certificate. That's why i tried to move the Exchange stuff to mail.domain.com.

      Is it safe to change the SSL certificate of the Default web site from computer.domain.com to mail.domain.com? Or will it break stuff?

      Comment


      • #4
        Re: Error 405 when moving RPC virtual directory to another site.

        It is perfectly fine to change the SSL certificate on the default web site, but as this is SBS, you have to do it the way that SBS wants you to do it - basically via the wizards.

        A standard single name SSL certificate though is not really suitable, unless you can set SRV records. You need to use a Unified Communications certificate. You also have to get the naming convention correct - SBS likes to use remote.example.com for its host name, and unless careful configuration is done through the wizards, not using that name will cause things to not work correctly.

        Therefore using a commercial SSL certificate in place of the self signed certificate is fine, and is recommended, it just has to be done in the correct way.

        Simon.
        --
        Simon Butler
        Exchange MVP

        Blog: http://blog.sembee.co.uk/
        More Exchange Content: http://exchange.sembee.info/
        Exchange Resources List: http://exbpa.com/
        In the UK? Hire me: http://www.sembee.co.uk/

        Sembee is a registered trademark, used here with permission.

        Comment

        Working...
        X