Solved

Testing RPC over HTTP inside the network

Posted on 2007-11-28
6
1,108 Views
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.  
0
Comment
Question by:pcmb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 12

Expert Comment

by:weareit
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.

http://www.petri.co.il/configure_rpc_over_https_on_a_single_server.htm
http://www.petri.co.il/testing_rpc_over_http_connection.htm

-saige-
0
 
LVL 1

Author Comment

by:pcmb
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.
0
 
LVL 12

Accepted Solution

by:
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 mail.mycompany.com 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.com (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. mail.domain.com, smtp.domain.com, www.domain.com, create assosciated Host Records for each header value.
5.  Create associated CNAME Records for any header value that is associated with your server:

MYDOMAIN.COM
(same as parent folder)      Name Server (NS)            DNS1.MYDOMAIN.LOCAL
DNS1                  Host (A)                   192.168.1.3
MAIL1                  Host (A)                   192.168.1.5
MAIL                  Alias (CNAME)            MAIL1.MYDOMAIN.LOCAL
MYSITE                  Host (A)                  62.48.192.51 <---- Assumes an offsite hosted mysite
WWW                  Host (A)                  66.142.78.23 <---- 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.

MYDOMAIN.LOCAL
(same as parent folder)      Name Server (NS)            DNS1.MYDOMAIN.LOCAL
DNS1                  Host (A)                   192.168.1.3
MAIL1                  Host (A)                   192.168.1.5
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               mail.mycompany.com

HTH,

-saige-
0
 
LVL 1

Author Comment

by:pcmb
ID: 20367062
Thanks.  I'll try these steps and give you feedback.
0
 
LVL 1

Author Comment

by:pcmb
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?
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

724 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