askvity

How do I add an A record in Microsoft 365?

Published in Microsoft 365 DNS 3 mins read

To add an A record in Microsoft 365, follow these steps within the admin center:

  1. Navigate to the Domains Page: In the Microsoft 365 admin center, go to Settings and then select Domains.

  2. Select Your Domain: On the Domains page, choose the specific domain where you want to add the A record. Then, select DNS Records.

  3. Add a New Record:

    • Select + Add record.
  4. Configure the A Record:

    • Type: For the record type, choose A (Address).
    • Host name or Alias: In the "Host name or Alias" field, type @ to represent the root domain (e.g., yourdomain.com). You can also specify a subdomain if you want the A record to point to that specific subdomain (e.g., www for www.yourdomain.com).
    • IP Address: Enter the IPv4 address that you want the hostname to point to. This is the most crucial part of the A record setup. This is typically the IP address of your web server.
    • TTL (Time to Live): (Optional, but recommended) Set the TTL value. A shorter TTL means changes propagate faster, but puts more load on DNS servers. A longer TTL reduces the load on DNS servers, but changes take longer to propagate. The default is often sufficient.
  5. Save the Record: Select Save to finalize the addition of the A record.

Example:

Let's say you want to point your domain example.com to the IP address 192.0.2.1. Here's how you'd configure the A record:

  • Type: A (Address)
  • Host name or Alias: @
  • Points to address: 192.0.2.1
  • TTL: 3600 (seconds)

Important Considerations:

  • Propagation: After adding or modifying a DNS record, it can take some time (up to 48 hours, but typically much faster) for the changes to propagate across the internet. During this time, some users might still be directed to the old IP address.
  • Subdomains: If you're adding an A record for a subdomain (e.g., blog.example.com), enter the subdomain in the "Host name or Alias" field (e.g., blog).
  • Verifying the Record: After saving the record, you can use online DNS lookup tools (like dig or online web-based tools) to verify that the A record is correctly configured and resolving to the intended IP address.

Related Articles