I have a WordPress hosted on WPMUdev that lives under example.com
, and trying to move this WordPress installation to sub.example.com
and set my react app on example.com
.
So I tried to move my website from example.com
to sub.example.com
so my WordPress can live in sub.example.com
and my react app in example.com
. WordPress is hosted on WPMU dev and React app on Vercel.
I've been able to set my React app on example.com
in Vercel dashboard after setting up my DNS record accordingly ( DNS records are set up in my domain name provider ) but I'm struggling to set my WordPress on sub.example.com
.
I've tried to set a CNAME records with sub.example.com
and A record with IPv4 WPMU servers IP but this does not work.
Domain name provider says I just need a CNAME record for subdomain but this also does not work.
On domain panels in WPMUDEV I've added sub.example.com
but it always fails on DNS Check. I also tried a few combinations of A/CNAME records but also fails.
What am I missing?
sub.example.com
it does not work but somehow my React app which communicate with WordPress via Rest API do work withsub.example.com
sub.example.com
as my primary URL, but when I hit this URL in my browser it redirects me toexample.com
(react app ) instead of my WordPress