Msg#: 4649459 posted 6:54 pm on Feb 26, 2014 (gmt 0)
I have a DNS round robin setup for my website (VPS). Slave IP is replicated nightly from the master IP. I have a few XML files on the master that are updated at random times on some days that need to be accessible via the website.
For example I need to get access to: http://www.mydomain.tld/xml_files/file1.xml http://www.mydomain.tld/xml_files/file2.xml From www.mydomain.com which is round robin on 184.108.40.206 (master) and 220.127.116.11 (slave)
The issue is that if you happen to land on the slave, the file1.xml may not be accessible until after the nightly replication when it receives file1.xml from the master.
The IP is shared for several websites, so hard coding the IP is not possible (I don't think). I've thought of making an DNS A RECORD subdomain to point to only one IP (ie. ww2.mydomain.com = 18.104.22.168), but that would essentially create a duplicate of the entire site under the ww2 subdomain (which is bad for search indexing purposes).
I have access to DNS and httpd.conf (and the full root), and I know I am missing something. Can someone point me in the right direction?