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:
- What DNS settings need to be performed to create a mirror?
- Can PHP be used to implement the mirror?
- What alternative methods exist for creating a mirror of a Tilda website?
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
- Using PHP to Implement a Mirror
- Alternative Methods for Creating a Mirror
- Search and SEO Optimization
- Practical Recommendations
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:
ns1.tildadns.com ns2.tildadns.com
Setup Process:
- In your domain management panel, go to the DNS management section
- Change the NS servers to the ones listed above
- 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:
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:
- Log in to your registrar’s account
- Find the DNS record management section
- Add an A-record with Tilda’s IP address (185.165.123.36)
- 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
/* 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:
$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:
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:
CNAME: www.main-domain.ru → main-domain.ru
3. Reverse Proxy
Setting up a reverse proxy through 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:
- Configure DNS in Cloudflare
- Use the “Mirror” function in settings
- Configure SSL certificate
5. Manual Content Copying
If the mirror should be static:
- Export content from Tilda
- Place it on another domain
- Set up appropriate redirects
Search and SEO Optimization
1. Setting Up Main Mirror in Yandex.Webmaster
- Go to Yandex.Webmaster
- Add both domains
- Specify the main domain as the primary mirror
- 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:
<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
- Choose a method: Determine which approach is better - Tilda’s NS servers or external configuration
- Configure DNS: Make necessary changes in your domain management panel
- Check connection: After 24-48 hours, check site availability
- Set up redirects: If necessary, configure 301 redirects
- Optimize for search: Set up the primary mirror in search engines
2. Testing
- Use DNS checking tools (e.g.,
digor 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:
- 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
- PHP implementation - is only possible through external services, as Tilda doesn’t support direct PHP code placement
- 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
- How to manage your site’s domain through Tilda’s DNS
- How to connect a domain to Tilda | Reg.ru
- How to connect your own domain - Questions and Answers Tilda
- How to connect a domain to Tilda | 2DOMAINS.RU
- Configuring DNS records for Tilda service - NIC.UA
- How to connect a domain to Tilda in a couple of minutes
- How to create a website mirror on WordPress (plugin)
- Protection against illegal website mirrors
- How to add multiple domains to one site? - Tilda
- Algorithm for creating mirrors (website mirror) / Habr
- How to merge two domains without harming promotion