I have an preexisting website, www.main.com. Using, cpanel I set up a addon domain, www.personal.com, but Cpanel also setup a subdomain, www.personal.main.com, which I don't want. So I just redirected www.personal.main.com to www.main.com.
Both main.com and personal.com are both registered.
First question, I don't want main.com and personal.com to be connected in anyway. So I don't want the other one to show up a search engine result when searching for the other one. Since I've already redirected personal.main.com back to main.com, will this show up in a search result? If so how can I do this so it doesn't show up and the two are completely separate.
Second question, what is the correct way of hosting two websites on a single hosting server? www.main.com is located in /public_html/ and I have setup www.personal.com in /personal.com/.
Currently both websites, main.com and personal.com are up and running without an issues.