Testing RPC over HTTP inside the network

Posted on 2007-11-28
Last Modified: 2008-03-06
I'm looking to setup and configure RPC over HTTP.  I want to setup a test mailbox to configure and test it.  Is it possible to test RPC over HTTP on a computer that is never outside the domain?  It is a desktop on the domain.  
Question by:pcmb
  • 3
  • 2
LVL 12

Expert Comment

ID: 20366250
Yes it is.  In the configuration of the Outlook Client, choose to use HTTP connections on a fast network before TCP/IP.

Start --> Settings --> Control Panel --> Mail
Click Email Accounts
Choose view or change existing Email accounts
Click Change
Click More Settings
On the Connection Tab, click Exchange Proxy Settings (if greyed out, select Connect to my Exchange Server using HTTP)
Select On fast network, connect using HTTP first, then connect using TCP/IP

You can visually see which connection you are using by using Start --> Run
Type in OUTLOOK.EXE /RPCDIAG and press enter.

This will give you a monitor to tell you what you are connecting to and what kind of protocol.  Included is information regarding successfull connections and failed connections.


Author Comment

ID: 20366623
Upon completing your instructions, I click OK to close the "Microsoft Exchange Proxy Settings" window and it states that "The proxy server you have specified is invalid. Please correct it and try again".  I don't have a proxy server.  I entered the URL to access OWA externally in the field for connection settings for Exchange Proxy.  Any thoughts on what that would be?  Thanks.
LVL 12

Accepted Solution

weareit earned 250 total points
ID: 20366976
Did you configure the server side first?

As Simon has stated in the past:

Basically RPC over HTTPS fails on three points....

- SSL certificate acceptance
- Authentication
- Registry settings

If you configured your server-side properly then this is a case of DNS and IIS.  If you are using as the external address for your mail server, then your internal domain would need to be configured to recognize the address at it's internal location.  This is for a variety of reasons, prevents uneeded DNS lookup's/queries to outside servers just to loopback to an internal address, allows for faster access for internal clients, prevents uneeded/unwanted bandwith usage.

Essentially you would accomplish this by doing the following on your DNS server.
1.  Create a new forward lookup zone in DNS called (mydomain would be substituted with your actuall external domain name).
2.  Create a host record for your mail server.
3.  Make your DNS Server a Name Server for the new zone.
4.  If your internal clients are going to use multiple host headers to go to different addresses, i.e.,,, create assosciated Host Records for each header value.
5.  Create associated CNAME Records for any header value that is associated with your server:

(same as parent folder)      Name Server (NS)            DNS1.MYDOMAIN.LOCAL
DNS1                  Host (A)         
MAIL1                  Host (A)         
MAIL                  Alias (CNAME)            MAIL1.MYDOMAIN.LOCAL
MYSITE                  Host (A)         <---- Assumes an offsite hosted mysite
WWW                  Host (A)         <---- Assumes an offsite hosted www

You may also want to create an ALIAS record on your internal DNS primary zone that points back to the host specified on your external record, in my example above I would create a CNAME/ALIAS record on my DNS server that would be named MAIL.

(same as parent folder)      Name Server (NS)            DNS1.MYDOMAIN.LOCAL
DNS1                  Host (A)         
MAIL1                  Host (A)         
MAIL                  Alias (CNAME)            MAIL1.MYDOMAIN.LOCAL

After that, open IIS Manager and modify the OWA website (generally Default Web Site)
Right-click on Default Web Site and choose Properties
Click on Advanced
You will be presented with a screen that has ip adresses, ports and host header values.
By default for the Default Web Site the first entry is:

Default               80

You would need to add the following (using my example):

Default               80               mail
Default               80               mail.mycompany.local
Default               80     



Author Comment

ID: 20367062
Thanks.  I'll try these steps and give you feedback.

Author Comment

ID: 20471565
I setup an Outlook 2007 client to work with RPC over HTTP while on the LAN and it worked.  Then I dropped of the LAN on to a Mobile air card and it is still working.  However, I then tried to set it up remotely on another computer that is not a member of that domain and has Outlook 2003 and I was not able to get it to connect.  Does the client need to be a domain member?  Does the initial setup need to occur on the LAN?

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Multiple SSL on Exchange 2010 3 27
New firewall implementation guidance 12 63
Exchange 2010 RU 16 5 40
Exchange 2010 SMTP Question 1 38
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question