I've set up Google Apps for my domain. The DNS seems to have propagated and the site on my domain and it's sub-domains work as expected. To access GMail I've set up sub-domain, mail.mydomain.com, and done all the configuration in the Google Apps admin panel.
The problem arises when I'm trying to log into Gmail by going to mail.mydomain.com. Doing this will bring me to the Gmail login panel. After I log in something wierd seems to happen. After a few seconds I get the following message:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
* This problem can sometimes be caused by disabling or refusing to accept
cookies.
After logging in I can see that the redirect happens between mail.google.com and www.google.com before it times out.
Another domain I have set up Google Apps for seems to work just fine and I think the problem I've due to the DNS records. The other working domain is using a different DNS host and allows DNS records to be created differently, e.g. it allows a * record to be created for a CNAMe records, the DNS host of the none working domain doesn't so all sub-domains had to be explicitly created. These are my DNS records:
mydomain.com A xxx.yyy.xxx.yyy
mydomain.com MX 5 aspmx.l.google.com
mydomain.com MX 10 alt1.aspmx.l.google.com
mydomain.com MX 10 alt2.aspmx.l.google.com
mydomain.com MX 15 aspmx2.googlemail.com
mydomain.com MX 15 aspmx3.googlemail.com
mydomain.com MX 15 aspmx4.googlemail.com
mydomain.com MX 15 aspmx5.googlemail.com
mail.mydomain.com CNAME ghs.google.com
www.mydomain.com CNAME mydomain.com
static.mydomain.com CNAME mydomain.com
admin.mydomain.com CNAME mydomain.com
Is there something obviously wrong with my DNS records that would trigger?