Hello, I bought a custom domain and deployed my personal website. The custom domain does not work when accessing it form my school network however it works when accessing it using other networks. What may the problem be and how can I solve it. The custom domain is rehankhalid.dev.
OK. We neither host DNS for that domain, nor is that DNS pointing to our service, so I am not sure how you want us to help.
DNS points to GitHub for both of your hostnames, so you should be asking them for tech support
% host www.rehankhalid.dev www.rehankhalid.dev is an alias for serpentstriker.github.io. [...] % host rehankhalid.dev rehankhalid.dev has address 184.108.40.206 rehankhalid.dev has address 220.127.116.11 rehankhalid.dev has address 18.104.22.168 rehankhalid.dev has address 22.214.171.124