This is usually a network-specific issue rather than a problem with your website itself.
Different internet connections can use different DNS resolvers, routing paths and security filters. That's why a website might work on mobile data but fail on a particular Wi-Fi network.
I'd start by checking whether both networks resolve your domain to the same IP address.
You can also try running these commands from the affected computer:
nslookup example.com
tracert example.com (Windows)
These can help identify DNS resolution and network routing problems.
If DNS results are different, check whether the office network is using an outdated DNS cache or a custom DNS server.
If the IP addresses match but the website still doesn't open, ask your network administrator to check firewall rules or contact your hosting provider to investigate whether the office network's public IP has been blocked.
It's better to identify whether the issue is DNS, routing or firewall-related before changing your hosting configuration.