Closed mdvanes closed 6 years ago
It is possible to set op a 301 redirect via the hosting panel of old hosting, when moving to new hosting, set up a redirect there.
Does not work. potentially remove * -> 185.199.108.153 record from DNS config.
Fixed by setting up a redirect in the hosting dashboard AND a subdomain in the DNS dashboard to the IP of the Apache hosting.
Redirect lift.mdworld.nl to https://mdvanes.github.io/mdworld-simon/scriptie/
VDX does not allow this directly, Namecheap does.
Another solution would be to make a tld repo for scriptie e.g. scriptie-mdworld.github.io because a CNAME record can be created with value
scriptie-mdworld.github.io.
Another solution would be an intermediairy page that detects the URL and redirect. E.g. a CNAME record for subdomain
lift
tomdworld.nl
and detect that lift.mdworld.nl was used with JavaScript and redirect.Another solution would be to redirect to an IP on home server and redirect with PHP to https://mdvanes.github.io/mdworld-simon/scriptie/ (prefer not to have a dependency to non-cloud server)