Login in doesn't work after Primary domain change
Hi,
My primary domain was primarydomain.com, and my addon domain is addondomain.com.
I requested my web hosting support to swap them so my new primary domain is addondomain.com. Everything went alright and the website is up. However I cannot log in and access my admin account to manage the website, and I guess the registered users won't be able to log in too.
The error I get after entering username and password is HTTP ERROR 500. and It says "The website addondomain.com is not functioning". Could anyone help me please I need my website working.
Before the change request, I moved all the files of addondomain.com (
wp-admin,
wp-content,
wp-includes, etc) to the /public_html directory and all the files of primarydomain.com to a new directory of /public_html.
Thank you in advance