I have a Wordpress-based web site hosted in Azure websites with a custom domain (www.mydomain.com) that is working great.
Now I want to let another domain (www.anotherdomain.com) respond to the same Azure website. But www.anotherdomain.com is an old website where its pages are no longer available either in new or old places.
This means I need to redirect any URL from www.anotherdomain.com to the root (home page) of www.mydomain.com without any http error messages.
Example: www.anotherdomain.com/products/blablabla.aspx to www.mydomain.com
I suppose I have to add some rewrite rules on web.config, but I have no idea on how to make them.
In addition, what would be the changes (if any): 1 - At my DNS zones for both domains 2 - Azure website domain configuration.
Thank you,
Igor