Tomcat rewrite url to redirect IP to domain name
I’ve written a rewrite rue for my domain to redirect IP address to domain name. But the redirection is not working. I’m running Tomcat 9.0.19 on CentOS 7.
I followed the answer mentioned in [https://www.digitalocean.com/community/questions/redirect-ip-to-domain-name]
But that doesn’t seem to be working. Can you please let me know the right way to configure it?