Redirect HTTPS domains to HTTP or HTTPS domains using Github Pages
View the Project on GitHub adrw/https-redirect-javascript-with-meta-fallback
Redirecting HTTPS links is not possible with DNS 301 URL redirect records.
For example, using DNS alone https://domain1.com/xyz.html
can not be redirected to https://domain2.com/xyz.html
.
Instead, the HTTPS for domain1.com
must terminate at a server before the client can be redirected to domain2.com
.
src/
into the top level directory404.html
to index.html
404.html
for andrewparadi.com
(old site) and andrew.fm
(new site) to replace with your redirect source and target valuesCNAME
file with your source website that you want to redirect frommaster
branch A @ 185.199.108.153
A @ 185.199.109.153
A @ 185.199.110.153
A @ 185.199.111.153
CNAME www adrw.github.io.
https://www.andrewparadi.com
-> https://andrew.fm