@hrishikesh the first site is “algohitspontocom” and have a custom domain (alghohits.com).
The second site, named “sitealgohits”, has a custom domain as a subdomain of the first site and is pointed to another website (hosted in another hosting).
The last site, named prvw, has also has as custom domain a subdomain of the first site but is pointed to a subpath of the first site.
The fist site the follow redirect rule:
/* algohits .bubbleapps. io/:splat 200!
The second site have a custom domain “a.algohits.com” and the follow redirect rule:
/* algohits.com.br 200!
The last site have the custom domain “pre.algohits.com” and the follow redirect rule:
When i request the url www.a.algohits.com it is working as expected, in a masked redirect to www.algohits.com.br. When i include a path to it, like www. a.algohits .com/contato, i’m being redirected to algohits.com.br/contato, as expected, but the url is changing, as the rule was a 301 instead a 200.
In the last case the rule is not working, the site isn’t loading as expected.