How do I tell search engines that 2 domain names are the same website?
To tell search engines that two domain names represent the same website, you can use a 301 redirect. This is a permanent redirect that tells search engines and browsers that a page has been moved to a new URL. When a user or search engine accesses the old URL, they will be automatically redirected to the new URL.
Another way to consolidate two domains is to set up a preferred domain in Google Search Console. This allows you to specify which version of your domain you want to appear in search results (e.g., www or non-www).
Additionally, to ensure that search engines understand that the two domains are the same website, you should also ensure that the same content is accessible at both domains and that internal links on the site use one preferred domain consistently.