Retrieve current domain

Have a look if this helps:

1 Like