Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Irule redirection from public to private url

Gajji
Cirrostratus
Cirrostratus

Is it feasible to redirect URL

from https://www.xyz.com/mysite (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)

 

4 REPLIES 4

, 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.

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

Gajji
Cirrostratus
Cirrostratus

Thanks that's what my understanding ..

OmarS
Nimbostratus
Nimbostratus

you can try reverse proxy

https://techdocs.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-implementations-12-1-0/17.html

 

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