Question

Tomcat rewrite url to redirect IP to domain name

Posted April 2, 2020 2.4k views
CentOSApacheNetworkingDNS

Hi Team,

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?

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!