I want to use subdomains as a way to direct traffic from what looks like a subdomain to a page within the site
For example I want to use commercial.domain.co.uk to redirect to the url https://www.domain.co.uk/commercial.html
I created a page rule: if hostname contains commercial redirect to the URL and deployed it
I have two issues:
-
if I use www.commercial.domain.co.uk or https://www.commercial.domain.co.uk it doesnt work, just times out, without www and straight https://www.commercial.domain.co.uk
-
if I create multiple rules for multiple subdomain to URL redirects some work some dont
I’ve obviously missed something
Also do I need to create an A record for the subdomain, pointed at site IP for these or can I just create rules to give the impression of using subdomains?
Or am I simply approaching this wrong?
Cheers