By oyemr
My primary domain is Oyemr.com I tried adding a sub domain http://ifsc.oyemr.com using cPanel but it’s not opening and shows this message 500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
While another sub domain was created successfully and in working fine https://coupons.oyemr.com I tried restarting server. Nameserver are ok
How to solve this issue?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
Indeed as Mohsen said you need to first check your Apache/Nginx error logs. The default location of the Apache error logs on CentOS is:
/var/log/httpd/error_log
What you could do is grep for your domain name in the error log:
grep your.subdomain.com /var/log/httpd/error_log
That way you would get all of the entries from the error log for this particular subdomain name.
Hope that this helps! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.