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:
- In your BYU Domains cPanel File Manager, navigate to the directory for the affected subdomain.
- Click +File to create a new file in the directory.
- Name the file .htaccess
- Copy and paste the following text: RewriteEngine On
- Save the file.
- Test the URL for the affected domain
- 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.