Route website through two gateways

Hello everyone,
I like to route any domains through other gateway. I have two gateway in my router OS I like to mark some domains in the layer7-protocol and mark route in the mangle then route this through other gateway.
etc all domains route through pppoe gateway1 but I want to route google.com through pppoe gateway2.

In this case I crate layer2-protocole regex like this ^.(google.com).$ and in mangle I create roule in prerouting and select layer7 and action is markrouting with markname is google so in the routing table in default route 2 (pppoe gateway2) I select routing mark is mangle name (google)

/ip firewall layer7-protocol add name=“google” regexp= ^.(google.com).$
ip firewall Mangle add chain=prerouting content=google action=mark-routing new-routing-mark=google

This rouls is not work …!!!

Please advise me to solve this problem.

Thank You

Are you saying that google does not load when its active or are you saying that it still routes via the first gateway?

If its not loading, but is trying the 2nd gateway, make sure any NAT rules required are also set up for 2nd gateway.

If not, post your full export (remove any sensitive data) so we can have a proper look for you.

Hi
Can you solve your problem?
i have same problem