Redirect user to specific (calling) domain within rule

I’m trying to redirect a user after login (or during login) from a rule based on the role. I’ve set up my basic rule and I can correctly redirect to a general url (let’s say google.com) once added to the allowed redirect domains.

But what I want to achieve is to redirect the user to a specific page of my site: I have users in a waiting list and I want to redirect those users to my_domain/waiting.
So if I’m working in the “testing/develop” environment I would like to redirect to 127.0.0.1:8000/waiting, but when I’m online I’ll redirect to my_domain.com/waiting.

How can I do it? I think it should be really easy but…
Thank you!

Hey there!

As this topic is related to Rules - Hooks - Actions and Rules & Hooks are being deprecated soon I’m excited to let you know about our next Ask me Anything session in the Forum on Thursday, January 18 with the Rules, Hooks and Actions team on Rules & Hooks and why Actions matter! Submit your questions in the thread above and our esteemed product experts will provide written answers on January 18. Find out more about Rules & Hooks and why Actions matter! Can’t wait to see you there!

Learn more here!