Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm struggling setting up a cookieless domain. I've got lampp/apache installed on my domain . I've also purchased another domain .

I want to serve all my images/js/css files from the without cookies.

Now how do i go ahead with this via DNS? Is it as simple as creating a CNAME record on the to point to

Then when referencing an image.. i just reference

** I do use SSL if this makes any difference.

Im just not sure how it works.. do I also need to modify something in my apache .htaccess file or httpd.conf file?



migration rejected from Jun 4 '13 at 11:57

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off topic by Sathya Jun 4 '13 at 11:57

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

clearly off-topic here – Mitch Wheat Jun 3 '13 at 11:07
how is that off topic... clear coding/dns issue – user1560635 Jun 3 '13 at 11:11