Thread Starter
kokaku
(@kokaku)
I already have the domain mapping plugin installed. In it, I have S.com and S.A.com as a primary mapping (that’s what I meant in the 3rd paragraph about the ‘too many redirects error’ and setting up S.com as a primary mapping). It didn’t appear to let me map A.com at all since that’s the core domain of the network.
Thread Starter
kokaku
(@kokaku)
I have read that, though not all of its steps mapped to my conditions. For one, it took me a while to realize the ID comes from the db since it doesn’t show up in the sites list. Also, I have a subdomain setup, not a subdirectory setup.
What I see in my Network Admin > Sites list is this…
Domain A.com with Mapping [none]
Domain S with Mapping S.com (the Domain is S, not S.com, since it is a subdomain setup?)
In S’s Dashboard > Tools > Mapping…
S.com
S.A.com as Primary
As I said in my original post, when I tried to set S.com to be the Primary, I got a ‘too many redirects’ error.
One other consideration that I haven’t explored – the site is setup on Nginx with a server with ‘server_name S.com A.com *.A.com’ – do I need to tweak my config files to make this work?
Thread Starter
kokaku
(@kokaku)
How bizarre – after some more searching and reading, I tried making S.com primary again and maybe the DNS changes needed time to propagate?, because now it works.
I also made a change to DNS settings on my host to remove the A record for S.com and replace it with a CNAME record mapping * to A.com
Not sure which is responsible but now it works.
Thank you for your help along the way (an added voice can help keep one going).
maybe the DNS changes needed time to propagate
They always do 🙂 Took me 4 hours last night cause I’m a dumbass and forgot to lower my TTL before changing an IP.