Domain technical proindeksirovany — what to do?

When developing the site the contractor used the technical domain. Recently it became clear that this technical site is indexed by search engines, it are visitors. Today's order was even placed. The development is from the beginning of the year, when the technical site began to be indexed is unknown.
The domains are all different. I.e. the technical domain is not a subdomain of the production domain.
How search engines relate to the fact that a complete copy of the technical domain will be posted to our main address?
How is resolved this situation?
September 26th 19 at 06:36
3 answers
September 26th 19 at 06:38
September 26th 19 at 06:40
To do a redirect to the correct domain.
September 26th 19 at 06:42
1. Close technical domain in robots.txt
2. To put a 301 redirect in .htaccess
3. Add technical domain in Google Webmaster Tools and then submit a request to delete a domain from Google index

Find more questions by tags Google