Jump to content

Bad behaviour when forwarding a domain


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...

Could you give a bit more context? Are you having problems with code you've written for a website you uploaded to your hosting provider? If so, can you share the code here for us to look over and possibly help you fix?

Link to comment
Share on other sites

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...