Page 1 of 1

Problem with subdomains

Posted: Sun Feb 07, 2010 1:56 am
by barrettj1971
I apologize if this has been answered previously. I have searched and can't seem to find a solution.

I have a site online which is under development. To avoid displaying incomplete pages to the public I have set up a subdomain (dev.mydomain.com) where I would like to test everything. Straight HTML pages work fine on the dev site, but no php pages will work. I am receiving the following error when I try to load a php page:

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at dev.mydomain.com Port 80

I tried uploading php files to the main site (mydomain.com) and they work fine. This is obviously a problem with the configuration, but I can't find an answer and am on a very tight timeline. Any help is appreciated.

As an after-thought, I tried going to mydomain.com/dev/mypage.php, and this gives me the same error.