Hey all, Trying to implement a recommendation from google's page speed tool to serve static resource from a separate domain.
I've been using a subdomain off of my main domain for this for a while, only to discover cookies are still being sent with images and things.
Anyways - According to google this is what to do:
"register a new domain name and configure your DNS database with a CNAME record that points the new domain to your existing domain A record. "
That's where I get lost. I know how to mess around with my DNS records a little bit, but I'm kind of confused.
Where do I point the new domain to? I can create a CNAME record that points to the site's domain A record but then where should the new domain's A record be pointing to?
For example I have site.com which is the main website, and site.net which will serve images.
I tried setting up the DNS but think I have done something incorrectly, because when I type in site.net, it just re-directs me to site.com.
According to the live headers extension, it returns a status 200 but not a 301 - which worries me that maybe I'll start running into dupe content or other random issues.
Can anyone break this down for me a little?
Thanks!