Month: December 2020 Archives

Home / Archives for December 2020

RunCloud and iThemes for Wordpress

RunCloud and iThemes for Wordpress

Like most good hosting support folks, security tops the list of my priorities. While a good firewall, and true Web Application Firewall are the best means for helping with this, sometimes shared hosting services will not change the configurations they have in place to support the necessary security for a…

Cookie Notice

This site utilizes cookies to improve your browsing experience, analyze the type of traffic we receive, and serve up proper content for you. If you wish to continue browsing, you must agree to allow us to set these cookies. If not, please visit another website.

RunCloud and iThemes for Wordpress

Like most good hosting support folks, security tops the list of my priorities.

While a good firewall, and true Web Application Firewall are the best means for helping with this, sometimes shared hosting services will not change the configurations they have in place to support the necessary security for a WordPress website.

In steps the iThemes Security plugin.Ā  iThemes acts like a WAF, in that it can detect (via a vast network) bad bots, known hackers, and most known vulnerabilities in WordPress. I will lay out what I use on all of the sites I manage hosting for (note, this number as of today, is in the thousands), as well as enabling the necessary configuration needed to allow iThemes to do it’s thing when you have a nGinx Only Web Application on RunCloud controlled servers.

  • First and foremost, login to your WordPress admin, then click Add New, under Plugins in the left hand navigation. ( screenshot: https://prnt.sc/q8v5y1 )
  • In the search box, type in ithemes, when it shows in the returned plugins, click Install then Activate. As you can see here, I already have it installed and activated: https://prnt.sc/q8v6ej
  • Once it is activated, you will need to browse to it’s settings, the link is in the left hand navigation under Security ( screenshot: https://prnt.sc/q8v79h ). You can safely ignore the “Wizard” that will popup the first time you browse to it.
  • Click on Global Settings, check the box to allow writing to wp-config and .htaccess: https://prnt.sc/q8vdqj
    • This is necessary to allow iThemes to write the necessary rules for your web application. These rules will end up including blocks for known blacklists, as well, as disallowing php in plugins, themes, uploads, etc… You can input what you wish in the Message fields, you can also use basic HTML if you would like some formatting for the messages. These messages will show to browsers who have had their access blocked.
  • Scroll down to “Blacklist repeat offender” and check it. I am a tad strict when it comes to my websites, so I only allow 3 Lockouts before being blocked, as a safe bet, I would not go over 5 for this. The defaults for the rest are fine, but make sure to add your pubic IP address to the whitelist field. ( screenshot: https://prnt.sc/q8vi6p )
  • Configure your logging how you see fit, please note that on high traffic websites, your log can get very large, so do be careful what you select.
  • Scroll down to “NGINX conf file” and type in your applications root path. I make it a “dot file” so it is hidden. If you do not know your applications path, please check with your hosting provider.
    • As an example, my website’s path on RunCloud looks similar to: /home/YOUR_USER/webapps/YOURWEBAPPLICATION/.nginx.conf
    • I set “Automatic” proxy detection. Your usage may vary for this, if you have questions, please consult your hosting provider.
    • I also set “No” error messages. For me I have not seen a reason to display them to the end users of the site, so I have set mine to No.
  • Once you have this section configured, hit “Save Settings” at the bottom: https://prnt.sc/q8xi1z
  • At this point, you will need to get into shell on your server. We need to make sure that the file exists in the location we specified in “NGINX conf file” above.
    • So once you are shelled into your server, run this command swapping out the caps for your web apps specific account and application: sudo touch /home/YOUR_USER/webapps/YOURWEBAPPLICATION/.nginx.conf
    • This will create a blank file for the iThemes nginx configuration to be written to.
    • You will also need to change the ownership of the file to match your web application, you can do this with: sudo chown YOUR_USER:YOUR_GROUP /home/YOUR_USER/webapps/YOURWEBAPPLICATION/.nginx.conf
  • Once that is done we will need our nginx install to properly pull the configuration in. iThemes rules need to go in the web applications main “location” block, so let’s write a single line into the RunCloud specific location nginx config by running this: echo "include /home/YOUR_USER/webapps/YOURWEBAPPLICATION/.nginx.conf;" > /etc/nginx-rc/extra.d/YOURWEBAPPLICATION.location.main-before.ithemes.conf
  • Now, we can go back to iThemes and finish configuring it, leave shell open for now, once we are done configuring iThemes, you will need to reload nginx.
  • Click “Configure Settings” under “404 Detection” ( screenshot: https://prnt.sc/q8yyu8 )… if it is not enabled, please click the ‘Enable’ button to do so. In the settings page, make sure “Minutes to remember” is set to 5, and “Error Threshold” is set to 10. ( screenshot: https://prnt.sc/q8yzyb ) These are safe values for a standard WordPress install. Don’t forget to hit Save Settings at the bottom of that popup.
  • Under Banned Users, click Configure Settings, and check the “Default Blacklist” and “Ban Lists” then hit “Save Settings” at the bottom of the popup. Screenshot: https://prnt.sc/q8z13t
    • This will give your site a good starting point and block access to it from a list of bad bots.
  • Click “Configure Settings” under “Local Brute Force Protection”, and set Max Login Attempts Per Host to 5, Max Login Attempts per User to 10, Minutes to Remember to 5, and check the box to automatically ban the “admin” username. Once done, click the Save Settings button. ( screenshot: https://prnt.sc/q8z4jb )
  • Click “Configure Settings” under “Network Brute Force Protection”, check the Ban Reported IPs checkbox (screenshot: https://prnt.sc/q8zeuv ), then click Save Settings.
  • Click “Configure Settings” under “Password Requirements”, and make sure to check the “Enabled” checkbox. I would select “Subscriber” from the drop down in any site that requires any non-administrator user to login to it. Once done, click “Save Settings”.
  • Click “Configure Settings” under “System Tweaks” and check every checkbox, then click “Save Settings”.
  • Click “Configure Settings” under “WordPress Tweaks”, and check the following checkboxes: Windows live Writer Header, EditURI Header, Comment Spam, and File Editor. Select “Disable XML-RPC” under XML-RPC section, select “Block” for the Multiple Auth attempts by XML-RPC, and select “Restricted Access” for the “REST API”. Check “Force Unique Nickname”, “Disable Extra User Archives”, and “Mitigate Attachment File Traversal Attack”. Click “Save Settings” once you are finished.
  • This concludes the iTheme Security Plugin configuration, now you can get back into your shelled server, and run: sudo service nginx-rc reload to fully apply the rules, and welcome to your highly secured WordPress website!

Our Privacy Policy

Last Updated: June 18th, 2025

Introduction

Western Mass Hosting (“we,” “our,” or “us”) respects the privacy of all individuals and organizations that interact with our services. This Privacy Policy establishes our practices regarding the collection, use, disclosure, and protection of personal information for visitors to our website and clients utilizing our managed hosting and WordPress services. By accessing our website or engaging our services, you acknowledge that you have read and understood this policy in its entirety.

Scope and Applicability

This Privacy Policy governs our handling of information collected through our corporate website and in the course of providing managed hosting, WordPress maintenance, and development services. In accordance with global privacy regulations, we serve as a Data Controller for information related to our business operations and client relationships. When processing data on behalf of our clients through hosted services, we act as a Data Processor under applicable data protection laws.

Information We Collect

We collect various categories of information necessary to provide and improve our services. This includes personal contact and payment details provided during account registration, technical information such as IP addresses and device characteristics for security purposes, and records of communications through support channels. For clients utilizing our hosting services, we may process end-user data stored within client websites, though we do not control or monitor the collection practices of such data.

Purpose and Legal Basis for Processing

We process personal information only when we have proper justification under applicable laws. The primary legal bases for our processing activities include the necessity to fulfill contractual obligations to our clients, our legitimate business interests in maintaining and improving our services, and in limited cases, explicit consent for specific marketing communications. We maintain detailed records of processing activities to demonstrate compliance with legal requirements.

Use of Collected Information

The information we collect serves multiple business purposes. Primarily, we use this data to deliver and maintain reliable hosting services, including server provisioning, performance monitoring, and technical support. We also utilize information for business operations such as billing, customer relationship management, and service improvement initiatives. Security represents another critical use case, where we analyze data to detect and prevent fraudulent activity or unauthorized access to our systems.

Data Sharing and Third-Party Disclosures

We engage with carefully selected third-party service providers to support our operations, including cloud infrastructure providers, payment processors, and customer support platforms. These relationships are governed by strict contractual agreements that mandate appropriate data protection measures. We may disclose information when legally required to comply with court orders, government requests, or to protect our legal rights and the security of our services.

International Data Transfers

As a global service provider, we may transfer and process data in various locations worldwide. When transferring personal data originating from the European Economic Area or other regulated jurisdictions, we implement appropriate safeguards such as Standard Contractual Clauses and rely on adequacy decisions where applicable. Our subprocessors, including AWS Lightsail, maintain robust compliance certifications to ensure the protection of transferred data.

Data Retention Practices

We retain personal information only for as long as necessary to fulfill the purposes outlined in this policy. Client account information is typically maintained for five years following service termination to comply with legal and financial reporting obligations. Backup data associated with hosting services is automatically purged after thirty days, as specified in our Terms of Service. For data processed on behalf of clients, retention periods are determined by the respective client’s policies and instructions.

Security Measures

We implement comprehensive technical and organizational security measures to protect personal information against unauthorized access, alteration, or destruction. Our security program includes network encryption protocols, regular vulnerability assessments, strict access controls, and employee training on data protection best practices. We maintain incident response procedures to address potential security breaches and will notify affected parties where required by law.

Individual Rights

Individuals whose personal data we process may exercise certain rights under applicable privacy laws. These rights may include requesting access to their information, seeking correction of inaccurate data, requesting deletion under specific circumstances, and objecting to particular processing activities. We have established procedures to handle such requests in accordance with legal requirements, typically responding within thirty days of receipt. Requests should be submitted to our designated Data Protection Officer through the contact information provided in this policy.

Cookies and Tracking Technologies

Our website employs various technologies to enhance user experience and analyze site performance. Essential cookies are used for basic functionality and security purposes, while analytics cookies help us understand how visitors interact with our site. Marketing cookies are only deployed with explicit user consent. Visitors can manage cookie preferences through their browser settings or our cookie consent tool.

Policy Updates and Notifications

We periodically review and update this Privacy Policy to reflect changes in our practices or legal obligations. Material changes will be communicated to affected clients through email notifications at least thirty days prior to implementation. Continued use of our services following such notifications constitutes acceptance of the revised policy.

Contact Information

For questions or concerns regarding this Privacy Policy or our privacy practices, please contact our Data Protection Officer at info@westernmasshosting.com or by mail at:

Western Mass Hosting
22 Orlando. St.,
Feeding Hills, MA 01030.

We take all privacy-related inquiries seriously and will respond promptly to legitimate requests. For clients with specific data processing agreements, please reference your contract for any additional terms that may apply to our handling of your data.