apache2ip-addresscookieless

Cookieless Domain - IP on another port?


I'm trying to establish a Cookieless Domain on my home virtual web server that has no domains name, only an IP address.

I've been trying to simulate the cookieless domain by opening another port on my router and telling Apache to listen for it. Everything loads correctly, but it doesn't seem to be cookieless (which makes sense because it's the same domain name, just a different port).

Is there any way I could set up a Cookieless Domain on my virtual server with no domain names, and only 1 IP address?


Solution

  • I always personally thought that browsers would treat sites operating from different ports at the same domain name or IP address as unrelated, for things like cookies or same-origin policy, but your experience seems to indicate this isn't the case.

    So I think the answer to your question is: No, this is not possible. I would suggest looking into some kind of dynamic DNS setup.