# How to Point a Microsoft Domain to Hostinger Hosting

<div id="bkmrk-" style="position: relative; width: 100%; height: 0px; overflow: hidden; padding-bottom: min(56.25%, 95vh);"><iframe allow="autoplay; fullscreen; picture-in-picture" allowfullscreen="allowfullscreen" height="100%" src="https://kommodo.ai/embed/recordings/LEdsGOS21EFtVbU055CG?onlyRecording=1" style="border: 0px; position: absolute; inset: 0px;" width="100%"></iframe>

</div>## Objective

Point a domain purchased and managed through Microsoft 365 to a Hostinger hosting plan using an A record, then install WordPress on Hostinger.

## Scope and Impact

- Approach uses A/CNAME records only to keep Microsoft 365 email intact.
- Nameservers remain on Microsoft 365. Do not change them.

## Prerequisites

- Microsoft 365 Admin Center access with permission to manage Domains.
- Hostinger account access to the target hosting plan (owner or account-sharing).
- The domain name and desired website location/region.
- WordPress admin email, username, and a strong password.

## High-Level Flow

- Prepare hosting in Hostinger.
- Get the server IPv4 address from Hostinger.
- Add DNS A record (and www CNAME) in Microsoft 365 Domains.
- Wait for DNS propagation and verify.
- Install WordPress on Hostinger and enable SSL.

## Prepare Hostinger

- Log in to Hostinger and switch to the client profile if using Account Sharing.
- Create or select the target website under Websites or Hosting.
- Choose the closest server location to the target audience.

## Get Hostinger IP

- In Hostinger, open the hosting control for the target site.
- Locate the server IPv4 address (commonly shown as Server IP or IPv4).
- Copy the IPv4 address for DNS.

## Configure DNS in Microsoft 365

- Sign in to Microsoft 365 and open Admin Center.
- Go to Settings &gt; Domains.
- Select the target domain.
- Open DNS records management for the domain.
- Add or update the following records:

<div class="group relative" id="bkmrk-record-host%2Fname-val"><div class="w-full overflow-x-auto md:max-w-[90vw] border-subtlest ring-subtlest divide-subtlest bg-transparent"><table class="border-subtler my-[1em] w-full table-auto border-separate border-spacing-0 border-l border-t"><thead class="bg-subtler"><tr><th class="border-subtler p-sm break-normal border-b border-r text-left align-top">Record</th><th class="border-subtler p-sm break-normal border-b border-r text-left align-top">Host/Name</th><th class="border-subtler p-sm break-normal border-b border-r text-left align-top">Value (Points to)</th><th class="border-subtler p-sm break-normal border-b border-r text-left align-top">TTL</th><th class="border-subtler p-sm break-normal border-b border-r text-left align-top">Purpose</th></tr></thead><tbody><tr><td class="px-sm border-subtler min-w-[48px] break-normal border-b border-r">A</td><td class="px-sm border-subtler min-w-[48px] break-normal border-b border-r">@</td><td class="px-sm border-subtler min-w-[48px] break-normal border-b border-r">Hostinger IPv4 (e.g., 192.0.2.123)</td><td class="px-sm border-subtler min-w-[48px] break-normal border-b border-r">300–3600</td><td class="px-sm border-subtler min-w-[48px] break-normal border-b border-r">Root domain to Hostinger</td></tr><tr><td class="px-sm border-subtler min-w-[48px] break-normal border-b border-r">CNAME</td><td class="px-sm border-subtler min-w-[48px] break-normal border-b border-r">www</td><td class="px-sm border-subtler min-w-[48px] break-normal border-b border-r">@</td><td class="px-sm border-subtler min-w-[48px] break-normal border-b border-r">300–3600</td><td class="px-sm border-subtler min-w-[48px] break-normal border-b border-r">www → root redirect</td></tr></tbody></table>

</div></div>- Ensure existing MX, SPF, DKIM, and CNAME records for Microsoft 365 email stay unchanged.
- Save changes.

## Verify Propagation

- Allow 5–60 minutes for DNS to begin propagating (up to 24 hours globally).
- Check by visiting the domain and by DNS lookup for the A record pointing to the Hostinger IP.

## Install WordPress on Hostinger

- In Hostinger, open the Auto Installer or WordPress setup.
- Select the target domain from the dropdown.
- Enter site title, admin email, username, and password.
- Complete installation and note the wp-admin URL and credentials.
- After DNS resolves, request or enable SSL (Let’s Encrypt) from Hostinger and force HTTPS in WordPress settings.

## Post-Setup Tasks

- Log in to WordPress and set Site Address and WordPress Address to HTTPS.
- Install a security plugin and caching plugin if required.
- Confirm email DNS: MX records must still point to Microsoft 365; send and receive a test email.
- Add an A record for any needed subdomains or verify that www works via CNAME.

## Troubleshooting

- Domain still not resolving: Confirm the A record value matches the Hostinger IPv4 and there is no conflicting A record for @.
- www not working: Ensure the CNAME for www points to @ and there is no A record for [<span class="text-box-trim-both">www</span>](http://www/).
- Email delivery issues: Verify MX records still point to Microsoft 365 and SPF includes Microsoft’s include directive; do not change nameservers.
- SSL not issuing: Wait until A record fully propagates to the Hostinger IP, then reissue SSL.

## Handoff Notes Template

- Domain: &lt;yourdomain.com&gt;
- DNS change: A record for @ set to &lt;Hostinger IPv4&gt;, CNAME for www set to @.
- Nameservers: Unchanged (Microsoft 365).
- WordPress: Installed on Hostinger. Admin: &lt;email&gt;, URL: &lt;domain&gt;/wp-admin.
- SSL: Requested/enabled after propagation.
- Email: Microsoft 365 remains active and tested.