Recently did I change a subdomain I set up using a CNAME entry from itemsadder.andre601.ch
to addons.andre601.ch
To avoid broken links for those I shared in the past did I now set up a page rule with the following options:
- Setting is
Forwarding URL
with301 - Permanent Redirect
set as status code - URL is set to
itemsadder.andre601.ch/*
- Destination URL is set to
addons.andre601.ch/itemsadder/$1
When I now try to access itemsadder.andre601.ch
(or any sub-page for that matter) is my browser (Firefox) returning a “Site not found” error.
To be clear: I’ve had a CNAME entry with key itemsadder
set up that links to github pages (<username>.github.io
). This CNAME has been renamed to addons and is working as expected (Displays the page behind it).
Do I need a separate CNAME entry just for the sub-domain to properly redirect? Can/should it be an A-record pointing to the same IP as the main domain does?