Check if there is any error message at splunkd.log/web_service.log at $SPLUNK_HOME/var/log/splunk.
I had similar issues in the past and I am not able to identify the root cause even doing some troubleshooting on the log files I mentioned.
To fix the web server issues in my case, I have to reinstall Splunk using the same version already previously installed and it had worked. Try to revert the previous changes you had deployed to check it can be the root cause.
Please run a backup first at the entire /etc folder before you deploy any changes, just to make sure you are able to recover all the configuration and apps.
... View more