Jump to content

Bad behaviour when forwarding a domain


cohenran

Recommended Posts

I have a website and I bought a domain for it.
I need to forward from the domain I bought to the IP. I added A/AAAA in DNS on the webserver that hosts my website.
If I enter the website through the IP all is good.
However, if I enter through the domain I get:
"Uncaught DOMException: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.".
It seems like it gets confused, like I store the data in the IP, and it won't allow me access through the domain.
I want the fix to be in the HTML - I don't want that every user would have to change the configuration on CHROME.
What can be the problem?
Is there an easy alternative?

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...