Hosted Website Automatically Redirecting
I am using Apache, until yesterday I only wanted to host one wordpress website on my server, now I want to host two. I copied the 000-default.conf file (and the SSL conf, I have a certificate for both domains), made changes, and enabled the site. Now the second site (site2) is working fine, but when I try to visit my other site (site1), the one that was there first, it automatically redirects to my new site. If I rename the folder for site1 the redirect still happens, when I disable site1 in apache it still redirects... It seems that somehow site2 has become the primary/default site for the server, but I cannot figure out where/how.
Any help is appreciated, I can provide file contents as needed, I am new to the forum (bear with me as I learn how to use it).
Thank you in advance.
|