Knowledgebase

Single Directory for my sites

Posted by ubercool, 04-10-2017, 12:46 PM
I'm moving hosts, currently at Namecheap, but I've tried many hosts, including AISO, Bluehost, Dreamhost, Flywheel, HostGator, Lightning Base, Media Temple, SiteGround and WP-Engine. Of all these hosts, I liked the setup at Media Temple best, because they allowed me to put my seven (7) sites into separate directories, but it did not have cPanel and their service deteriorated over time. I understand from reading many posts here that getting a reseller account would be my smartest move because it would isolate each site, but I do like the convenience of having just a single FTP account to quickly access and maintain all my sites. But I definitely do not like Namecheap's, or SiteGround's for that matter, setup where there is one master site, with subdirectories for each domain, because that makes for a messy main site, with sub-domain folders littering my main WordPress directory. If I went the reseller route I would have separate logins for each domain, correct? Is there anyone out there who maintains multiple sites in separate sub-directories, without requiring a complicated cPanel move of the primary domain to a sub-directory? I need to change hosts because Google's newest "Check My Site" service tells me that my mobile performance is poor, while my desktop performance is fair. Requirements 10 GB SSD storage Fast bandwidth 50 GB+? cPanel 24/7 Service Daily Backup Preferably with a CDN Preferably with a presence in Europe Budget: $30-$40/mo. Thanks so much for reading, this is my first post here!

Posted by BoomHost-Kumar, 04-10-2017, 01:22 PM
Welcome to WHT! You're correct. You can have one login per domain if you chose to go with reseller route and decided to put each domain under its own cPanel account. Your budget is pretty decent if you choose to buy a reseller account from a reliable provider. Are the above requirements for each of the domain you plan to host or everything combined?

Posted by LJSHost, 04-10-2017, 01:45 PM
Yes with a reseller you will have separate logins for each account it's the only way to avoid sub folders containing other domains. Your budget would also just about cover a cPanel VPS which would give you complete isolation.

Posted by ubercool, 04-10-2017, 01:59 PM
Thank you! Yes, all my sites combined. Some are small test sites, three will eventually become larger content sites.

Posted by WPCYCLE, 04-10-2017, 02:00 PM
It looks like you've done the host to host to host dance, and are taking the advice from Big Brother Google about speed, but within what you posted, I see no mention of optimization or assessing the core reasons why you're moving. I don't have any European recommendations as other will, but here's a quick list to go over for all your WordPress websites; 1. Are images optimized? If you control these websites, add the EWWW plugin and have it optimize all images and media files within each website. You will be surprised the percentage that each image can be reduced by file size and not dimensions...and sometimes people do load images that are 3000x3000 dpi not realizing the overall affect it will have. Plus with the plugin, it will reduce image file sizes during any uploads after that. 2. Spam comments. Are there any? I've seen cases where 8000 spam comments were sitting and not deleted. That will drastically slow down any WordPress website. 3. Is or has the database been optimized? Who ever the current hosts is, or when you chose a new one, ask them to look into this for you. Default settings or not optimizing it at some points can also drastically reduce the effectiveness of the website. 4. Do you have security plugins in place? The minimum plugin for a customer to install is WordFence, BUT be sure to disable the Live View option. All WordPress websites are prone to wp-admin and xmlrpc attacks which can go on for hours which will also slow everything down. The best method is to block easy access to wp-admin and xmlrpc either through htaccess. 5. Is everything up to date? One bad scripted plugins can create a huge mess if not patched or replaced with a plugin that is reputable. 6. Any plugins creating load issues? Install the P3 profiler plugin and let it test all your plugins to see how much memory they use. I've seen cases where 10 plugins were installed and one used 80% of memory while the other 9 had no issues with 20%. One contact builder plugin has a horrible way of using memory, has recently become on the easy exploit list, and has an expensive subscription model. A competitor created a similar plugin (without stealing codes) that does the same job using little memory, a lower priced support model, and dozens of people begging them to creates an add-on to convert their data from the "bad" plugin to the better plugin. Two more things; 7. These are just a few things off the top of my head to take into consideration with WordPress. Without assessing any core issues, the issues are then just backed up and carried to your next host. 8. Of the list of hosts you mentioned, half of them would have given you issues either way. They're just brands under a corporate company called EIG who is known to value money over customers, and any host under them are just in business to oversell accounts with zero focus on quality.

Posted by BoomHost-Kumar, 04-10-2017, 02:06 PM
You're welcome! You should be fine with a reseller account and putting them onto their own cPanel. When your sites grow you can then think about moving them to VPS/Dedicated. In fact, you might be fine to start off with a shared host (putting all domains into one cPanel account) but again it is not the greatest setup when it comes to security or performance of each website/domain witout affecting the other sites. Same applies if you choose to put all sites under their own sub-directories using a single cPanel account. So, go reseller route and isolate them all.

Posted by ubercool, 04-10-2017, 02:51 PM
1. Have optimized most images, by default they come out of Photoshop with 60-70% optimization, so running them through an optimizer produces very little file reduction. That said, I use @2x images so they tend to be larger than average. I use Total Cache to optimize browser and page caching. I will add the EWWW plugin. 2. Few spam comments, I regularly clean them out. 3. My biggest site only had 100 posts, until I completely took it down to update all posts. Right now, it's a brand-new install with just 10 posts, so you know it's not entirely my site's fault that it performs slowly. 4. I don't have WordFence, I will install it. 5. I'm anal, nothing is older than a week. 6. I will test the plugins to see which ones create extra workload, but I try to keep them to a minimum, right now I have 15 plugins installed. 8. I have heard of EIG and will stay away!

Posted by MechanicWeb-shoss, 04-10-2017, 03:14 PM
It seems that you have some standard requirements except for the EU presence part. Did you mean company's physical presence or server location? Yes, a reseller account is better for hosting multiple sites. You may want to go for it considering the security issues. For example, if one of your sites is compromised, it is likely that all the sites under the same account will be compromised, too. That could be a huge headache. There are other benefits, too. That is correct. But you can also log into cPanel using your reseller username/password and switch to other client cPanel accounts and use the file manager to upload files. You won't have to log out/log in each time. When you add an addon domain into cPanel, it allows you to specify a root directory for that domain. You won't have to move your primary domain's root directory unless the provider has a custom setup. Most likely this is not a result of your hosting but your site structure. You may want to consult a website developer for this.

Posted by DewlanceHosting, 04-11-2017, 05:55 AM
As per my experience, WordFence sometimes create major issue and you will not even know about it until you lose to much traffic, etc. Reseller hosting plan will be perfect for you, cPanel reseller permission allow you to login to any account without entering password for each user. You are using a wordpress so there is a lot of plugins which allow you to manage your all website from one wordpress admin area and you can upgrade all site, maintain it from one place. Mobile Site: Check in google mobile site test, Its show reason that why your site performance is poor. Maybe everything is ok buy your site lack one of feature which is so easy to add. Use wordpress mobile site optimizer and then check it on google.

Posted by IH-Jake, 04-11-2017, 09:25 AM
It is always a good practice to use a reseller account to host more than one account as it will definitely add protection to your websites. Because you will not be able to blame the host for suspending your entire account for one compromised account.

Posted by HostInsider, 04-11-2017, 10:05 AM
Actually, you can put all addon domains into home/user folder. Just go to cPanel -> Addon domains and click Edit. You can change the path. Also, it's not necessary to hold the content of main domain name in the public_html folder. You can make main domain resolving from a subfolder. To do this, use the following .htaccess redirect: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?maindomain.com$ RewriteCond %{REQUEST_URI} !(/|\.[^/]*)$ RewriteRule (.*) http://www.maindomain.com/$1/ [L,R=301] RewriteCond %{HTTP_HOST} ^(www\.)?maindomain.com$ RewriteCond %{REQUEST_URI} !^/subfolder/ RewriteRule ^(.*)$ /subfolder/$1 (sure you need to adjust it and back up your current .htaccess). And as it has been said, issues with website speed have other roots.

Posted by WPCYCLE, 04-11-2017, 10:47 AM
All depends on the settings. The default setting does create more issues than fix it. The same with W3TC. Using add-on's or keeping multiple WordPress websites in the same folder is very dangerous. All you need is one exploit, and every single website in that account/folder will be effected. Separation limits issues to the domain with the issue...not all of them.

Posted by DewlanceHosting, 04-11-2017, 11:29 AM
Actually I am not talking about settings, Sometimes it create a major issue and it required to disable all plugins, Manually debug and remove code/files of wordfence from user directory.

Posted by ubercool, 04-11-2017, 11:30 AM
I will circle back once I set up my new sites about ideal settings. I have decided to go the reseller route and will avoid this issue. This is a very good point!

Posted by WPCYCLE, 04-11-2017, 11:35 AM
Interesting. I have not run across that issue (fortunately for now), but exactly what happened? Was the issue related to users being locked out or was it conflicting with other functions? Maybe someone else has had the same issue, and posting it (if you have time) could help them out in the future.

Posted by ubercool, 04-11-2017, 06:40 PM
I once ran into a situation that may have been precipitated by Sucuri. After the WordPress site of one of my clients, a major golf resort in New England, was hacked, Blue Host decided to shut down the site without any prior notice. That's when I took my client's site to another host.

Posted by DewlanceHosting, 04-12-2017, 12:47 AM
I can't remember exactly but first it show white page and wp-admin folder stop working so If you enable debug mode then it will show lots of error which contain file link of wordfence so I simply disable all plugins. Then new error start showing that ..../public_html/*wordfence.php or some file which contain link to wordfence does not exist. (This error occurred because of I disable plugin by renaming plugin directory to different name) and then I need to remove code from that file. Process to fix this issue: 1. Enable wordpress debug mode 2. Disable wordfence plugin by renaming plugin directory, Do not delete wordfence plugin directory else it will create another issue. Wordfence also affect wp-admin directory so you will be not able to disable wordfence from admin directory and this is reason why I disable all plugins instead of disabling wordfence from wp-admin area. 3. Now, Your site will show error. Find wordfence file which still create issue and remove code. I do not remove file, I only add "#" in front of wordfence php code to ignore it because of customer can ask me to re-enable wordfence. 4. Now you will be able to access wp-admin so first login to wp-admin and then change wordfence plugin name to different name like wordfence-disabled and rename your plugin directory to previous name. 5. Now disable wordfence from admin area.

Posted by WPCYCLE, 04-12-2017, 07:14 PM
I've seen the same thing happen with some cache plugins. The plugin would add a file in the wp-content folder which would then throw WordPress to the white screen. The file and plugin would need to be deleted. Even on clean installs, there's always some form of a conflict.

Posted by DnHGeeks, 04-13-2017, 12:28 PM
Hi ubercool, Welcome to WHT! You can choose the reseller route and host all your sites with separate cPanel. I would suggest you to check your reseller hosting for support and money back guarantee. A hosting which reply to your tickets within 1-2 hours is a good hosting. In case their service deteriorates you can ask to return your money. You can find a good reseller in your budget. There are many resellers which have servers in US. Is it required for the reseller hosting to have server in Europe ?

Posted by WPCYCLE, 04-25-2017, 01:50 PM
Glad you found a new Home I don't know much about them, so only the experience of yours and others that have posted is what we can go by. Good. Some of those are standard, but when a host focuses or fine tunes what they offer customer, it does make a drastic difference. The con is a pro in the long run when you get used to it. When a host offers email on the same server, RAM has to be used to not only process the email server, but to process any spam clean up as well. Then add cPanel, more ram usage. With this setup, RAM is allocated to your needs and not the needs of everything. With phpMyAdmin, ask them about it. Again I don't know them, but it's not difficult to add. Worst case, look for Adminer. It's a single file that you can drop into your account and manage your database. Any time I needed it, I would upload it into the account, use it, then delete it just to be safe.

Posted by ubercool, 04-25-2017, 01:57 PM
Good point about email, hadn't thought about that, and I do get a lot of email! You can install phpMyAdmin but it's a convoluted process, so I had no bandwidth for it.

Posted by FIberded, 04-25-2017, 03:09 PM
What resources do you need? CPU: IO: IOPS: Memory: Concurrent connections:



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Best hosting provider (Views: 665)
1planhost down (Views: 714)


Language:

Client Login

Email

Password

Remember Me

Search