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

If you manage all your 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.

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 Small Business, do the following.

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

  1. On the Admin page, under Domains, click Manage your website and email domains.
  2. Click the domain that you’d like to edit, and then click Manage > New > A (Address).
  3. On the Add a DNS record page, type the following:
  • For Host name or Alias, type the following: @
  • For IP Address, type the IP address where your website is currently hosted (for example, 172.16.140.1).
  1. Click Save.

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

  1. Click New > CNAME (Alias).
  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).
  1. Click Save.

Finally, do the following:

When your 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 hosting provider.

More about keeping your current public website

When you add your domain to Office 365 Small Business, if Office 365 manages your DNS records, you must take extra steps to keep your current public website that uses your domain where it is. That is, you can keep your website with an outside website hosting provider instead of hosting your website with Office 365. For example, suppose that you want to use Office 365 for your email and communications, but you want to continue to host your website with your current hosting provider.

To route customers to your website after you’ve confirmed that you own your domain to Office 365, use the DNS Manager (on Office 365) to create a DNS record called an A record that points to the IP address for your website (for example, 172.16.140.1), as described in the steps above.

 Tip    If you don’t know your IP address, contact your current hosting provider and explain that you need your IP address to create an A record to route customers to your website. You may need to make other changes to your account to help make sure that customers can access your website correctly. Contact your current hosting provider, explain what you’re doing, and follow their guidance.

Need more info? See Add another domain to Office 365 and keep its website hosted where the site is hosted now.

 
 
Applies to:
Office 365 Small Business admin