Office Support / Office 365 Admin / Domains

Update DNS records to keep your website with your current hosting provider

If you manage your domain's Office 365 records at your DNS hosting provider, you don’t have to worry about the steps in this topic. Your website stays where it is and people can still get to it.

Note    Not sure if you manage your domain’s DNS records or Office 365 manages the records? Check out How Office 365 manages DNS records.

If Office 365 manages your DNS records, to route traffic to an existing public website hosted outside of Office 365, after you add your domain to Office 365, do the following.

  1. Sign in to Office 365 with your work or school account.

  2. Go to the manage domains page.

  3. On the Manage domains page, in the list of domains, select the domain you're using for your website, and then select Manage DNS > New > A (Address).

    If this option isn't available, see Can't update the A record or CNAME record?.

  4. On the Add a DNS record page, type the following:

    • For Host name or Alias, type the following: @

    • For IP Address, type the static IP address for your website where it's currently hosted (for example, 172.16.140.1).

      This must be a static IP address for the website, not a dynamic IP address. Check with site where your website is hosted to make sure you can get a static IP address for your public website.

  5. Select Save.

In addition, you can create a CNAME record to help customers find your website.

  1. Select New > CNAME (Alias).

    If this option is not available, see Can't update the A record or CNAME record?.

  2. On the Add a DNS record page, type the following:

    • For Host name or Alias, type the following: www

    • For Points to address, type the fully qualified domain name (FQDN) for your website (for example, contoso.com).

  3. Select Save.

Finally, do the following:

Update your domain's NS records to point to Office 365.

When the NS records have been updated to point to Office 365, your domain is all set up. Email will be routed to Office 365, and traffic to your website address will continue to go to your current website host.

Learn more about adding your domain to Office 365 and keeping your current website.

Applies To: Office 365 Admin, Office 365 Small Business Admin



Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Support resources

Change language