Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I added subdomain,create a new folder,than put some files in folder,when I try to access my new subdomain I get this message 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. Can someone help me with this please?It is linux hosting with mysql database.

share|improve this question

migrated from stackoverflow.com Apr 21 '10 at 12:07

This question came from our site for professional and enthusiast programmers.

closed as not a real question by jscott, Holocryptic, Chris S, Scott Pack, Zypher Jun 30 '11 at 20:33

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
A bit more details on the subdomain and folder, and how you access this would be nice. –  Gomibushi Apr 21 '10 at 13:07
add comment

2 Answers

Can you access a html only file on the site? Upload a file with just some simple text in it. Can you load it? If not, look for the .htaccess file and rename it to something else. Now try to load the text file. If you can load it then its a issue with htaccess if not, time to look at the server logs for errors.

share|improve this answer
add comment

Error 500 as it states, is a server side error.

By that I mean that it's not GoDaddy that's causing the problem but most likely some configuration on your server, in your case I would guess that Wordpress and/or Apache are not configured properly.

One thing you might want to check is your Apache configuration it should include a VirtualHost for the subdomain.

Like this:

Listen 80
NameVirtualHost *

<VirtualHost *>
ServerName www.domain.com
DocumentRoot /home/httpd/htdocs/
</VirtualHost>

<VirtualHost *>
ServerName subdomain.domain.com
DocumentRoot /home/httpd/htdocs/subdomain/
</VirtualHost>

Edit: This configuration would be done in the hhtpd.conf file (usually at /etc/Apache2/ )

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.