Apologies if this has been previously discussed. I just couldn't find anything useful. I am tryingt to host both moodle and wordpress on the same server. I previously have moodle installed then went ahead and installed wordpress, both as virtual host on centos 7. but my wordpress domain is still routing to the moodle domain name.
I configured moodle initially as mydomain.com. then later changed it to moodle.mydomain.com and it is working fine. I then confgiured wordpress as mydomain.com but it is still routing back to moodle.mydomain.com. Can anyone please help point me to what I am doing wrong?
appreciate your help in advance.