If you like DNray Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

Mirror of our domain name

Started by bcetindra, Nov 13, 2022, 02:03 AM

Previous topic - Next topic

bcetindraTopic starter

The domain was moved to a VDS and two mirrors appeared during the transfer. Later on, it was discovered that these domains were also hosted on TimeWeb and had the same IP address. The support team explained that while the IP address is assigned only to the server, other users can specify the same IP as their A-record. They suggested that to prevent this, the user needs to configure their web server to open the site only when accessed from the necessary domain. If there are any issues, the user is encouraged to contact them for assistance.

The question at hand is how to configure the web server to open the site only from the required domain. This may be a common issue for those who have sites on VDS Timeweb.
  •  


trafficsalad

Mirrors are websites that are identical in every way, including being hosted on the same IP. This is not uncommon, as there can be hundreds of sites on one IP.
To address this issue, the easiest and most cost-effective option is to set up virtual hosts in the web server using the mirror's name and create 301 redirects to the main site. This approach will not only solve the issue of mirror sites but also potentially attract more traffic from mirror visitors.
  •  

Vanesill

Search engines define mirrors as sites with content that matches 80% or more. The number of mirrors a site is assigned is up to the owner, and they have the option to manually assign the main mirror to Google.Webmaster or let search robots complete this task automatically. However, automated mirror selection may lead to decreased rankings and loss of traffic. To change mirrors in Google.Webmaster, one can use rel=canonical tags or 301 redirects, with the latter being preferable for all search engines. However, the instructions in the robots.txt file are ignored despite still being written there.

When transferring a site to a new domain, it's important to take precautions. First, copy the previous version and register it as the main mirror, then start redesigning and replacing content once search engines have digested the changes and traffic has moved to the new mirror. If a redirect is set up, be prepared for a decrease in traffic and pages falling out of indexing. It's best to set up the redirect page by web page and avoid trying to combine all the pages of one site with the main page of another.

Finally, it's crucial to be cautious when selecting contractors to access Google.Webmaster and the root of the site, as unscrupulous performers can steal traffic through a copy of a company's pages, leaving the company with the task of completely replacing all content for posting.
  •  

EJASNathan

To configure your web server to only open the site from the required domain, you can follow these general steps:

1. Identify the web server software you are using. Common web servers include Apache, Nginx, and Microsoft IIS.

2. Once you have identified your web server software, locate the configuration file for your website. This file is typically named "httpd.conf" for Apache, "nginx.conf" for Nginx, or "web.config" for Microsoft IIS.

3. Open the configuration file with a text editor.

4. Look for a section or directive that handles virtual hosts or server blocks. In Apache, this is typically defined using the `VirtualHost` directive, while Nginx uses the `server` block.

5. Within the virtual host or server block, specify the necessary domain(s) that should be allowed to access your site. In Apache, you can use the `ServerName` directive, and in Nginx, you can use the `server_name` directive.

6. Configure your web server to return an error page or block any incoming requests that do not match the specified domain(s). This can be done using the appropriate directives in the configuration file.

7. Save the changes to the configuration file.

8. Restart your web server to apply the new configuration.
  •  


If you like DNray forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...