Installing and Setting up Exchange Server 2013 on Server 2012 R2 from Scratch

Hi I'm looking for some guidance on setting up Exchange 2013 on a windows Server 2012 R2 server.

I Currently have a couple of test servers setup with Server 2012 R2 on them

The first is setup as a domain controller with DHCP DNS etc and a couple of user accounts

The 2nd is a fresh installation

Im looking for some real step by step pointers on setting this up from scratch with an external domain name.

I currently have a dynamic IP address on a BT Residential Line which is being upgraded to BT business broadband on 25/11/14.

Our website is hosted with Fasthosts Internet on their shared web servers and i have full access to the DNS control panel to make changes.

I did install server 1 as a DC and installed exchange 2013 on it last night after a few warnings about unified communications managed api 4.0 and filter packs, I managed to get it installed and i could even send and receive messages between users but i was unable to send emails externally or more importantly receive emails. The exchange connectivity analyzer complained about not being able to find the host and i gave up in the end and flattened it.

within our Fasthosts i setup the MX record to point to the external IP address of our router and opened port 25 inbout to the DC/Exchange Server. I (tried) to configure the accepted domains in mailflow to use our internet domain name, but i may have gotten that wrong.

The outgoing email configuration i must say got me i dont know where to start with this as im not sure how to configure this part.... We have an account with authsmtp but havent used it yet so if anyone knows how to use this for our server to send emails if you could help with this part??

So my server is sat here ready and waiting for instructions if you are familiar with either Fasthosts domains, BT broadband or authsmtp as well as server 2012 and exchange 2013 i could really do with your help??


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

it_saigeDeveloperCommented: has great tutorials on deploying and maintianing exchange servers.

If you are truly doing a fresh install and not a migration, I would recommend this article as a starting point:

firstnetsupportAuthor Commented:
I've just read the 3 articles from your link, thats helped clear a couple of things up but that article helps with the installation more than configuration, im looking to find out how to setup the send and receive connectors, in a live test environment, so im looking to configure my systems to allow me to send email out through DNS, i believe that to do this i need rDNS setting up? I've not done this before..

Also setting up SPF records I would like to get help with how to set these records.

again this is a live test so I will keep you posted with my progress..

I Have chosen not to install exchange yet until ive got a clear installation path, I think that i need to know more about the configuration that needs to done outside of my server such as the DNS records, SPF records, and rDNS.

SPF records are configured, usually, on the name server(s) that contain your external DNS records.  A SPF (or Sender Policy Framework) record consists of a TXT record that tells querying entities the rules that govern the delivery of mail from your domain.

Unlike most DNS records, an SPF record is generally used in a reverse lookup capacity where a recipient mail server looks up your SPF record (if any) after it receives an email in order to validate that the sending mail server, listed in the header information of the email, is authorized to send emails on behalf of your domain.

The standard format for an SPF is generally is as follows: IN TXT "v=spf1 ip4: ip4: a -all"

Open in new window

In the above record, version (v=) 1 of the SPF specification is used to stipulate that there are two IP version 4 address blocks allowed to send email for  The allowed ip addresses are -, and  Because of the *-all* qualifier at the end of the record, any email originating from an address not specified is immediately rejected.

Wiki SPF records
OpenSPF Project

SPF Generators:
SPF Wizard
Microsofts Sender ID Frameword SPF Wizard

As for the rDNS.  This is usually configured by your ISP as they control your external IP address.  All you need to do is provide them with the name you want associated with your external ip; e.g -  Then it is just a matter of ensuring that your server SMTP EHLO or HELO response is

Get-RecieveConnector "YOUREX2013SERVERNAME\Default Frontend YOUREX2013SERVERNAME" | Set-RecieveConnector -fqdn ""

Open in new window

YOUREX2013SERVERNAME would be replaced with whatever you name your Exchange 2013 server, e.g. - GAGGLE.  And of course, can be any external record you choose, it could be, for example.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.