Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Internal Server Error -- My website is working on desktop but not on iPhone. Whats up?

The website is http://www.jesteredtheater.org/

It works great on my computer but when I try visit it on my iphone I am getting a page that says:

Internal Server Error

Has anyone had a similar problem? How do we fix it?

Are you serving the page differently for mobile devices? I confirmed the same behavior on my desktop (works) and my android phone(internal server error).

I designed the site to be responsive to screen sizes but that is it. So no difference in the files used between desktop and mobile. Maybe it is something to do with my hosting service.

I definitely think it's related to how your webserver is handling the request. You might want to check with the host if it's not something you manage yourself. I'm not the best on server management but a 500 error is usually the server doesn't know how to serve the page or is trying to serve something that does not exist. There should be logs on the server to help figure out why it's failing. Best of luck!

1 Answer

Server logs should give some insight into what is happening. Also same results. Good on desktop, 500 error on iphone 6

Any idea for fixes?

There is too many variables here to offer any advice. If you don't have access to your server's logs, than have your host help you. Logs should show exactly what the server is trying to do when it fails. With that information, you should be able to work out a fix.

I've never experienced this so I don't know. Sorry.

Hey Kevin, Thank you for the advice of talking to my host. They deleted a file on their side that was causing the problem and it started working. My layout is now having issues on my iPhone but its something I can fix now I can see it.

Sounds great! Have fun coding and learning!