@azlanirda in this case you need to check the domain log why it is generating 500 internal server error.
if you can post the log entry here we can get an idea.