http 301 redirection to https
March 10, 2020 at 10:40 am#2027

As @Verhoeckx said, it depends on your hosting provider. Who is it ?
If you are using Netlfiy, you can use _redirects file and and something like this:
# Redirect default Netlify subdomain to primary domain
https://ajeet.netlify.com/*https://ajeet.dev/:splat 301!
If you have addedd your domain in Cloudflare, it is easy. Use this guide: