Optimize Website Using .htaccess File

Having your website loading fast is a passion for most Hostwinds clients and we know how important this is. This guide is to help with reviewing your website and it’s load speed so that optimization can be seen and tested by you or your website developer. We will also explore many options for you to use and common ways to Optimize your website using a .htaccess file. This is intended for shared hosting, business hosting, cPanel clients and VPS, Cloud and Dedicated Server clients who are using Apache web server. For this guide, we will start out by using Google…

Banning Traffic to Your Site

cPanel. Once you are in select File Manager 2. Navigate to your document root which is the Public_HTML directory. 3. In order to be able view the .htaccess navigate to the upper right hand corner click on Settings In your preferences select the document root for domain you wish to edit and click on Show Hidden Files 4. In your domain’s document root select the .htaccess file and click Edit in the upper toolbar.   5. Once you’re in the editor you can add a block much like below to ban a single host where you replace the XXX for…

Cloudflare Setting Recommendations

…Maintain your visitors’ IP information Allow access to your website for the IPs of the services you use Customize the Error Pages (in paid plan) Build a Page Rule for running your website (Must-have for WordPress users!) Troubleshoot common issues   What Are Cloudflare Additional Settings? This is a pro service provided by Cloudflare that allows you to: Set security level Configure Challenge Passage Browser Integrity Checks Select “I’m under attack mode”   Helpful Related Articles Cloudflare Account Setup Guide Protecting Your Origin IP To Prevent DDOS Attack with Cloudflare Cloudflare Benefits How to Setup and Configure CloudFlare in cPanel

Perform a DNS Cleanup

There may come a time when your DNS Zone Files become cluttered with useless records, or even duplicates. Fortunately cPanel have thought ahead on this and incorporated a feature into WHM to clean this up for us. WHM provides the ability to run a DNS Cleanup, which will clean up nameserver configuration settings. This is helpful for eliminating duplicate nameserver configuration files that can lead to issues with the server and in the case a BIND configuration file becomes corrupt. Before following through with the steps below, it would be recommended that you take a backup of your current Zone…

How to Change Your Usermin Password

Virtualmin/Webmin like WHM/cPanel has separate login pages to manage your server, website and even WebMail. In Virtualmin the WebMail interface is called Usermin, however you can do more than just read your emails using this interface. You can also do things like change your password and set up auto responders. The focus of this article is to teach you how to change your password using Usermin exclusively. This article implies that you have already installed Virtualmin, if you have not done so yet, or if you’d enjoy a little light reading, please take a look at the following article: How…

Softaculous License

Hostwinds offers licensing for Softaculous Instant Installer, which is a software that greatly simplifies the installation of several scripts and applications on your server. Softaculous is available as a free or a premium installer, the free installer is limited to 55 scripts, while the premium installer has 443 scripts available. Softaculous works on several web hosting control panels, including cPanel, DirectAdmin, Plesk, H-Sphere, ISP System, Interworx, CentOS WebPanel and Hosting Controller. When purchasing a new Cloud Server or Dedicated Server, the option to include the Softaculous license during checkout is available. To purchase a license at a later time, users…

Plesk WebMail

…you can also access WebMail from inside Plesk by utilizing the process outlined in the steps below. Click on the Mail tab Click on the Web Mail icon next to the e-mail address you want to access SmarterMail Plesk provides a program called SmarterMail for accessing your webmail. SmarterMail is a web based mail program equivalent to cPanel’s WebMail programs that allows users and server administrators to access their web based mail anytime and anywhere. Please note that SmarterMail is a Windows based webmail application, and is not available on Linux at this time. To utilize this service you must…

Set a Temporary (302) Redirect Using .htaccess

…been created you’ll need to edit the contents of this file using the method that best suits your needs. Typically the options available to edit your .htaccess file are as follows.   Use a file editor built into a file manager such as cPanel’s file manager Download or create the .htaccess file locally and then re upload it via FTP Edit the file directly using a text editor via SSH   Regardless of the method that you’re using, the code that you’ll be adding is the same. To redirect your entire website to a different URL you’d use the following…

How to Create a PHP Info Page

…be creating a PHP script that will execute when you navigate to the page in your web browser. To do this, you’ll need to create the file in your website’s web root. This can be a few different places depending on if you’re using a control panel like cPanel or not. For the purpose of this article I am using a CentOS 7 server with no control panel, so my web root is located at /var/www/html/. With that in mind the command I would then run to create the info.php file using nano is:   nano /var/www/html/info.php   With the…