NeuroAgent

How to Create a Tilda Site Mirror on Another Domain

Detailed guide on creating a Tilda site mirror on another domain. Learn about DNS setup, PHP usage, and alternative methods for content mirroring.

Question

How do I create a mirror of a Tilda website on another domain?

I’m trying to create a mirror copy of my Tilda website on an additional domain. I’ve already added an A-record to DNS with the IP address from the Tilda domain settings, but after updating DNS, the site doesn’t work.

Please advise on how to properly implement a website mirror for Tilda:

  1. What DNS settings need to be performed to create a mirror?
  2. Can PHP be used to implement the mirror?
  3. What alternative methods exist for creating a mirror of a Tilda website?
NeuroAgent

To create a website mirror on Tilda on another domain, you need to properly configure DNS records and consider the platform’s specific features. The standard approach with adding A-records may not work due to Tilda’s limitations.

Table of Contents

DNS Setup for Tilda Mirror

The main problem when creating a mirror on Tilda is that the platform only supports connecting one main domain to a project. However, there are several ways to set up a mirror:

1. Using Tilda’s NS Servers

The modern approach involves delegating the domain to Tilda’s DNS servers:

dns
ns1.tildadns.com
ns2.tildadns.com

Setup Process:

  1. In your domain management panel, go to the DNS management section
  2. Change the NS servers to the ones listed above
  3. Wait 24-48 hours for changes to propagate

According to Tilda’s official documentation, this method is preferred and doesn’t require additional A-record configuration.

2. Classic Method with A-Records

For older projects or specific cases, you can use A-records:

dns
A-record: @ (or your domain) → 185.165.123.36
A-record: www → 185.165.123.36

Important: This method may not work for new Tilda sites, as the platform has changed its domain technology.

3. Configuration Through Domain Registrar

If your domain is registered with a service like Reg.ru:

  1. Log in to your registrar’s account
  2. Find the DNS record management section
  3. Add an A-record with Tilda’s IP address (185.165.123.36)
  4. Save the changes

According to 2DOMAINS.RU, sometimes additional C-record configuration is required.

Using PHP to Implement a Mirror

Although Tilda is a website builder and doesn’t allow direct PHP file placement, there are indirect ways to implement a mirror:

1. External PHP Script for Redirection

You can place a PHP script on external hosting that will redirect users:

php
<?php
/* Main domain (without www) */
$main = 'your-main-domain.ru';
/* Mirror domain */
$mirror = 'mirror-domain.ru';

// Check current domain
$currentDomain = str_replace(array('www.', '/'), '', $_SERVER['HTTP_HOST']);

if ($currentDomain != $main) {
    // Redirect to main domain
    header("HTTP/1.1 301 Moved Permanently");
    header("Location: https://" . $main . $_SERVER['REQUEST_URI']);
    exit();
}
?>

2. PHP Plugins for WordPress

If your site uses WordPress as a foundation, you can install plugins like AA-DomainMirror:

php
$main = "main-domain.ru"; // main domain
$mirror = "mirror-domain.ru"; // mirror

3. PHP Approach Limitations

It’s important to note that:

  • Tilda doesn’t support direct PHP code placement
  • A separate hosting will be required for a full mirror
  • According to SNIPP.RU, proper handling of exceptions for search engine bots is necessary

Alternative Methods for Creating a Mirror

1. DNS-Level Redirects

Setting up a 301 redirect from the mirror domain to the main domain:

nginx
server {
    listen 80;
    server_name mirror-domain.ru www.mirror-domain.ru;
    return 301 $scheme://main-domain.ru$request_uri;
}

2. Using C-Records

For some configurations, you can set up C-records:

dns
CNAME: www.main-domain.ru → main-domain.ru

3. Reverse Proxy

Setting up a reverse proxy through Nginx:

nginx
server {
    listen 80;
    server_name mirror-domain.ru;
    
    location / {
        proxy_pass https://main-domain.ru;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}

4. Cloudflare Mirror

Using services like Cloudflare to create mirrors:

  1. Configure DNS in Cloudflare
  2. Use the “Mirror” function in settings
  3. Configure SSL certificate

5. Manual Content Copying

If the mirror should be static:

  1. Export content from Tilda
  2. Place it on another domain
  3. Set up appropriate redirects

Search and SEO Optimization

1. Setting Up Main Mirror in Yandex.Webmaster

  1. Go to Yandex.Webmaster
  2. Add both domains
  3. Specify the main domain as the primary mirror
  4. Configure HTTPS and WWW if necessary

2. robots.txt and sitemap.xml

Ensure that:

  • robots.txt is properly configured for both domains
  • sitemap.xml points to the main domain
  • Duplicate content is excluded from indexing

3. Canonical Links

Add canonical links to all pages:

html
<link rel="canonical" href="https://main-domain.ru/current-page" />

4. Handling Duplicate Content

According to MintClickSEO, there may be temporary traffic fluctuations when merging mirrors, which usually normalize within a few days.

Practical Recommendations

1. Step-by-Step Instructions

  1. Choose a method: Determine which approach is better - Tilda’s NS servers or external configuration
  2. Configure DNS: Make necessary changes in your domain management panel
  3. Check connection: After 24-48 hours, check site availability
  4. Set up redirects: If necessary, configure 301 redirects
  5. Optimize for search: Set up the primary mirror in search engines

2. Testing

  • Use DNS checking tools (e.g., dig or online services)
  • Check site availability from different locations
  • Test redirects using browser extensions

3. Monitoring

  • Monitor errors in Yandex.Webmaster
  • Control indexing of both domains
  • Track traffic and search positions

4. Preventive Measures

  • Regularly update DNS records
  • Monitor SSL certificate expiration dates
  • Keep backup copies of settings

5. When to Contact Support

If standard methods don’t work:

  • Contact Tilda support
  • Check settings with your domain registrar
  • Clarify the possibility of using specific IP addresses

Conclusion

Creating a website mirror on Tilda requires considering several factors:

  1. DNS configuration - the modern approach uses Tilda’s NS servers (ns1.tildadns.com, ns2.tildadns.com), which eliminates the need for manual A-record configuration
  2. PHP implementation - is only possible through external services, as Tilda doesn’t support direct PHP code placement
  3. Alternative methods include redirects, C-records, reverse proxies, and cloud services

For successful mirror implementation, it’s recommended to:

  • Choose the modern method through Tilda’s NS servers
  • Set up proper redirects for SEO
  • Declare the primary mirror in search engines
  • Monitor indexing and traffic

If you encounter difficulties, it’s worth contacting official Tilda support or using comprehensive solutions like Cloudflare for managing domain mirrors.

Sources

  1. How to manage your site’s domain through Tilda’s DNS
  2. How to connect a domain to Tilda | Reg.ru
  3. How to connect your own domain - Questions and Answers Tilda
  4. How to connect a domain to Tilda | 2DOMAINS.RU
  5. Configuring DNS records for Tilda service - NIC.UA
  6. How to connect a domain to Tilda in a couple of minutes
  7. How to create a website mirror on WordPress (plugin)
  8. Protection against illegal website mirrors
  9. How to add multiple domains to one site? - Tilda
  10. Algorithm for creating mirrors (website mirror) / Habr
  11. How to merge two domains without harming promotion