These 2 domains should point to mydomain.webflow.io, and NOT to our live page (mydomain.com), since they are for testing purposes. How would we go about this? Just adding it in the webflow hosting settings would not work, since then the 2 domain would point to mydomain.com.
(Why do we want those domains?
We want them to be on the same domain, because that simplifies a lot of things, eg. retrieving cookies from http request only works on the same domain.
We need 2 domains for testing, 1 where new local javascript code can be tested (dev.mydomain.com) and one where staged/working js code is used (staging.domain.com). Doing both things on the same domain (mydomain.webflow.io) is quite painful.)
You can either duplicate the project and add a second hosting plan to the project with your custom subdomains, or
You can add those subdomains to your project BUT not set a default/primary domain, AND selectively publish changes to the correct subdomain (pain in the **** to coordinate a content freeze if you have multiple designers & collaborators), or
Hi, thanks for the answer. So the purpose of this is to have 2 testing domains that reflect the current status of our webflow project before we release to our live domain. We only publish changes to the default domain only once per week, but regulary to webflows subdomain. Content editors are not permitted to publish (since unfortunately they can not select single domains to publish to). So solution 1 & 3 are not possible.
I’m curious about option 2. Currently we have a default domain. So if you don’t have one, you have to manually select all the domains you want to publish to? We currently have a bunch of other domains like mydomain.de, mydomain.es etc that go to mydomain.com. Currently we get these publish options:
Then you will not be able to use option 2, unless you remove those add-on/parked domains from your project, and apply the redirect from the domain name registrar instead.