Mobile app version of vmapp.org
Login or Join
Sims2060225

: (Addon domain) Hosting multiple websites on single hosting account 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,

@Sims2060225

Posted in: #MultipleDomains #WebHosting

I have an preexisting website, main.com. Using, cpanel I set up a addon domain, personal.com, but Cpanel also setup a subdomain, personal.main.com, which I don't want. So I just redirected personal.main.com to 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? main.com is located in /public_html/ and I have setup personal.com in /personal.com/.

Currently both websites, main.com and personal.com are up and running without an issues.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sims2060225

1 Comments

Sorted by latest first Latest Oldest Best

 

@Pierce454

Why would you bother redirecting the subdomain? It is part of the way cpanel sets them up. If you don't want to use it, just don't use it. Don't tell anyone about it, don't link to it. Just leave it.

Your two domains are already connected by being on the same server. Many of the online DNS tools will show all the domains on a specific server. But again, what makes you think that a search for main.com will in any way connect to personal.com? Unless you cross link them or they have conent that is very similar they will be completely separate.

Your way of setting up the sites will work. Another way is to have main.com in /public_html and personal.com in /public_html/personal.com but since you seem worried about connecting the two you may not like that as going to main.com/personal.com will show the personal.com website.

If both sites are up and running without any issues just leave it be.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme