Link to home
Start Free TrialLog in
Avatar of Zakee Abdurrasheed
Zakee AbdurrasheedFlag for Virgin Islands, U.S.

asked on

MX record Exchange 2007 OWA

I just installed a new exchange 2007 sp1 server. Now I need to change the MX record to point to it. I went to the site that's hosting our domain name. This site also hosts our website. So our domain name and website are the same, for example www.domainname.com and domainname.com are our websites hosted by this site. When I changed the MX record and A record to point to our exchange server's Public IP address our exchange server and OWA works without a hitch, but the problem now becomes our websites now point to the exchange server as well. So I had to change them back. I tried adding another MX record like exchange.domainname.com and then have the A record point from it to our Public IP address. When I do this, the website of course works, but now can't connect via OWA. I send a test email from my yahoo email account, and I'm assuming it goes through because it doesn't bounce back, but when I try the OWA, I get the login window, but after entering my credentials to log on, i get the error message "Outlook Web Access could not connect to Microsoft Exchange. If the problem continues, contact technical support for your organization." When I tested it at www.testexchangeconnectivity.com when it validates the hostname domainname.com it is pointing to the IP address of the site that's hosting our website, not the exchange server. How can I get this corrected so the OWA will work as well as emails will go to our exchange server while our website is still accessible... Please guide.
Avatar of vahiid
vahiid
Flag of Afghanistan image

Can you test the OWA internally using the internal IP address to make sure it is functioning properly?

If it is then you just need to change the OWA external address in EMC:

- Open Exchange Management Console
- Click on Server Config -> Client Access
- Select "Outlook Web Access" tab
- Right click on your OWA and choose properties
- Fill in the correct "External URL" -> https://mail.domain_name.au/owa

Vahid
question are you using  SSL?
if you are using SSL  then you will be able to access your OWA  using:
https://owa\exchange on port 443
I think your website  is listen on port 80

now if you configure owa to listen on port 80 and  and  not using ssl  then you have two options:
1.-Install SSL  on your OWA and buy a certificate there are some cheaper (go Daddy),install the certificate  
after that you  will have this
owa- https://yourowa/exchange listening on port 443
web site - http://yourwebsite.xxx
 
2.-add with your dns provider a dns  record for your  owa server(use new IP)
on your owa server .configure the owa server to listen on the new IP

regards,
Avatar of Zakee Abdurrasheed

ASKER

Just a reminder, I am able to connect to the OWA login screen... But after I put in my domain\username and password and try to connect, that's when I get the error. And yes I'm using SSL. When I directed the MX and A records to the domain.com then everything worked, but my company website which is hosted elsewhere didn't work. Now that I pointed the MX record to exchange.domain.com, an the A record for that to my exchange server, the OWA isn't working... Is it some setting I'm not doing with the MX records or something?
your MX record is your email domain and that DNS   record is assigned to your exchange server(not your Owa).
you need another IP public , add this new IP to your OWA server(we have server configured  with 3 diferents IPs), create  a new host A record for  this IP on your internet DNS management site (use your owa domain without https of course, our owa address is https:mail3.datamark.net ,so I created a host A with a new Ip assigned to mail3.datamark.net)
configure the Owa virtual directory to listen on the new IP
and that should work
Regards,
if you dont have another IP public then you can create CNAME record for your OWA  on the internet DNS managment site (assign it  to your owa.domain.xxx)
wait for internet dns replication or  test using  owa IP,
https://xx.xx.xx.xx\exchange 

here's the exact error message in detail that I'm getting. Maybe this should give more insight to my problem:

Outlook Web Access could not connect to Microsoft Exchange. If the problem continues, contact technical support for your organization.

Request
Url: https://exchange.mymail.com:443/owa/default.aspx
User host address: 208.xxx.xx.18

Exception
Exception type: Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException
Exception message: Cannot open mailbox /o=GEC/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=mrme.

Call stack
Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry)
Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry)
Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString)
Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags)
Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString)
Microsoft.Exchange.Data.Storage.MailboxSession.Open(ExchangePrincipal mailboxOwner, WindowsPrincipal authenticatedUser, CultureInfo cultureInfo, String clientInfoString)
Microsoft.Exchange.Clients.Owa.Core.OwaWindowsIdentity.CreateMailboxSession(ExchangePrincipal exchangePrincipal, CultureInfo cultureInfo)
Microsoft.Exchange.Clients.Owa.Core.UserContext.Load(OwaContext owaContext)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.CreateUserContext(OwaContext owaContext, UserContextKey userContextKey, UserContext& userContext)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.PrepareRequestWithoutSession(OwaContext owaContext, UserContextCookie userContextCookie)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.InternalDispatchRequest(OwaContext owaContext)
Microsoft.Exchange.Clients.Owa.Core.RequestDispatcher.DispatchRequest(OwaContext owaContext)
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Inner Exception
Exception type: Microsoft.Mapi.MapiExceptionNetworkError
Exception message: MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80040115, ec=-2147221227) Diagnostic context: ...... Lid: 12696 dwParam: 0x6D9 Msg: EEInfo: Generation Time: 2009-12-03 10:08:33:145 Lid: 10648 dwParam: 0x6D9 Msg: EEInfo: Generating component: 2 Lid: 14744 dwParam: 0x6D9 Msg: EEInfo: Status: 1753 Lid: 9624 dwParam: 0x6D9 Msg: EEInfo: Detection location: 501 Lid: 13720 dwParam: 0x6D9 Msg: EEInfo: Flags: 0 Lid: 11672 dwParam: 0x6D9 Msg: EEInfo: NumberOfParameters: 4 Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[0]: Unicode string: ncacn_ip_tcp Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[1]: Unicode string: EXCHANGE.gecusvi.com Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[2]: Long val: -1527653632 Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[3]: Long val: 382312662 Lid: 19778 Lid: 27970 StoreEc: 0x80040115 Lid: 17730 Lid: 25922 StoreEc: 0x80040115

Call stack
Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Int32 ec, DiagnosticContext diagCtx)
Microsoft.Mapi.ExRpcConnection.Create(ConnectionCache connectionCache, ExRpcConnectionCreateFlag createFlags, ConnectFlag connectFlags, String serverDn, String userDn, String user, String domain, String password, String httpProxyServerName, Int32 ulConMod, Int32 lcidString, Int32 lcidSort, Int32 cpid, Int32 cReconnectIntervalInMins, Int32 cbRpcBufferSize, Int32 cbAuxBufferSize)
Microsoft.Mapi.ConnectionCache.OpenMapiStore(String mailboxDn, Guid mailboxGuid, Guid mdbGuid, ClientIdentityInfo clientIdentity, String userDnAs, OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId)
Microsoft.Mapi.ConnectionCache.OpenMailbox(String mailboxDn, Guid mailboxGuid, Guid mdbGuid, WindowsIdentity windowsIdentityAs, String userDnAs, OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId)
Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry)
ASKER CERTIFIED SOLUTION
Avatar of Zakee Abdurrasheed
Zakee Abdurrasheed
Flag of Virgin Islands, U.S. image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial