Internal Error after Creating Subdomain

After installing an application like Laravel, Omeka, or even WordPress on the main domain in a BYU Domains account, some you may see an error message like the following when you are trying to create a subdomain and install an application:

  • ! PHP for the selected domain has failed.
  • Installatron is unable to install to a domain where PHP is not working.
  • Your hosting provider can help you resolve this error.
  • Error code: 1; HTTP code: 500rd.

If you are comfortable working with hidden files independently, do the following:

  1. In your BYU Domains cPanel File Manager, navigate to the directory for the affected subdomain.
  2. Click +File to create a new file in the directory.
  3. Name the file .htaccess
  4. Copy and paste the following text: RewriteEngine On
  5. Save the file.
  6. Test the URL for the affected domain
  7. If there are no files for the subdomain, a page saying Index of/ … should be seen. Otherwise, the default index file for the subdomain should be displayed.

If this does not resolve the issue or if you are not comfortable working with hidden files, contact domains.support@byu.edu or the OIT Operations and Support at (801) 422-4000.