Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by John 5 · Apr 04, 2010 at 09:32 AM · webplayer

Godaddy windows hosting + unity webplayer

Hi,

My website is hosted with godaddy.com (windows.) I have upgraded my hosting account to IIS7 (from 6 I think it was.) I have followed a tutorial to get a simple game up and running and I've uploaded it to:

http://www.kuneko.com/unity/SpaceShooter.html

There's also the SpaceShooter.unity3d in the same folder.

I've read that I need to create a web.config file to allow the unity3d file to load. All I'm getting at the moment is a 500 - Internal server error. This is in the same folder as my game, putting it at my root folder causes all of my pages to display the error message. This is my web.config file:

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

Could someone please help me and let me know what I'm missing?

Thanks,

John

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
13
Best Answer

Answer by Cyclops · Apr 04, 2010 at 01:25 PM

Your config file is close, but needs one change: it's system.webServer.

<configuration>
    <system.webServer>
        <staticContent>
            <mimeMap fileExtension=".unity3d" mimeType="application/vnd.unity" />
     </staticContent>
    </system.webServer>
</configuration> 

From How to add Mime Types with IIS.

Comment
Add comment · Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Cyclops · Apr 04, 2010 at 01:32 PM 1
Share

@John, do also remember to upvote any good answers you find here in UnityAnswers (for instance, this one :) and/or click the checkbox for the best answer to any of your questions.

avatar image John 5 · Apr 04, 2010 at 02:30 PM 0
Share

Thanks :)

I have the web.config file in the same folder as the .unity3d file and the .html file of my game, and also in my root folder. $$anonymous$$y site is still working which is an improvement from earlier but I still get the 500 - Internal error when I load the http://www.kuneko.com/unity/spaceshooter.html.

Is there anything else I might have overlooked?

Thanks again :)

avatar image John 5 · Apr 04, 2010 at 02:36 PM 0
Share

Ah it's okay now and working. $$anonymous$$aybe I didn't give it enough time to refresh or something...

Thank you very much, Cyclops :)

avatar image MD_Reptile · Dec 03, 2012 at 06:46 PM 0
Share

thanks for this answer, worked for my godaddy hosting!

avatar image avidgamer · Mar 26, 2013 at 06:57 PM 0
Share

awesome my issues are now solved, thank you

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

GoDaddy Website and Hosting for Web Builds 2 Answers

godaddy webgame problem 1 Answer

Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers

AR in WebPlayer 1 Answer

Record an unity web game session and save it as a movie? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges