I registered a domain name with Internic and it reads: mydomain.com. I hooked up with an IPP to provide hosting services for my website.
Now when I access my webpage with the URL "mydomain.com" (from within a browser) it naturally calls up my site and I can naviagte thru it as expected. But when I use the URL "www.mydomain.com" it does call up my site but when I navigate thru it I get the error message:
Access disallowed from scripts at http://www.mydomain.com/top.shtml to documents at another domain.
What is going on here? I thought both URLs are the same, that is, they point to the same IP #. Does JS have a serious flaw or what? Is there a solution to such a problem?
I want to have users of my site to access it with either WWW.MYDOMAIN.COM or simply MYDOMAIN.COM.