In Office 365, you can host your SharePoint Online public website on the same domain as Exchange Online and Lync Online, but you will need to do additional steps to achieve it.
Step 1 : Run the Add your domain wizard to add your domain name, for example, contoso.com, to Office 365 and verify that you own the domain. In the wizard, set the domain services option to Exchange Online or Lync Online, or both Exchange Online and Lync Online.
You will not be able to choose SharePoint Online along with Exchange and Lync Online.
Step 2: Add the required DNS records in your public DNS for Exchange Online and Lync Online so that it works with your domain name.
Step 3: Run the Add a domain wizard again, and this time add a third-level domain to Office 365 with the format label.contoso.com, where label is a value that completes the website address for the website you want to host on SharePoint Online. For example, you could set label to be www so your website would be located at http://www.contoso.com.
NOTE: Its very likely that you will get a pop up windows saying that you will need to do it using Microsoft Online Services Module for Windows PowerShell. Below are the powershell commands that you need to run.