R2Northstar / Northstar

Repo for packaged Northstar releases
https://northstar.tf/
MIT License
1.69k stars 129 forks source link

Website www. -> @ #274

Open iTzNao opened 2 years ago

iTzNao commented 2 years ago

Bug

https://www.northstar.tf doesnt redirect to root domain.

Steps to reproduce

  1. go to https://www.northstar.tf
  2. doesnt work.
  3. go to https://northstar.tf
  4. it works.

Fix

Add an A record with the name www and content as 192.0.2.1 (This is a gateway IP address) Then add a page rule with the url as www.northstar.tf/*, setting on Forwarding URL and status code as 302, set the destination as https://northstar.tf/$1 Then its done! (* gets the file-path, and $1 uses the file-path)

barnabwhy commented 2 years ago

should be https://www.northstar.tf/* in the page rule source location if my knowledge of it is correct

iTzNao commented 2 years ago

should be https://www.northstar.tf/* in the page rule source location if my knowledge of it is correct

no, it doesn't, it cant use https, its not connecting to an external site, its internal, within Cloudflare, so you don't put https image

barnabwhy commented 2 years ago

i meant the change being the * not the https

xamionex commented 2 years ago

@barnabwhy Nao meant that www. doesnt work so I'm suggesting here bob or whoever can change masterserver adds a cname that redirects to northstar.tf

barnabwhy commented 2 years ago

@BobTheBob9 will have to sort this out

iTzNao commented 2 years ago

yes exactly, but not a cname, an A record instead