I have .com .site and .org domain my main site lies in .org domain now i need to redirect my other domain to .org domain but one subdomain of .com is used for staging purpose. So, that How can i redirect my .com and .site domain to .org domain.
It would be helpful if you provide me a guideline.
I assume there is one primary/canonical domain? This is also good practice for SEO.
All other domains should redirect to that canonical domain.
If you got a WordPress site that shows different stuff for different domains, you can have multiple, different canonical domains.
In the simplest case you would simply add the canonical domain to the .org domain and add the other domains to the redirect for that canonical domain.
The staging subdomain would be added as canonical domain the other WordPress staging site.
What does mean that it isn’t working? DNS resolve error? Connection time out?
Have you configured the A and AAAA (if IPv6 is supported) DNS records for these domains?
Is HTTPS (Let’s Encrypt) enabled?
I have put my secondary domain in redirects and provision its done but redirects doesn’t work. Should I have to add IP address same as primary domain to secondary domains A record ?