I have tried everything I can to redirect my custom subdomain (scanner.goldenspike.app) to an alternate screenTwo.html file in my app root directory. I tried using _redirect also in my root and the optional .toml redirect code.
The DNS seems to be setup correctly as well for the custom Primary domain: goldenspike.app and the Domain alias: scanner.goldenspike.app
I don’t know if I’m missing a setting or I did something wrong during my custom domain setup.
-
My .toml file redirect code:
[[redirects]]
from = “/*”
to = “/screenTwo.html”
status = 200
force = true
[redirects.conditions]
Host = [“scanner.goldenspike.app”] -
My _redirect code: /* /screenTwo.html Host=scanner.goldenspike.app
-
My Netlify subdomain link is: gokushipping.netlify.app
-
My Custom Domain purchased through Netlify: goldenspike.app
-
My Domain alias: scanner.goldenspike.app
Please help!