Originally posted on Stack Overflow.
This may be a question for Server Exchange but I am starting to feel pretty cozy here and I feel like someone here will definitely know the answer. We are currently rebuilding a php site in rails and have the new site that is being rebuilt on a linode box [nginx]. The live domain lives on a slicehost box [also niginx]. Upon launch we are planning on forwarding the complete site to the linode box but would like to set up a subdomain (beta.domain.com) for testing purpose. I know we can do a simple forward / CNAME record but we would like to maintain the same beta.domain.com address.
Any and all help is greatly appreciated.
Note: We currently have complete control over both domains.