How to run on Godaddy website?

Options
stvster
stvster
edited January 2013 in Photon Server
Hi,
I can run Bootcamp.html using Photon Cloud from a directory on my machine just fine.
Multiple clients work fine.(cloud connected)
I uploaded the two files(Bootcamp.html & bootcamp.unity3d to my Godaddy website and go to my site xxxxxxx.com/Bootcamp.html the Unity loading screen shows up but the progress bar doesn't move and the lobby doesn't load.
I would like my clients to click on xxxxxx.com/Bootcamp.html from their browser and have the lobby load.
Is this possible or does the user have to download the files and run locally?
Thanx

Comments

  • Tobias
    Options
    The web build should run fine if the hosting server uses the fitting mime type for the unity3d file. You could try to upload to dropbox and open it from there. I know it works on their servers.
    It could also be a matter of downloading the files. How big is your .unity3d file? When you want to play, it has to be downloaded fully...
  • stvster
    Options
    The file size is 20 megs and I let it try to load for 20 minutes.No luck.
    If I upload *.unity3d to dropbox,how do I connect it to my webpage - bootcamp.html.
    Thanx
  • Tobias
    Options
    I guess you could use the "public url" in your html.
    You probably get more help on hosting on the Unity forum. This will be about the server assigning a proper mime-type for the file and maybe you can solve that with your hoster.
  • stvster
    Options
    Thanx Tobias,
    I was unfamiliar with Dropbox and have signed up.
    Photon (Exit Games) is an awesome service and is greatly appreciated.
    Thanx Again!
  • stvster
    Options
    UPDATE:
    As it turns out a xml config file (web.config) needs to be present on my Godaddy site.

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <system.webServer>
    <staticContent>
    <mimeMap fileExtension=".unity3d" mimeType="application/vnd.unity" />
    </staticContent>
    </system.webServer>
    </configuration>

    That solved the issue.
  • Tobias
    Options
    Thanks for the update (and the compliment, too).
    This XML sets the mime type on Godaddy then? Good find!
  • stvster
    Options
    Thanx,
    Yes,it sets the mime type.
    Actually I had this problem when I checked out Unity awhile back and forgot about the xml thing.
    (old age,pc burnout?)
    It's all coming back now,lol