Search The Hostwinds Guides Knowledge Base

Set a Permanent (301) Redirect Using .htaccess

…  #Redirect www to non www RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L]     There are other variations of redirection rules/code, however these are generally the most commonly used. Don’t forget to save your .htaccess file once you’re satisfied with the edits that you have made.   If you have access to cPanel, you can create 301 redirects in your .htaccess file by using the Redirect option under Domains   Related Articles Creating and Editing an .htaccess File Change the Default Index Page Using .htaccess Optimize Website Using .htaccess File How To Access cPanel

Services Manager and Automatic Startup of Services

This articles intent is for those who have a Linux VPS with a cPanel/WHM license. Those who have our shared and/or business shared service are not provided root access, and therefore cannot make server side changes.   How To Restart Services In WHM WHM provides a dashboard specifically for restarting services with a simple click of a button. To access the service and restart it head to Home and search for “restart” in the search bar (1) >> choose Restart Services on the left column (2) >> choose one of the 8 services you want to restart (3). For more…

Definition of Databases Icons

The Database section in cPanel allows you to administer every aspect of your MySQL database. Using this interface you can do things such as create new databases, add users to existing databases, and manage database tables to name a few. It is suggested to create all new databases through cPanel before working with them directly.     In this article we will briefly overview each option that is available in the database section.     phpMyAdmin allows you to view or edit your databases directly if you need to create new tables, import a databases, execute SQL queries directly, and…

Transfer/Migrate a Server with No Downtime (or Database Lag)

How Can I Transfer Servers With No Downtime? If you’re using a Cloud or Dedicated server and want to change servers, you can do the following to ensure there’s no downtime:   This guide is written with both servers using WHM/cPanel, however, the general principles should be applicable to most transfers.   These steps are ONLY to be utilized once the content from the original server has been restored to the new server and confirmed working. These steps should be performed just before updating the nameservers for the transferred domain(s). If you have not transferred the content to the new…

Definition of Advanced Icons

The Advanced section in cPanel allows users to setup and manage more advanced functionality for their website(s).     This article will go over a brief explanation of the icons that can be found in the Advanced section of cPanel.     This interface will allow you to create custom crons to help automate certain tasks.     This will allow you to perform a domain lookup or run a trace-route.     The Index Manager allows you to customize the way a directory is viewed on the web.     You can create custom error pages for common error…

Additional MySQL Access Hosts

…Step 2: Go to Home >> SQL Services   This can be located quickly by searching for “sql” in the top left search bar   Step 3: Select Additional MySQL Access Hosts     Step 4: Put the IPs you want in the text box Step 5: Click Save     Note: If you’d like to assign these settings to all accounts, you can click the link at the bottom labeled “click here” to do so.   Related Articles Remote MySQL in cPanel MySQL Additional Access Hosts Definition of Databases Icons How to Get Started with your New cPanel Server…

How Do I Add An IPv6 Range Through WHM?

…Reserved button   7a: Available – addresses can be assigned 7b: Reserved – addresses can not be assigned   Step 8: Include a description of the range in the Range Notes text box Step 9: Click the Add Range button     Make sure your server is configured for IPv6 before you attempt to add them. If you need help with this, see our guide on how to add IPv6 assignments.   Related Articles cPanel and WHM Overview How to Change the Root MYSQL Password For WHM How to Get Started with your New cPanel Server Definition of WHM Functions…

How to Password Protect a Directory in Virtualmin

As far as control panels go, cPanel is a fairly common industry standard, however it comes at a cost. But what if you simply did not like cPanel or did not want to pay for a control panel and still wanted to use a control panel? The answer is Virtualmin/Webmin! Virtualmin/Webmin is an open source control panel that allows you to manage both your server and your websites with the familiar comfort of a GUI. In this article we will cover how to password protect a directory using the built in functionality of Virtualmin. This article implies that you have…

Common WordPress Issues – Problems

…backup your databases before making any changes so that Hostwinds can easily restore your account from a backup Turn on Debug Go to your cPanel’s File Manager or connect through FTP Go to your WordPress document root or folder where this is installed Open the wp-config.php file Add the following line: define(‘WP_DEBUG’, true);   Take note of any errors that show up, if any so that we can help Plugins The second thing we recommend is checking your plugins.   Go to your cPanel’s File Manager or connect through FTP Go to your wp-content folder Rename the plugins folder See…

Enterprise Email Setup Guide

How Do I Setup My Enterprise Email? You can setup your Enterprise Email with Hostwinds by following the steps outlined below. After completing your order, account details will be sent to you via email. Refer to them throughout this guide to enter the correct information.   Note : In this example we’ll be showing you how to set up email through your Nameserver.   Head to your DNS controls for your website a. For example, CloudFlare or where the DNS is controlled for your website such as your cPanel Login to your account where you’ll be making these changes Locate…