Export the existing DNS zone
Find authoritative DNS and take a copy of the complete zone. Record the current web target for the bare domain and www. Mark the Microsoft 365 and other service records separately.
Change only the web records you need
Use the new host’s A, AAAA or CNAME instructions. If changing nameservers, recreate the full zone and validate it before delegation. Check old and new IPv4 and IPv6 records to avoid sending part of the traffic to an old site.
Keep the mail records intact
Preserve Microsoft 365 MX, autodiscover, verification, SPF, DKIM and DMARC where in use. Compare against the admin console for your own tenant. If a form sends using a separate service, check its authorization too.
Verify mail and website independently
Test Outlook, incoming and outgoing messages from an external account, website forms and HTTPS. If outside email arrives but forms fail, check DirectAdmin local routing and the application’s sending transport. Keep a rollback plan for the web change.