My cloud subdomain config?

When you say “login on WD my cloud”, what does that mean? Do you want to log into the WD My Cloud Dashboard?

One can use the MyCloud.com web portal to access their files on the My Cloud.

Currently one cannot officially access the single bay My Cloud Dashboard from outside their local network without using something like VPN. The My Cloud Dashboard will, as I understand it, reject any connection outside of the local IP address subnet. The single bay My Cloud and the WD EX4 are different units/models that may/probably have different firmware features/options.

Unofficially it may be possible. There is discussion in other threads that ask about Dashboard remote access, of using SSH to remote access the My Cloud Dashboard:

https://community.wd.com/t/access-dashboard-remotly-via-internet/94902/3

https://community.wd.com/t/login-to-mycloud-dashboard-from-outside-the-network/93201/11