Microsoft Exchange Server is a robust software solution developed by Microsoft for email, calendaring, contact management, and collaboration. It is designed to meet the communication and organizational needs of businesses by providing a platform for efficient information sharing and coordination. With features such as email processing, shared calendars, mobile device support, web access, voicemail integration, and instant messaging, Exchange Server enhances productivity and connectivity within an organization.
Here are the steps to set up Microsoft Exchange on your Kamatera cloud server.
To set up Microsoft Exchange Server, it’s essential to have the right hardware and software, including key software components like
Windows Server operating systems with the Active Directory Domain Service role, known as AD domain controllers, are crucial to have, as they authenticate and authorize users and computers in a Windows domain network. These controllers manage security policies, install or update software, and verify user credentials during logins, determining user roles such as system administrators or normal users. They also facilitate the management and storage of information, provide authentication and authorization mechanisms, and establish a framework for deploying related services.
Deploying Exchange Server begins with preparing Active Directory Domain Services because Exchange relies on Active Directory for storing product information and user account settings. Active Directory’s replication mechanism ensures a unified configuration across all Exchange infrastructure, enabling seamless server interactions.
For the deployment to be successful, the computer running Exchange Server must be connected to a domain, necessitating the configuration of the internal Active Directory domain. This process starts with setting up the first server to ensure system integrity. Assigning a specific name and setting a static IP address for this computer are essential steps before installing the Active Directory Domain Service role.
Click on the Start button and select System.
A new screen will open. Click on Rename this PC, and a dialog box will open.
Enter a name for your PC and, click Next.
Note: The system will notify you that renaming the computer requires a restart.
To configure network settings, right-click on the Start menu or press the Windows + X keys on your keyboard and choose Network Connections.
A new screen will open. Click on Change Adapter Options.
From the Ethernet, right click on Properties.
A new screen will open. Click on Internet Protocol Version 4.
Click on Properties. A new screen will open.
Click on the Use the following IP address radio button and fill in the IP address and also mention the DNS server address. Click OK and Close the screen.
The initial server configuration is complete.
To set up Active Directory, you first need to install Active Directory Domain Services on your Windows Server. After the installation, the server can be promoted to a Domain Controller. Here are the steps to follow:
At Select Installation Type, select Role-based or feature-based installation.
Select a server from the server pool. In Server Pool, make sure that your local computer is selected.
Select Active Directory Domain Services checkbox from Roles.
Next, you’ll be prompted to add the required features.
7. Click on Add features to proceed.
Make sure you read the information on the Active Directory Domain Services dialog.
In the Confirmation dialog, click Install to install the selected roles, role services, and features on your server.
Promote Your Server to Domain Controller
In the Domain Controller Options dialog, leave Forest functional level and Domain functional level enabled as default.
Provide a secure password (kamatera@2024) for Directory Services Restore Mode.
Note: Ignore the warning given on the DNS Options dialog.
Verify your server’s NetBIOS domain name (SAMPLETESTDOMAI) and select Next.
Unless you have a specific enterprise use case, it’s advisable to leave everything as default.
The installation wizard will perform validation of prerequisites before proceeding with the installation of AD DS. Once all the checks are passed successfully, select Install to initiate the installation process.
Indeed, like magic, the installation process will commence. Let’s hope for a smooth and successful installation!
Once the installation is complete, click Close to finish the wizard. The system will restart.
Your Active Directory Services have now been installed successfully. Your machine will be rebooted automatically to apply the changes.
Your Active Directory account will have rights to enterprise admins, schema admins, and domain admins.
First, sign in as the domain administrator.
Open Server Manager and click on the tools menu active directory.
A new screen will open. Go to the folder with your domain name and then to the Users folder. Click on the icon to create a new user.
A new screen will open:
Fill in the required details and click Next.
Set a password for your account and uncheck the first checkbox User must change password at next logon. Click Next.
Click Finish.
The user will be redirected to add rights to the created account.
Double-click on the account to provide rights for the newly created user.
Under the Properties screen, select Member Of tab and Click Add. A new screen will open.
Enter the name for the object, then click on the Check Names tab.
Click on Apply and then Ok.
Now the Active Directory Server is configured.
You need to have 2 servers with Windows Server Operating system installed. One of the servers should be assigned to Active Directory Domain Service.
Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-PowerShell, Web-Mgmt-Console, Web-Mgmt-Service, Web-Metabase, Web-Windows-Auth, Web-Digest-Auth, Web-Dyn-Compression, Web-Net-Ext45, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Includes, Web-Default-Doc, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-Request-Monitor, Web-Static-Content, Web-WebSockets |
After these steps, your Exchange Server should be properly configured and included in the domain, with DNS set up and the server name changed.
After these steps, your Exchange Server should be properly configured, included in the domain, and connected to the Active Directory domain server.
Sign In:
Mount the Exchange Server ISO:
.\Setup.exe /PrepareAD /OrganizationName:”YourOrganizationName” /IAcceptExchangeServerLicenseTerms |
Prepare Active Directory:
.\Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms |
After running these commands, your Active Directory schema will be extended, and your Active Directory will be prepared for the Exchange Server installation.
Prepare Domain
.\Setup.exe /PrepareDomain /IAcceptExchangeServerLicenseTerms |
.\Setup.exe /NewProvisionedExchangeServer /IAcceptExchangeServerLicenseTerms /OrganizationName:”YourOrganizationName” |
In these commands:
Make sure to replace “YourOrganizationName” with your actual organization name during the Exchange organization creation process.
Finally, you can begin the installation of Microsoft Exchange Server.
Navigate to the mounted disk containing the Exchange Server installation files.
Go to This PC, select the drive and double click on Microsoft Exchange Server is installed and run the file named Setup.exe.
In the installation wizard that opens, check for updates if prompted and click Next.
The wizard may offer you the option to view information about Exchange Server 2019. Click Next to proceed.
To proceed with the installation of Exchange Server 2019:
Configure the malware protection settings in accordance with your organization’s policies and security requirements.
After configuring malware protection settings, the installation process will begin to check if everything is ready for installation:
After the installation finishes:
For server management, you will use the Exchange Administration Center (EAC). You can access it using the following link format, where https://expc/ecp should be replaced with the name or IP address of your Exchange Server:
To access the Exchange Administration Center:
Enter the Domain name and Password and click sign in.
This will open an exchange center panel. To make sure that exchange has been installed successfully, run the following commands in Exchange Management Shell.
Click on start Microsoft Exchange Server 2019 Exchange Management Shell, and use the following commands:
To verify and gather information about your Exchange Server installation using Exchange Management Shell, you can use the following commands:
Get-ExchangeServer |
Get-ExchangeServer -Status:
Get-ExchangeServer -Status |
Test-ServiceHealth:
Test-ServiceHealth |
To create a mailbox for a user:
Click on the + sign and select Mailbox.
Select the organizational unit where to include this user by clicking on browse
Choose the location within Active Directory where you want to place the user by navigating and selecting the appropriate OU.
Enter the desired login name for the user’s mailbox in the “User logon name” field.
Under the “Mailbox database” section, click on “Browse” to select the database where the new mailbox should reside.
Finally, click on “Save” to complete the process and create the mailbox.
The created mailbox will now appear in the mailboxes tab. You can use these credentials to log into your mailbox.
In the mail flow, click on Accepted domain, which is a domain used by an exchange organization to send and receive mail traffic by default.
After deployment, if necessary, you can add another domain or configure the existing domain for your specific needs.
After deployment, if necessary, you can add another domain or configure the existing domain for your specific purposes. After that, you need to add a send connector in your Exchange infrastructure. Send connectors are essential for managing incoming and outgoing mail flow on Exchange servers and facilitating communication between services in the transport pipeline. This setup allows your mail infrastructure to interact seamlessly with external systems via the SMTP protocol.
To create a new send connector:
Provide a name for the new connector.
Check the option for “Internet” to designate this as an internet connector.
On the next page, specify how emails should be sent:
Follow the prompts to complete the configuration, ensuring all settings align with your organization’s email routing requirements.
Now, specify for which domains the new connectors will work:
At this stage, you should configure DNS records for your domain. To do this, open a web browser and access the control panel to manage your external DNS records. I’ll demonstrate using the Cloudflare service. For more information on how to do this, refer to our DNS configuration documentation.
Open the Servers section
Go to the Settings section and select Outlook Anywhere.
Navigate to the Virtual Directories tab.
Click on the range symbol. A new screen will open.
Note: the external domain will appear in the settings of each virtual folder. By default, Exchange Server uses the MAPI protocol for mail services. The settings you have modified should suffice for this mail protocol configuration.
Have additional questions? Search below: