Will the main site and beta version run in the same ATG instances (cluster) or separate ones? If both sites run on the same cluster, you can use the multisite feature that was introduced in release 10.0. You don't need to redirect or write any special code. If the sites run on separate clusters, then you could, in theory, write a custom pipeline servlet to redirect to somewhere else. I don't understand how that somewhere else would be any different from the information in the visitor's original URL. If different visitor URLs need to be handled by different clusters, then I'd think it would be easier to have your web front end route each domain to its own ATG cluster. In that case, you wouldn't need a pipeline servlet and browsers wouldn't need to process extra redirects.