I am having a problem, all my websites are on my main root domain which i will name as xyz.com When i login through FTP, all the other domain folders are found there.. Now i want to launch xyz.com and it is becoming complicated to add files there for my website xyz.com because there are too many other addon domain folders there. Is there a way to solve this please?
Other than getting rid of the addon domains there is not. Unless you opt to spend the money on a reseller account and give each domain it's own cPanel.
There is not a way to transfer the files for xyz.com on another folder? all my domains are found on xyz.com
I know, mine too. You can, but you need to set it up to be xyz.com/folder_name , or an iframe, or a serious php include, you would tell the .htaccess (I think I recall anyway) to redirect to the /folder_name for the site, or use a simple html file with a meta refresh tag, but the .htaccess would probably be better depending on the SEO on your site.
I name all my add-on folders such that they all appear at the top of the cPanel File Manager. So they are all together and don't clutter up the rest of the directory structure. You could rewrite requests to a folder containing your files for xyz.com. You may also get some help from your web host's technical support about this. You are not the only person who wants to put their main site's files in a sub folder of public_html to keep everything tidy.
While the problem looks quite troublesome, the solution actually is simple. Here is the solution (First Step/Step A): Create a folder in your root directory. You could named it "ZXY". Move/change your main domain (you called it "Main Root Domain") to newly created folder (ZXY folder). Done. If you expect more step, well, sorry it is just as simple as like that. The solution above is based on my own experience. While it work for me, I couldn't guarantee it will work for the others. After doing three simple step above, your site may become temporary inaccessible. This is due to rewrite function not working properly (the site has been moved to the new path). To overcome this situation (Second Step/Step B): If you login to your site through "XYZ.COM/WP-ADMIN.PHP", you just need to change the path to "XYZ.COM/ZXY/WP-ADMIN.PHP" "ZXY" is the folder you just created in step one above. In your site setting: "WordPress Address (URL)" should be changed to "http://www.XYZ.com/ZXY". Change HTTP with HTTPS if you use HTTPS. Remove 'WWW' if you didn't use it. "Site Address (URL)" remain intact (it should be http://www.XYZ.com - based on your site structure). If you use other CMS, do the same thing as explained above (change rewrite rule). As illustration, here is what I did to solve that problem: I had many domains. 1.com, 2.com, 3.com, etc. Main domain is 1.com Domain 1.com has it own folder in "/home/user/public_html/domain1". If you didn't create folder for it, it will place the installation (main site) in "/home/user/public_html/" Domain 2.com has its own folder named 'domain2'. It is located in "/home/user/public_html/domain2". Domain 3.com also has its own folder "domain3" and similar setup: "/home/user/public_html/domain3". The same setup applies to other domains. Folder structure: /home/user/public_html/ (no domain is using this root folder) /home/user/public_html/domain1 (Main site/domain) /home/user/public_html/domain2 (add-on domain) /home/user/public_html/domain3 (add-on domain) /home/user/public_html/domain4 (add-on domain) By creating special folder for your main domain (site) in 'sub domain' as illustrated above, you could manage your main domain easily because files installation would be placed inside "domain1" and not in root directory. The advantage of doing this are: All domain or site has separate folder. If you didn't create special folder for your main domain and place it in root directory, All of your addon domain would likely accessible via your main site. As an example: XYZ-2.com is accessible through XYZ.com/YXZ-2/. YXZ-2 is addon folder for XYZ-2.com, the same thing happened to other addon domains as well. backup XYZ.com domain become so simple. You just need to backup ZXY folder because addon domain no longer in sub folder of your domain/site. All files belong to XYZ.com is available in ZXY folder. To make change to the site, just navigate to this folder and not at root directory. Tips: If you plan to add addon domains in your hosting/server, you should create special path/folder for your main domain in your root directory. I had small server and all of my sites has its own special path (folder). It is so easy to manage all of them with FTP because each one of them has special folder for sites installation.
I wouldn't host multiple sites under a single control panel. It can be a huge security risk and performance issue. Hosts these days use various measures to throttle resources (IO, RAM, CPU etc.) allocated to you that are responsible for performance. These resources are allocated on a per cPanel basis and not per domain/website. If you have multiple sites under a single account, each of the sites will have fewer resources than allocated to at its expense, so, performance becomes less than what's allowed. And if one of those sites is compromised, all the other sites are likely to be compromised, too. So that's a huge concern for security. I would go for a reseller hosting. Reseller hosting isn't just to sell hosting. It's essentially a better way to host multiple websites, even better than a VPS in many cases. On a reseller, hosting you can put each website under separate cPanel, you will have more resources available to each of your websites. For example, typically 1 GB RAM is available for a cPanel account so, if you host 5 websites each under its own cPanel account, each of them will have 1 GB at its expense on a reseller hosting. However, on a shared hosting, all 5 websites will be sharing that 1 GB together. That's 200 MB each.