Have you tried using the wildcard operator in the openid.realm definition?
For example, if your current domain is mydomain.com and you want to move your site to subdomain.mydomain.com, you could set the openid.realm parameter to *.mydomain.com (provided that your new openid.realm matches the openid.return_to parameter of the request - see Google's OpenID dev docs for more details).