• Resolved georgeliebau

    (@georgeliebau)


    I have a site hosted on godaddy and am trying to get it to run on my web server before turning it off of godaddy. I have another site running via wordpress on the same server under IIS7. Under IIS Manager I added the site and point it to the WP files for the second site. I changed the hosts file to use the local box for dns. I made sure the values in the wp-config.php file, such as database name and user were created in mysql and performed a grant all permissions and flushed. Queried OK. When I either try to run the site locally or get to the wp-admin login, I receive an HTTP 500 Internal Server Error. I did searches throughout the forum but couldn’t come up with the answer. I tried messing with both .htaccess and web.config files though read on one post that IIS doesn’t use web.config.

    Any suggestions would be greatly appreciated!

Viewing 1 replies (of 1 total)
  • Thread Starter georgeliebau

    (@georgeliebau)

    I did further searching to find that if I disabled friendly HTTP reporting, that the error changed to ‘error establishing a database connection’. I simply went in and dropped the database my wp-config.php file was referencing and recreated a new one with a new user and re-did the permissions. I then changed the values in the php file and all seems ok now.

Viewing 1 replies (of 1 total)

The topic ‘IIS7 WP local test getting HTTP 500 Internal Server Error’ is closed to new replies.