I have a number of rails applications deployed from an ubuntu slice from slicehost. I have multiple domains hosted from the slice using virtual hosts. I have noticed for years that subdomains always load slower than fully qualified domains. Is there something I can do to speed this up? I have even tried declaring the subdomains as A records rather than CNAME, because from my understanding, a CNAME record does 2 lookups rather than the 1 that an A record does.
Here's an example:
allbouttexas.com (loads quickly)
dev.allbouttexas.com (takes 5-10 seconds)
Thanks in advance.