I am currently trying to get my head around in understanding how to set-up a "cookieless" domain using WHM / Cpanel - unfortunately without any success at this moment.
I have a Magento store and I would like to use "cookieless domains" for my media, skin (template) and js files. Magento has a nice feature to define URL for those folders.
My current setup is as follows:
- www.mydomain.com <- main store
- media.mydomain.com *****<- subdomain to the media folder (mydomain.com/media/)*****
- skin.mydomain.com *****<- subdomain to the media folder (mydomain.com/skin/)*****
- js.mydomain.com *****<- subdomain to the media folder (mydomain.com/js/)*****
I think it's poinless to have them used as "cookieliess domains" since my Magento installation uses .mydomain.com as cookie domain, so what I would like to achieve is to register a new additional domain and have it point via WHM / cPanel to those specific locations. I have tried to change the A and CNAME records although without any success as they were just simply redirecting from one page to another in the browser (newdomain.com -> jump to old.com). What kind of records do I have to set to have this working properly?
Some advice would be highly appreciated.