Take your site offline and set your preferred domain
To open the Site settings page:
Site caching
Google and other search engines may cache your site. If you have published the site and it has been indexed by Google, or other search engines, then taking the site offline will not remove any cached version of the site.