How set cookie-free domains?

blog

Verified User
Joined
Jan 28, 2011
Messages
131
Hi

How I can set cookie-free domains in direct admin I will use this domain for static files.

Thank you.
 
Hello,

Cookies are set either by your PHP scripts or by webmaster tools which you include in your page by adding JavaScript code: Google Webmaster, Google Analytics, etc. So don't use them, and your domain will be free of cookies.
 
Please clarify your thoughts. They are not enough clear at least for me.

You don't know how is what? How to add the second domain in directadmin? How to add a CNAME record in directadmin? How to upload files? Or what?
 
The easiest way to set up a cookieless domain for your static content is to create a CNAME record aliasing your static domain to your main domain. Your static files remain in the same place but you can now reference them at a different domain.
 
Does your main domain use cookies? If not, then you're good to go as in post #2 of this thread; there are no cookies.

If your main domain uses cookies, then you can follow this guide; the only thing different will be how you add CNAME records:

http://www.site-helper.com/dns.html#cname

Jeff
 
Back
Top