Tomcat rewrite url to redirect IP to domain name

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 [] But that doesn’t seem to be working. Can you please let me know the right way to configure it?

Submit an answer

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!

Sign In or Sign Up to Answer