Irule redirection from public to private url

Is it feasible to redirect URL

from .xyz Domain Names | Join Generation XYZ (this is public url/External accessible)

to https://wwww.abc.com/mysite (this is private url/Internally accessible only)(no pool for this as of now do i need to create so that we can redirect to it)

, Yes you can redirect but it will create problem from internet. As if someone is trying to access https://www.xyz.com/mysite from internet, iRule will redirect it to https://wwww.abc.com/mysite and as this URL is only private URL. So, on public internet, it won’t resolve any IP address. Redirection will happen but the content wont load. If you want to do such redirection from internet, first externalize/publish abc.com private URL over the internet so it will be accessible on internet too then set required redirection.

Within Intranet/LAN, the abc.com will load as expected and so redirection from xyz.com to abc.com will happen and required page will get load as expected.

Thanks that’s what my understanding ..

you can try reverse proxy

It works really well for me for static html pages. I can’t get it to work with out application with jsp pages.

OK thanks what IRULE should i use.. i tried few but didn’t work..