I have 2 domains. My primary domain (let’s call it https://www.domain1.com)
This domain is installed in public_html but not in a folder. Basically all the files are in public_html itself rather than public_html/domain1 (the files are inside public_html but not inside a folder there, they are loose)
I added an addon domain. This domain (let’s call it https://www.domain2.com) is in public_html/domain2
I installed wordpress inside public_html/domain2
all I want is to have domain2 be it’s own url (www.domain2.com) not domain1/domain2