mdvanes / mdworld-jackson

mdworld theme "Jackson"
https://mdvanes.github.io/mdworld-jackson
MIT License
0 stars 0 forks source link

Redirect lift subdomain #20

Closed mdvanes closed 6 years ago

mdvanes commented 6 years ago

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 to mdworld.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)

mdvanes commented 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.

mdvanes commented 6 years ago

Does not work. potentially remove * -> 185.199.108.153 record from DNS config.

mdvanes commented 6 years ago

Fixed by setting up a redirect in the hosting dashboard AND a subdomain in the DNS dashboard to the IP of the Apache hosting.