apache - DNS propagation time workaround? -
We are preparing to migrate our website from A host to AWS, which means that Will have to change the IP and that takes time to publicize DNS checkers report TTL 3600 for that domain which is not bad. However, it is likely that it may take longer or during that time people will have to go to the old server due to caching. We have realized that any change at the domain registrar level will take time and maybe this will not be a good solution. Changing the TTL takes time (even if the permission has not been granted by the registrar) Changing the NS will also take time and people can still go to the old server. Changing the domain registrar will take more time to complete.
The question is how to redirect people who visit the new server / IP during the DNS server to the old server? Can the local server be redirected to the new IP / server at the old server level of DNS or Apache?
Assume that you have:
www.example Com CNAME Web .oldisp.com and you
If you create a second (new) record, then say:
www.example.com CNAME node123.aws.comP>www-aws.example.com CNAME node123.aws.comThen redirect all traffic to the web .oldisp.com (addressed from www.example.com) to www-aws.example.com, then the requests will be sent to the right place. The only problem is whether the server at node123.aws.com will respond to address requests to www-aws.example.com, and whether the references include references to www.example.com. You can test this with an entry in your host file.
Leave it for one day or so to do this, you only need to worry about those who have www-aws Example.com - then you have www.example.com But to redirect any such traffic, add a redirect rule
Comments
Post a Comment