I plan on having a subdomain, let's call it foo.mysite.com
, forwarding to my site www.mysite.com
. This is just for testing purposes.
Eventually I want to change my foo.mysite.com
to point to another server. So I will be setting up another A record pointing to the new IP.
What I'm confused with is what do I do with the forwarded subdomain to mysite.com? I don't need to forward it anymore. So I think the procedure is:
- Create new A record
- Delete the subdomain
- Create CNAME record with alias
foo
and host it points to asfoo.mysite.com
- Remove my 301 redirect in htaccess that had
foo.mysite.com
->www.mysite.com
My hosting provider is GoDaddy. Assuming this procedure is correct then the final issue I have is the assignment of the A record. That can take some time. It is usually pretty quick but I'm building an app server that needs to be running immediately when I create the new A record.
How can I structure this better so I don't have an outage?