I'm extremely new to Dojo, so please bear with me.
Today, I downloaded Dojo 1.3 and uploaded the files to a /dojo directory in my (1and1) web space. I pointed the domain apis.mydomain.com to the parent folder so that I could use http://apis.mydomain.com/dojo to call Dojo from anywhere on my host. I have a few sites that share this web space and I didn't want to have to maintain multiple instances of Dojo.
I created a dojo.php page in another subdomain called http://test.mydomain.com. This was just a simple page that I could use to play around with Dojo. Right now, the contents of dojo.php is a very simple example of a text box taken from one of the book pages.
<title>Dojo example</title>
<style type="text/css">
@import "http://apis.mydomain.com/dojo/dijit/themes/nihilo/nihilo.css";
</style>
<script type="text/javascript" src="http://apis.mydomain.com/dojo/dojo/dojo.js" djConfig="parseOnLoad:true, isDebug: true"></script>
<script type="text/javascript">
dojo.require("dijit.form.TextBox");
</script>
<body class="nihilo">
<input type="text" name="firstname" value="testing testing"
dojoType="dijit.form.TextBox"
trim="true" id="firstname"
propercase="true">
<label for="firstname">Auto-trimming, Proper-casing Textbox:</label>
</body>
When I open http://test.mydomain.com/dojo.php, the rendered page doesn't look anything like the examples and Firebug gives me an "Access to restricted URI denied" code: "1012" error. I've tried the FireFox security hack, but I'm having problems in IE and Safari as well.
Please let me know if there is any other information that I can provide or if my explanation is not clear. Any help would be greatly appreciated.

so the two hosts:
so the two hosts: test.mydomain.com and api.mydomain.com are two separate hosts (even if they are the same machine) ... you can place a cross-domain build on api.mydomain.com, and use that to access dojo, but that would require you run a custom build using the x-domain loader. (The instructions are in the util/buildscripts/ folder) just tell the loader your root domain for dojo, point to dojo.xd.js instead of dojo.js and voila! you are allowed to use Dojo across domains.
Regards,
Peter