Deploying Exchange 2013

Part Three – Deploying Exchange 2013 On a ‘Greenfield Site’

KB ID 0000730


In part one and part two we looked at what to consider, and what you need to be doing before you reach for the install DVD. Now we will run through a complete Exchange deployment on a fresh site with no existing mail system.

Items covered below

Install Exchange Server 2013

Exchange 2013 Post Install Configuration Tasks

Enter the Exchange 2013 Server Product Key

Exchange 2013 Create a Default Send Connector

Exchange 2013 Adding a Domain Name as an Accepted Domain

Adding New Email Addresses to the Default Email Address Policy

Exchange 2013 Additional Post Installation Tasks

Moving Exchange 2013 Database(s)

Exchange 2013 Apply for, and Install a Third Party Certificate

Exchange 2013 Setting up ‘Split DNS’ for your Exchange Certificate

Exchange 2013 Test Mail Flow


Exchange Prerequisites


I’ve already written extensively about the hardware, software and environment requirements for Exchange 2013. Please run through the following article before you start.

Deploying Exchange 2013Part One – Prerequisites for Windows Server 2012

With a fully updated Windows Server 2012, that is a domain member your main three pre deployment tasks are to install the following pieces of software.

1. Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit.

Exchange 2013 Setup Media

2. Microsoft Office 2010 Filter Pack 64 bit

Exchange 2013 Setup Media

3. Microsoft Office 2010 Filter Pack 64 bit

Exchange 2013 Setup Media

Install Exchange Server 2013

1. Insert the install DVD and auto-run the setup.

Exchange 2013 Setup Media

2. Next > Let it check for updates.

2013 Updates

3. Next.

Exchange 2013 Updates

4. It will copy the setup files to the server.

Exchange 2013 Greenfield

5. Next.

Start Exchange 2013

6. Accept the EULA > Next.

Accept Exchange EULA

8. Next.

Exchange 2013 Setup

9. Select the roles required, I’m just having one server so I’m selecting both > Next.

Note: Current Microsoft thinking is to NOT separate out roles like you did with Exchange 2007 and 2010, if you deploy multiple servers deploy multiple roles.

EXchange 2013 Server Roles

10. Set the install path for the Exchange program files. If you change form the default, and you are deploying multiple Exchange servers, try to keep the path the same for all > Next.

Exchange 2013 Install Location

11. Select an Organization name > Next.

Exchange 2013 Organization

12. Select if you want to disable the built in malware protection or not.

Note: Malware protection is now based on Forefront. Only consider disabling this if you plan to deploy some third party malware/AV scanning software.

Exchange 2013 Disable Malware Protection

13. You should get a warning telling you that once complete you will not be able to install Exchange 2010 > Next.

2013 Readiness Checks

14. Setup will progress (Approx 45 minutes).

Installing Exchange 2013

15. When done > you can tick the box and launch the ‘Exchange Admin Center’. BUT At this point I would run a full Windows update and reboot the server.

Exchange 2013 Setup

Exchange 2013 Post Install Configuration Tasks

1. To launch the new ‘Exchange Admin Center’, navigate to https://localhost/ecp.

URL for Exchange2013 Management

2. Sign in.

Exchange 2013 Admin Console

Enter the Exchange 2013 Server Product Key

3. Navigate to Server > {Server-Name} > Enter Product Key.

2013 Serial

4. Type in your 25 character product key > Save.

Exchange 2013 Product Key

5. Read the warning > OK.

Exchange 2013 License Key

6. Windows Key+R > services.msc {Enter} > Locate and restart the ‘Microsoft Exchange Information Store’ service.

Restart Information Store

Exchange 2013 Create a Default Send Connector

Without configuring a send connector, your outbound/internet destined mail will sit on the outbound queue with the following error.

 ‘A matching connector cannot be found to route the external recipient’

7. Navigate to > Mail flow > Send Connector > Add.

Add a Send Connctor

8. Give the connector a name and select ‘Internet’ as it’s use > Next.

Exchange 2013 Send Connector for Internet

9. By default it will select where to send the email based on the DNS name of the recipient, however some people route all their mail via a smart host, (this can be a server or IP address at your ISP or a mail filtering provider). If you use a smart host you will probably already know, in most cases you will want the default option of ‘MX record associated with recipient domain’ > Next.

Exchange 2013 Add a  Smart Host

10. Add.

2013 Send Connector

11. Set the FQDN to asterisk > Save.

2013 Send Connector Asterisk

12. Add > Then select the Exchange Server.

Add Default Send Connector

13. Finish.

create a new send connector

Exchange 2013 Adding a Domain Name as an Accepted Domain

14. Whilst in the Mail Flow section > Accepted Domains > Add.

Add a New Domain name to Exchange 2013

15. Give the entry a name > Type in your domain name > Save > Repeat for any additional domain names.

Exchange 2013 Accepted Domain Name

Adding New Email Addresses to the Default Email Address Policy.

16. Whilst in the Mail Flow section > email address policies > With the default policy selected > Edit (pencil icon).

Exchange 2013 email policy

17. Email address format.

2013 email address format

18. Add.

Exchange 2013 Edit Default Policy

19. Select the domain > Select the name format > If this email address will be the default/reply address then select the bottom tick box > Save > Repeat for each additional email address you want to apply to your users, but only one can be the reply address.

Add domain to email address policy

20. When finished > Save.

Edit Default email policy 2013

21. Read the warning > OK.

Policy Warning

22. Apply.

2013 Apply Address Policy

23. Yes.

2013 Email Address Policy

Exchange 2013 Additional Post Installation Tasks.

Moving Exchange 2013 Database(s)

1. Create a folder on the destination drive/volume.

Shared Folder 2012

2. First see where the database is now. From within the Exchange admin center (https://localhost/ecp) > Servers > Databases > Select the database to be moved > Edit (pencil icon).

2013 Edit Database

3. Take a note of the database path, and the database filename (filename.edb).

EXchange 2013 Database Name

4. Launch the Exchange Management Shell.

2013 Exchange Management Shell

5. Execute the the following PowerShell command;

Answer Y to the questions (or A for all).

PowerShell Move Exchange Database

6. Now you can check that the database has mounted, and is in its new location.

Exchange 2013 Database Moved

Exchange 2013 Apply for, and Install a Third Party Certificate

1. From within the Exchange admin center (https://localhost/ecp) > Certificates > Add.

EXchange 2013 Working with Certificates

2. Self signed certificates are literally more trouble than they are worth, you need to BUY A CERTIFICATE! > Next.

Apply to a CA for Certificate

3. Give the request a name > Next.

Friendly Name Certificate

4. We don’t want a wildcard certificate > Next.

Note: A wildcard certificate is a certificate that has a name like ‘*’.

2013 Wildcard Certificate

5. Select the Exchange Server > Next.

2013 Server Name

6. Select the internet Outlook Web App and Edit (pencil icon).

Edit Certificate names for Exchange 2013

7. Type in the publicly addressable domain name of the Exchange Server > OK.

OWA Address for Certificate

8. Set the public name of the Autodiscover service > OK > Next.

Certificate Common Name Exchange 2013

9. MAKE SURE that the OWA public name is IN BOLD as this will be set as the ‘common name’ on the certificate > Next.

Names for Exchange 2013 Certificate

10. Type in your details > Next.

2013 Certifcate Information

11. Select a share to save the certificate request in > Finish.

Note: This share must already exist, with the correct permissions, if in doubt watch the video above.

2013 Certifcate Request

12. Now you should have a pending request.

Exchange 2013 Pending Certificate

13. Take the certificate request that it has generated (in PIM format), and send that to your certification authority, the link below will take you straight to the correct certificate you need;

Exchange 2013 Server Certificates.

Exchange Copy CSR

14. Once complete and you have received your new certificate back again > Select the pending request > Complete.

2013 Complete Certificate Request

15. Supply the path to the certificate > OK.

Exchange 2013 Import 3rd Party Certificate

16. Now you need to assign Exchange services to the certificate> with it selected > Edit (pencil icon).

Exchange 2013 Certificates

17. I’m not using unified messaging or POP, so I’ve just selected SMTP, IMAP and IIS > Save.

Exchange 2013 Set Certificate Services

18. Yes to overwrite the existing certificate.

Overwrite Certificate

19. Now lets make sure its worked, open https://localhost/owa > it will error because the URL is wrong > continue to this website.

Exchange 2013 Untrusted Certificate

20. Open the certificate and check it is correct. (here mine has a common name of

Exchange 2013 Import Certificate

Exchange 2013 Setting up ‘Split DNS’ for your Exchange Certificate

Note: You only need to set this up if your private/internal, and public/external domain names are different.

21. To avoid annoying DNS and certificate errors on your internal network, your best bet is to setup ‘Split DNS’. Create a forward lookup zone that matches your PUBLIC domain name. Then inside this zone create an A/Host record for mail that points to the internal IP of your Exchange Server. And another for Autodiscover that points to the same IP address.

Exchange Split DNS

WARNING: If you do this, and have a website hosted externally, you will find that your internal users can no longer get to it! If that happens create an additional A/Host record for a host called www and point its IP address to the public IP address of your website (you may also need an FTP entry if you use that externally as well).

22. Now open a web browser and navigate to the public name of your mail sever, this time it SHOULD NOT ERROR.

2013 Working Certificate

Exchange 2013 Test Mail Flow

1. Log into OWA, and send a test email to an internal email address (on a new deployment you probably only have Administrator as a mailbox, so send yourself an email).

2013 Test internal Mail

2. Then send a test email out to a public email address.

Note: If this fails, check it has left the Exchange Organization by looking at the Queue Viewer.

Exchange 2013 – Where is the Queue Viewer?

2013 Test Outbound Mail.

3. Once you know mail is flowing out test mail in, if this fails make sure you have an MX Record and an A/host record pointing to your Exchange 2013 Server.

Setting up the Correct DNS Records for your Web or Mail Server

Also ensure that TCP port 25 (SMTP) is open to the Exchange Server, (or ‘port forwarded’ to it). And if not add TCP 443 That’s HTTPS, so it is also open/forwarded for OWA, Outlook Anywhere and ActiveSync to work.

2013 Test Inbound Mail


Related Articles, References, Credits, or External Links


Author: Migrated

Share This Post On