Www.domain.com and another.domain.com websites together not working [CLOSED] BROWER ISSUE

OS type and version Ubuntu 22.04
Webmin version 1.994
Virtualmin version 7.1.1
Related packages Wordpress

www.domain.com has wordpress installed in its top level folder and working fine

I created a sub domain cloud.domain.com
and again installed wordpress in this at top level

But when I try to open in the browser cloud.domain.com am redirected to main website :expressionless:

Why is this happening ? I was expecting that the cloud.domain.com website would open up

cloud.domain.tld should display its own install of WordPress, independently of the WordPress installed at domain.tld.

To simplify matters, delete the sub server / sub domain and create a top level virtual server with the domain cloud.domain.tld and see if you get the expected results.

Somehow Safari is caching or doing something wrong. With Chrome it is indeed working fine

So I don’t think this is Virtualmin or Webmin issue, this is Safari Browser issue - but still why is it caching a subdomain as main domain - very weird behaviour