Mobile version issue when domain forwarding with masking

OK solved. Issue was that domain was setup to redirect to IP. What I did that solved the issues was to edit the A record to point to the site IP and removed the domain forwarding. Then was able to set the WordPress and Site URL to the domain (as suggested in other posts) and all is working fine now