WebHostingPad's


KNOWLEDGEBASE

The knowledgebase is organized into different categories; please select a category that you are interested in. You can view the entire knowledgebase by clicking the "expand all" button above the categories. You can also search for specific keywords using the search bar. (Please be specific, succinct, and patient while searching; the knowledgebase is very large.)



I don't like change! Take me back to the old support center.

expand all

ADDON INSTALLATION

WordPress

WordPress Help

For WordPress help, visit these sites:

WordPress Documents

WordPress Forums

How do I log in to my WordPress account?

1. In your browser, type in yourdomain.com/wp-admin (replace "yourdomain.com" with your actual domain name)

2. Type in the username and password you created when you installed WordPress for this domain.

You are now logged into your WordPress Administrator Dashboard.

Where can I find WordPress themes?

Hundreds of free WordPress themes are available for download at WordPress' Theme Directory. You can also purchase WordPress themes at TemplateMonster, a popular source for website templates.

How do I transfer my WordPress site from my old host to WebHostingPad?

Transferring a WordPress site to a new host is not easy. However, if you follow these steps, you should have no problems.

Step One

1. Use FTP to backup your WordPress files to your computer or laptop. (What is FTP/FTP Client?)

Step Two

2. Backup your WordPress database to your computer or laptop using phpMyAdmin in your cPanel.

Step Three

3. Use FTP to upload your WordPress files that you've backed up earlier to your new host's root directory or any directory you prefer.

Step Four

4. Create a new database using either MySQL Databases or MySQL Database Wizard in your cPanel. (How do I create a MySQL database?)

Step Five

5. Change your database information or the absolute path before uploading it. Choose binary from the Character set of the file. Otherwise some punctuations, like an apostrophe, will not show properly.

Step Six

6. Download your wp_config.php file (located in your root directory) to your computer or laptop. Edit the following lines and then upload it back to the same directory:

define('DB_NAME', 'databasename'); // (Change 'databasename' to your actual database name)

define('DB_USER', 'mysqlusername'); // (Change 'mysqlusername' to your MySQL username)

define('DB_PASSWORD', 'mysqlpassword'); // (Change 'mysqlpassword' to your actual password)

define('DB_HOST', 'localhost'); // (You most likely do not need to change 'localhost')

Step Seven

7. Finally, point your domain to Webhostingpad's nameservers, ns1.webhostingpad.com and ns2.webhostingpad.com. Be aware that DNS (Domain Name System) propogation takes 24 to 48 hours to be completed.

You've successfully transferred your WordPress site!

Once everything is working properly, you can cancel your old hosting account.

Joomla

What is Joomla?

Joomla is an open source content management system which enables you to manage the content from one location via an admin console. Joomla is based on PHP, MYSQL and Apache, which are the basics for setting up and running your website. It offers a range of benefits for a dedicated/static, HTML-driven websites.

Here's a more in-depth page about Joomla.

How do I install Joomla?

Joomla is a one-click installation on the cPanel.

To Install Joomla using the Softaculous script installer:

  1. Log in to your WebhostingPad control panel.
  2. Select 'Softaculous' from the 'Software / Services' section.
  3. Find the section in Softaculous called 'Portals/CMS' and select 'Joomla'. A Joomla information page will load on the right portion of the screen.
  4. An install option can be found in the top right hand of the Joomla information page.
  5. Fill out the installation form as follows:
    SOFTWARE SETUP
    1. Choose Protocol : This option allows you to choose the protocol that shows on the address bar of individual's browsers.
    2. Choose Domain : This drop down menu includes all domain names and sub-domain names that are on the account. Choose from this drop down menu the domain name where you wish to install Joomla.
    3. In Directory : This is the option to choose the directory where Joomla will be installed. For example, to have Joomla installed in a folder called 'dir', type dir in the text box. To have Joomla installed only on the domain, leave the field blank.
    4. Database Name : This option allows you to choose the name of the Joomla database. Default content will be included in this, you may leave it as this content or rename it.
    5. Password : Type in a password you will use to access your Joomla Administrator Dashboard. This password is very important to remember. If you lose this password, you will have to reinstall Joomla.
    SITE SETTINGS
    1. Site Name : This option allows you to type in the name of your site.
    2. Site Description : This option is used to input a short description of your website.
    DATABASE SETTINGS
    1. Table Prefix : This option allows you to change the prefix of your table. This settings is for more advanced users and it is advisable to leave it as-is.
    2. Import Sample Data : This option allows you to select whether or not Joomla will be installed with sample data given by Joomla.
    ADMIN ACCOUNT
    1. Admin Username : This is where the Joomla administrative username is selected. Joomla is managed through a separate control panel, this information will be used to access that control panel.
    2. Admin Password : This is where the Joomla password is selected. It is used in conjunction with the username above to access the Joomla control panel.
    3. Real Name : Input your real name here.
    4. Admin E-mail : This address will be used should the Joomla login information be lost.
    5. E-mail installation details to (optional): Fill this box with the e-mail address where you would like detailed information regarding the installation sent.

What are the benefits of Joomla?

There are many benefits to the Joomla application.

  • Very user-friendly; easy-to-use front end interface
  • Flexible, secure, modular architecture
  • Open Source (free to use)
  • Forum Support community
  • Large range of component plug-ins included
  • Customizable template layouts
  • Search engine friendly URL support

I am getting permission issues using Joomla, is there a way to fix this?

Yes, there is a way to fix this problem. If you download JoomlaXplorer you will have the option of controlling all the folders and file permissions using the Joomla interface.

How do I install a Joomla template?

To install a Joomla template, please follow these instructions:

  1. Download the Joomla template which will be in the .zip format.
  2. Go to the Joomla admin console.
  3. From the admin console, select Installers.
  4. Then select templates-site for the front end template or template-admin for the admin template.
  5. Click Browse and choose the template you just downloaded.
  6. Select the upload and install.
  7. The template should now be visible by the user in Template Manager.
  8. You can now apply the Joomla template to your website.

Where can I find Joomla templates?

There are a many web sites with Joomla templates. One is Mambo Hut. There are hundreds of free templates for Joomla on the web.

What do I need to host Joomla?

Web Hosting Pad provides you with everything you need to create a Joomla site:

  1. Apache
  2. MySQL
  3. PHP (v4.1.2 or highger)

Joomla Help

Included below is a list of links that customers have voted to be the most useful when working with Joomla:

What is Joomla?

Joomla Documents

Joomla Forums

Absolute Beginner's Guide to Joomla

Drupal

What is Drupal?

Drupal is a free and open source modular frameword and CMS written in PHP. Like many, CMS's Drupal allows the system admin to organize and create content, customize the presentation, manage site visitors, and automate admin tasks. Drupal does require a database such as MYSQL to store the contents and settings.

If I need help with anything on Drupal, where can I go?

You can go to Drupal's website and they will help you with any questions you may have.

You may want to try these places first:

Getting Started

Handbooks

Forums

How do I install Drupal?

To Install Drupal using the Softaculous script installer:

  1. Log in to your WebHostingPad control panel.
  2. Select 'Softaculous' from the 'Software/Services' section.
  3. Find the section in Softaculous called 'Portals/CMS' and select 'Drupal'. A Drupal information page will load on the right portion of the screen.
  4. An install option can be found in the top right hand of the Drupal information page.
  5. Fill out the installation form as follows:
    SOFTWARE SETUP
    1. Choose Protocol : This option allows you to choose the protocol that shows on the address bar of the individual's browser.
    2. Choose Domain : This drop-down menu includes all domain names and subdomain names that are on the account. Choose the domain name where you wish to install Drupal.
    3. In Directory : This is the option to choose the directory where Drupal will be installed. For example, to have Drupal installed in a folder called 'dir', type dir in the text box. To have Drupal installed only on the domain, leave the field blank.
    4. Database Name : This option allows you to choose the name of the Drupal database. You may leave it as the default content, which is included, or rename it.
    5. Password : Type in a password you will use to access your Drupal Administrator Dashboard. This password is very important to remember. If you lose this password, you will have to reinstall Drupal.
    SITE SETTINGS
    1. Site Name : This option allows you to type in the name of your site.
    DATABASE SETTINGS
    1. Table Prefix : This option allows you to change the prefix of your table. This setting is for more advanced users and it is advisable to leave it as-is.
    ADMIN ACCOUNT
    1. Admin Username : This is where the Drupal administrative username is selected. Drupal is managed through a separate control panel. This information will be used to access that control panel.
    2. Admin Password : This is where the Drupal password is selected. It is used in conjunction with the username above to access the Drupal control panel.
    3. Admin E-mail : This address will be used shoudl the Drupal login information be lost.
    4. E-mail installation details to (optional) : Fill this box wwith the email address where you would like detailed information regarding the installation sent.
  6. After filling out all fields, hit the "Install" button and Softaculous will automatically install Drupal with the specifications provided.

What are the benefits of Drupal?

There are many benefits to installing Drupal:

  • Customizable themes
  • Modules that allow for basic and additional functionality
  • MySQL databases store all of your data
  • Handbooks to fully aid the development of your website
  • Forums to answer questions and problems.

phpBB

What is phpBB?

phpBB is a popular open source bulletin board package.

What are some of its features?

phpBB has a simple user interface and admin panel and a clean look. It also scales well and can be customized. For a full list of features, visit their website.

How can I customize it?

Go to phpBB's site and click the 'Customize' tab.

Is there support for this?

Yes, there are multiple forms of support for phpBB:

Documentation

Knowledgebase

Support Forums

How do I get a private SSL certificate?

An SSL certificate can be ordered in your client area, located here. The SSL certificate can be found under Services > Order Addon Features > SSL. After ordering your SSL certificate, a member of our support team will contact you requesting some more information so we can generate your SSL certificate and add it to your hosting account.

If you have any more specific questions about how to add an SSL certificate to your account please contact us at Support@WebHostingPad.com

What is required to install an SSL on my account?

SSL certificates can only be installed on your main domain, an addon domain, a subdomain, or a parked domain.

Do I get a site seal when I purchase an SSL Certificate?

A site seal can be obtained here.

Just save the image and place it on your website to ensure customers that their details will be secured by SSL. Custom site seals will soon be available with your SSL Certificate purchase.

ADVANCED SCRIPTING

Apache

How do I perform a URL redirect/rewrite using the .htaccess file?

PART I : How do I redirect all links for www.domain.com to domain.com?
Description of the problem

Your website can be accessed with www.domain.com and domain.com. Since Google penalizes this due to duplicated content reasons, you have to stick your domain to either www.domain.com or domain.com.

But - since some links are outside of your website scope and the search engines already have indexed your website under both addresses, you can't change that easily.

Solution

Do a 301 redirect for all http requests that are going to the wrong URL.

Example 1 - Redirect domain.com to www.domain.com

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]

Example 2 - Redirect domain.com to www.domain.com

RewriteEngine On
RewriteCond %{HTTP_HOST} !^domain.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]

Explanation of this .htaccess 301 redirect

Let's have a look at the example 1 - Redirect olddomain.com to www.newdomain.com. The first two lines just say apache to handle the current directory and start the rewrite module. The next line RewriteCond %{HTTP_HOST} !newdomain.com$ specifies that the next rule only fires when the http host (that means the domain of the queried URL) is not (- specified with the "!") newdomain.com. The $ means that the host ends with newdomain.com - and the result is that all pages from newdomain.com will trigger the following rewrite rule. Combined with the inversive "!" is the result every host that is not newdomain.com will be redirected to this domain. The [NC] specifies that the http host is case insensitive. The escapes the "." - becaues this is a special character (normally, the dot (.) means that one character is unspecified). The next - and final - line describes the action that should be executed: RewriteRule ^(.*)$ http://www.newdomain.com/$1 [L,R=301]. The ^(.*)$ is a little magic trick. Can you remember the meaning of the dot? If not - this can be any character (but only one). So .* means that you can have a lot of characters, not only one. This is what we need - because this ^(.*)$ contains the requested URL, without the domain. The next part http://www.newdomain.com/$1 describes the target of the rewrite rule - this is our "final", used domain name, where $1 contains the content of the (.*). The next part is also important, since it does the 301 redirect for us automatically: [L,R=301]. L means this is the last rule in this run - so after this rewrite the webserver will return a result. The R=301 means that the webserver returns a 301 moved permanently to the requesting browser or search engine.

PART II : How do I redirect domain.com/ to domain.com/index.php?
Description of the problem

You have a website with the name domain.com - and you want to redirect all incomming URL's that are going to domain.com/ to domain.com/index.php

Solution

RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain.com$
RewriteRule ^$ http://domain.com/index.php [L,R=301]

Explanation of this .htaccess 301 redirect

What does this code above do? Let's have a look at the example 1 - Redirect olddomain.com to www.newdomain.com. The first two lines just say apache to handle the current directory and start the rewrite module. The next line RewriteCond %{HTTP_HOST} !newdomain.com$ specifies that the next rule only fires when the http host (that means the domain of the queried url) is not (- specified with the "!") newdomain.com. The $ means that the host ends with newdomain.com - and the result is that all pages from newdomain.com will trigger the following rewrite rule. Combined with the inversive "!" is the result every host that is not newdomain.com will be redirected to this domain. The [NC] specifies that the http host is case insensitive. The escapes the "." - becaues this is a special character (normally, the dot (.) means that one character is unspecified). The next - and final - line describes the action that should be executed: RewriteRule ^(.*)$ http://www.newdomain.com/$1 [L,R=301]. The ^(.*)$ is a little magic trick. Can you remember the meaning of the dot? If not - this can be any character(but only one). So .* means that you can have a lot of characters, not only one. This is what we need - because this ^(.*)$ contains the requested url, without the domain. The next part http://www.newdomain.com/$1 describes the target of the rewrite rule - this is our "final", used domain name, where $1 contains the content of the (.*). The next part is also important, since it does the 301 redirect for us automatically: [L,R=301]. L means this is the last rule in this run - so after this rewrite the webserver will return a result. The R=301 means that the webserver returns a 301 moved permanently to the requesting browser or search engine.


PART III : How can I migrate domain content with .htaccess?
Description of the problem

You have an old website that is accessible under olddomain.com and you have a new website that is accessible under newdomain.com . Copying the content of the old website to the new website is the first step - but what comes after that? You should do a 301 moved permanently redirect from the old domain to the new domain - which is easy and has some advantages:

  • Users will automatically be redirected to the new domain - you don't have to inform them.
  • Also search engines will be redirected to the new domain - and all related information will be moved to the new domain (but this might take some time).
  • Google's PageRankTM will be transfered to the new domain, also other internal information that is being used to set the position of pages in the search engine result pages (serp's) - like TrustRank .
Solution

Do a 301 redirect for all http requests that are going to the old domain.

Example 1 - Redirect from olddomain.com to www.newdomain.com

RewriteEngine On
RewriteCond %{HTTP_HOST} !newdomain.com$ [NC]
RewriteRule ^(.*)$ http://www.newdomain.com/$1 [L,R=301]

This is useful when you use www.newdomain.com as your new domain name (see also this article about redirecting www and non-www domains). If not - use the code of example 2.

Example 2 - Redirect from olddomain.com to newdomain.com

RewriteEngine On
RewriteCond %{HTTP_HOST} !newdomain.com$ [NC]
RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301]


PART IV : Add a trailing slash to requested URLs
Description of the problem

Some search engines remove the trailing slash from URL's that look like directories - e.g. Yahoo does it. But this could result into duplicated content problems when the same page content is accessible under different URL's. Apache gives some more information in the Apache Server FAQ.

Let's have a look at an example: enarion.net/google/ is indexed in Yahoo as enarion.net/google - which would result in two URL's with the same content.

Solution

The solution was to create a .htaccess rewrite rule that adds the trailing slashes to these URL's. Example - redirect all URL's that doesn't have a trailing slash to URL's with a trailing slash

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !example.php
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://domain.com/$1/ [L,R=301]

Explanation of this add trailing slash .htaccess rewrite rule

The first line tells Apache that this is code for the rewrite engine of the mod_rewrite module of Apache. The 2nd line sets the current directory as page root. But the interesting part is following now: RewriteCond %{REQUEST_FILENAME} !-f makes sure that files that are existing will not get a slash added. You shouldn't do the same with directories since this would exclude the rewrite behavior for existing directories. The line RewriteCond %{REQUEST_URI} !example.php exludes a sample URL that shouldn't be rewritten. This is just an example - if you don't have any file or URL that shouldn't be rewritten, remove this line. The condition RewriteCond %{REQUEST_URI} !(.*)/$ finally fires when a URL doesn't contain a trailing slash - this is all what we want. Now we need to redirect these URL with the trailing slash: RewriteRule ^(.*)$ http://domain.com/$1/ [L,R=301] does the 301 redirect to the URL with the trailing slash appended for us. You should replace domain.com with your URL. Make sure that you stick with the right domain name; if unsure, have a look at this article.

.htaccess Tutorial

In this tutorial you will find out about the .htaccess file and the power it has to improve your website. Although .htaccess is only a file, it can change settings on the servers and allow you to do many different things, the most popular being the ability to have your own custom 404 error pages. .htaccess isn't difficult to use and is made up of just a few simple instructions in a text file.


PART I : INTRODUCTION
Does WebHostingPad support it?

Yes, Webhostingpad supports .htaccess.

What can I do?

You may be wondering what .htaccess can do, or you may have read about some of its uses but don't realize how many things you can actually do with it.

There is a huge range of things .htaccess can do, including: password protecting folders, redirecting users automatically, custom error pages, changing your file extensions, banning users with certain IP addresses, only allowing users with certain IP addresses, stopping directory listings and using a different file as the index file.

Creating an .htaccess File

Creating an .htaccess file may cause you a few problems. Writing the file is easy - you just need enter the appropriate code into a text editor (like notepad). You may run into problems with saving the file. Because .htaccess is a strange file name (the file actually has no name but an 8-letter file extension), it may not be accepted on certain systems (e.g. Windows 3.1). With most operating systems, though, all you need to do is to save the file by entering the name as:

".htaccess"

including the quotes. If this doesn't work, you will need to name it something else (e.g. htaccess.txt) and then upload it to the server. Once you have uploaded the file, you can then rename it using an FTP program.

Warning

Before using .htaccess, I should give you one warning. Although using .htaccess on your server is extremely unlikely to cause any problems (if something is wrong it simply won't work), you should be wary if you are using the Microsoft FrontPage Extensions. The FrontPage extensions use the .htaccess file, so you should not really edit it to add your own information. If you do want to (this is not recommended, but possible) you should download the .htaccess file from your server first (if it exists) and then add your code to the beginning.

Custom Error Pages

The first use of the .htaccess file I will cover is custom error pages. These will allow you to have your own, personal error pages (for example, when a file is not found) instead of using your host's error pages or having no page. This will make your site seem much more professional in the unlikely event of an error. It will also allow you to create scripts to notify you if there is an error (for example, I use a PHP script on Free Webmaster Help to automatically e-mail me when a page is not found).

You can use custom error pages for any error as long as you know its number (like 404 for page not found) by adding the following to your .htaccess file:

ErrorDocument errornumber /file.html

For example, if I had the file notfound.html in the root directory of my site and I wanted to use it for a 404 error I would use:

ErrorDocument 404 /notfound.html

If the file is not in the root directory of your site, you just need to put the path to it:

ErrorDocument 500 /errorpages/500.html

These are some of the most common errors:

401 - Authorization Required
400 - Bad request
403 - Forbidden
500 - Internal Server Error
404 - Wrong page

Then, all you need to do is to create a file to display when the error happens, and upload it and the .htaccess file.

PART II : .HTACCESS COMMANDS
Introduction

In the last part I introduced you to .htaccess and some of its useful features. Now I will show you how to use the .htaccess file to implement some of these.

Stop a Directory Index From Being Shown

Sometimes, for one reason or another, you will have no index file in your directory. This will, of course, mean that if someone types the directory name into their browser, a full listing of all the files in that directory will be shown. This could be a security risk for your site.

To prevent against this (without creating lots of new 'index' files, you can enter a command into your .htaccess file to stop the directory list from being shown:

Options -Indexes

Deny/Allow Certian IP Addresses

In some situations, you may want to only allow people with specific IP addresses to access your site (for example, only allowing people using a particular ISP to get into a certian directory) or you may want to ban certa IP addresses (for example, keeping disruptive members out of your message boards). Of course, this will only work if you know the IP addresses you want to ban and, as most people on the internet now have a dynamic IP address, this is not always the best way to limit usage.

You can block an IP address by using:

deny from 000.000.000.000

where 000.000.000.000 is the IP address. If you only specify 1 or 2 of the groups of numbers, you will block a whole range.

You can allow an IP address by using:

allow from 000.000.000.000

where 000.000.000.000 is the IP address. If you only specify 1 or 2 of the groups of numbers, you will allow a whole range.

If you want to deny everyone from accessing a directory, you can use:

deny from all

but this will still allow scripts to use the files in the directory.

Alternative Index Files

You may not always want to use index.htm or index.html as your index file for a directory. For example, if you are using PHP files in your site, you may want index.php to be the index file for a directory. You are not limited to 'index' files, though. Using .htaccess you can set foofoo.blah to be your index file if you want to!

Alternate index files are entered in a list. The server will work from left to right, checking to see if each file exists, and if none of them exist it will display a directory listing (unless, of course, you have turned this off).

DirectoryIndex index.php index.php3 messagebrd.pl index.html index.htm

Redirection

One of the most useful functions of the .htaccess file is to redirect requests to different files, either on the same server, or on a completely different web site. It can be extremely useful if you change the name of one of your files but allow users to still find it. Another use (which I find very useful) is to redirect to a longer URL. For example, in my newsletters, I can use a very short URL for my affiliate links. The following can be done to redirect a specific file:

Redirect /location/from/root/file.ext http://www.othersite.com/new/file/location.xyz

In this above example, a file in the root directory called oldfile.html would be entered as:

/oldfile.html

and a file in the old subdirectory would be entered as:

/old/oldfile.html

You can also redirect whole directoires of your site using the .htaccess file, for example if you had a directory called olddirectory on your site and you had set up the same files on a new site at: http://www.newsite.com/newdirectory/, you could redirect all the files in that directory without having to specify each one:

Redirect /olddirectory http://www.newsite.com/newdirectory

Then, any request to your site below /olddirectory will bee redirected to the new site, with the extra information in the URL added on. For example, if someone typed in:

http://www.youroldsite.com/olddirecotry/oldfiles/images/image.gif

They would be redirected to:

http://www.newsite.com/newdirectory/oldfiles/images/image.gif

This can prove to be extremely powerful if used correctly.

PART III : PASSWORD PROTECTION
Introduction

Although there are many uses of the .htaccess file, by far the most popular, and probably most useful, is being able to reliably password-protect directories on websites. Although JavaScript, etc. can also be used to do this, only .htaccess has total security (as someone must know the password to get into the directory, there are no 'back doors')

The .htaccess File

Adding password protection to a directory using .htaccess takes two stages. The first part is to add the appropriate lines to your .htaccess file in the directory you would like to protect. Everything below this directory will be password protected:

AuthName "Section Name"
AuthType Basic
AuthUserFile /full/path/to/.htpasswd
Require valid-user

There are a few parts of this which you will need to change for your site. You should replace "Section Name" with the name of the part of the site you are protecting, e.g. "Members Area".

The /full/parth/to/.htpasswd should be changed to reflect the full server path to the .htpasswd file (more on this later). If you do not know what the full path to your web space is, contact your system administrator for details.

The .htpasswd file

Password protecting a directory takes a little more work than any of the other .htaccess functions because you must also create a file to contain the usernames and passwords that are allowed to access the site. These should be placed in a file which (by default) should be called .htpasswd. Like the .htaccess file, this is a file with no name and an 8 letter extension. This can be placed anywhere within your website (as the passwords are encrypted), but it is advisable to store it outside the web root so that it is impossible to access it from the web.

Entering Usernames And Passwords

Once you have created your .htpasswd file (you can do this in a standard text editor) you must enter the usernames and passwords to access the site. They should be entered as follows:

username:password

where the password is the encrypted format of the password. To encrypt the password you will either need to use one of the pre-made scripts available on the web or write your own. There is a good username/password service at the KxS site ( http://www.kxs.net/support/htaccess_pw.html ) which will allow you to enter the user name and password and will output it in the correct format.

For multiple users, just add extra lines to your .htpasswd file in the same format as the first. There are even scripts available for free which will manage the .htpasswd file and will allow automatic adding/removing of users etc.

Accessing The Site

When you try to access a site which has been protected by .htaccess, your browser will pop up a standard username/password dialog box. If you don't like this, there are certain scripts available which allow you to embed a username/password box in a website to do the authentication. You can also send the username and password (unencrypted) in the URL as follows:

http://username:password@www.website.com/directory/

In summary, .htaccess is one of the most useful files a webmaster can use. There are a wide variety of different uses for it which can save time and increase security on your website.

Do you support mod_rewrite for apache?

Yes, we do support Mod_rewrite. Mod_rewrite is enabled on all servers.

For more information on what mod_rewrite is and how it might help you, please visit Apache's website.

Also, you can view a cheatsheet for Mod_rewrite here.

How do I create a custom error page?

There are two ways to create a custom error page:

The easy way:
  1. Log in to your cPanel.
  2. At the bottom of your control panel under the Advanced section, click 'Error Pages'.
  3. From the drop-down menu, select the domain you want to create the custom error pages for.
  4. In 'Edit Common Error Codes', click the page you want to edit.
  5. Type in whatever you want the error page to say.
  6. Click save.
The professional way:

Having error pages that look like your website will make your site seem much more professional in the unlikely event of an error.

You can use custom error pages for any error as long as you know its number (like 404 for Page Not Found) by adding the following to your .htaccess file:

ErrorDocument errornumber /file.html

For example, if I had the file notfound.html in the root directory of my site and I wanted to use it for a 404 error I would use:

ErrorDocument 404 /notfound.html

If the file is not in the root directory of your site, you just need to put the path to it:

ErrorDocument 500 /errorpages/500.html

These are some of the most common errors:

401 - Authorization Required
400 - Bad request
403 - Forbidden
500 - Internal Server Error
404 - Wrong page

CGI/Perl

Understanding CGI Basics

What is CGI and how is it going to help me?

CGI is translated as Common Gateway Interface. It's used to provide interactivity and turn static pages into dynamic ones. What does this mean? Let's take a guestbook, for example. Most of them are powered by CGI. They allow your visitors to leave comments on your site. This makes it interactive. But guestbooks are only one example. You also have bulletin boards, form processing, counters, and much more.

How am I supposed to install a script?

95% of scripts have complete instructions and a special ReadMe file with everything you need to know about installing that script. It is recommended that you read the instructions a few times before starting to install the script. This will help you make less mistakes.

What does "chmod" mean?

To chmod a file means to set a certain permission. Few of the most common chmod commands are 775 and 777. To chmod a certain file or a category using FTP client find something like "Change File Attributes" and enter the chmod command script instructions tell you. If you are using Telnet, here are a few commands that you should use in order to chmod a file or a directory:

u = the file's user (or owner)
r = read access
g = the file's group
x = execute access
o = others
w = write access
a = the user, the group, and others.

What are the most common errors and how do I deal with them?

One of the most common errors is "500 Internal Error". The chances are that you will experience it many times. The worst thing about it is that it doesn't actually tell you what's wrong with the script. It only tells you that something isn't right. There are several possibilities that make up 99% of this error. They are:

  • Incorrect path to PERL. See the next question for more information
  • Syntax error. Check and see if you didn't accidentally deleted a command or a word that the instructions didn't tell you to.
  • Incorrect CHMOD command. Make sure that you chmod the file exactly as the instructions say. Most of the times it will be either 755 or 777 (not always!). You can also get an "Access Denied" error, if you didn't chmod the file or a directory correctly.

Basically, 500 Internal Error and Access Denied are 99% of errors you'll experience. And 99% of the time, the cause of the error will be one of the above.

What is the path to PERL (interpreter)?

The PERL path is the very first line in every .cgi or .pl file. Usually it looks something like this: #!/usr/bin/perl. Make sure that the path is correct, otherwise you'll get an error. If you don't have Telnet access, simply email Tech support.

Is there a limit on CGI script use?

We do not put limits on CGI scripts outside the use of malicious or harmful/damaging scripts.

Can I add my own CGI scripts?

Our LINUX web servers have the capability to run CGI scripts in your own "cgi-bin" directory. Scripts may be written in Perl and CGI languages.

Here are some helpful tips to follow when installing scripts:

Upload to your cgi-bin directory to ensure proper file permission settings. All scripts on our server must have permissions set to 755 (rwx-rx-rx). If you need help in changing script permissions, please see the following:

  • Upload in ASCII transfer mode (and NOT BINARY mode)
  • The first line of each script must read: #!/usr/bin/perl
  • Ensure the permissions are set to 755

What is PERL?

Perl (unofficially acronymed as Practical Extraction and Report Language) is a dynamic procedural programming language which is influenced by a wide range of pre-existing technologies, such as the C programming language, and has been popular on Unix and Linux platforms.

What is the path to PERL?

The PERL path is the very first line in every .cgi or .pl file. The path to the PERL interpreter will be either:

/usr/bin/perl

-- or --

/usr/local/bin/perl

Either of these will work.

PHP

Protecting the php.ini file from being viewed

To prevent people viewing your php.ini file via a browser, a few lines need to be pasted into the .htaccess file.

  1. Log in to the cPanel
  2. Click on "File Manager"
  3. Open the public_html folder (click on the folder icon next to public_html)
  4. Click on .htaccess and then select the "Edit File" option on the right hand of the window
  5. Paste the following code into the bottom of the file:

    Order allow,deny
    Deny from all


  6. Click "Save"

Now your php.ini file is protected, which can help php crackers from finding exploits on your site.

How do I change my upload_max_filesize?

Locate the php.ini file in the folder your upload script resides in. If none exists, create a new text file called php.ini.

In the php.ini file, locate the line called 'upload_max_filesize = 2M'.

Modify that entry to read 'upload_max_filesize = 10M', or whatever your script requires. (M = megabytes)

That's it!

How can I execute php code as .htm or .html files?

In your .htaccess file, insert this line of code:

AddType application/x-httpd-php5 .php .html

Do you support mod_php?

Due to security precautions, we currently do not have, or have plans to have, a system with mod_php.

How do I view the php information page?

Create a page named phpinfo.php and insert the below code into it. Pull this page up in your browser and this will show the php configuration on the server.

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
// phpinfo(INFO_MODULES);

?>

How do I enable catchall (default email address)?

How do I enable catchall (default email address)?

1. Log in to your cPanel

2. In the Mail section, click Default Address

There you can set your catchall address. Here is a brief explanation of what it does:

The default email address will "catch" any mail that is sent to an invalid email address for your domain. All mail that is sent to an address that does not exist will go to the default email address. To send all default mail to the main mail account, simply type the user name of your cPanel account in the email address input field.

phpWebSite

What is phpWebSite?

phpWebsite is a powerful CMS with a document manager, announcements, menu manager, photo album, block maker, FAQ, web pages maker, polls, information categorizer, calendar, link manager and a form generator.

What are its features?
  • phpWebSite allows individuals to maintain an interactive and community-driven website.
  • easy web-based administration
  • minimal computer experience is necessary
  • flexible layout control
  • interactive content
  • full feature event calendar
  • customizable user experience (customizable themes)
Is there support for phpWebSite?

Yes, there is. The website for this program is www.phpwebsite.appstate.edu. There are also forums on the internet to help you with any of your needs.

PHP 5.4 vs 5.3 differences : What to watch out for

Each major release of any framework can make someone begin to second-guess what is still 'current'. Hopefully this list of incompatible changes will help serve as a reference so that you do not have a site fail due to deprecated code.

Safe mode is no longer supported. Any applications that rely on safe mode may need adjustment, in terms of security.

Magic quotes has been removed, an overdue change. Applications relying on this feature may need to be updated, to avoid security issues. get_magic_quotes_gpc() and get_magic_quotes_runtime() now always return FALSE. set_magic_quotes_runtime() raises an E_CORE_ERROR level error.

The register_globals and register_long_arrays php.ini directives have been removed

Call-time pass by reference has been removed.

The break and continue statements no longer accept variable arguments (e.g., break 1 + foo() * $bar;). Static arguments still work, such as break 2;. As a side effect of this change break 0; and continue 0; are no longer allowed.

In the date and time extension the timezone can no longer be set using the TZ environment variable. Instead you have to specify a timezone using the date.timezone php.ini option or date_default_timezone_set() function. PHP will no longer attempt to guess the timezone, and will instead fall back to “UTC” and issue a E_WARNING.

Non-numeric string offsets e.g. $a['foo'] where $a is a string – now return false on isset() and true on empty(), and produce a E_WARNING if you try to use them. Offsets of types double, bool and null produce a E_NOTICE. Numeric strings (e.g. $a['2']) still work as before. Note that offsets like ’12.3′ and ’5 foobar’ are considered non-numeric and produce a E_WARNING, but are converted to 12 and 5 respectively, for backward compatibility reasons. Note: Following code returns different result.

$str=’abc’;var_dump(isset($str['x'])); // false for PHP 5.4 or later, but true for 5.3 or less. This one still has my head reeling… i’ve always used isset()/empty() as boolean – assuming the false is now returned and the true is assumed(?)… if you know ‘for sure’ – please post below.

Converting an array to a string will now generate an E_NOTICE level error, but the result of the cast will still be the string “Array”.

Turning NULL, FALSE, or an empty string into an object by adding a property will now emit an E_WARNING level error, instead of E_STRICT.

Parameter names that shadow super globals now cause a fatal error. This prohibits code like function foo($_GET, $_POST) {}.Honestly, in a way this could be saving us from ourselves… if you need to reference a super-global – it’s safer in the long run to filter/sanitize it before using it… no direct reference will probably save a lot of horror stories.

The Salsa10 and Salsa20 hash algorithms have been removed. As if I knew they were ever there? o.O

array_combine() now returns array() instead of FALSE when two empty arrays are provided as parameters.

If you use htmlentities() with asian character sets, it works like htmlspecialchars() – this has always been the case in previous versions of PHP, but now an E_STRICT level error is emitted.

The following keywords are now reserved and may not be used as names by functions, classes, etc.traitcallableinsteadofThe following functions have been removed from PHP:define_syslog_variables()import_request_variables()session_is_registered(), session_register() and session_unregister().The aliases mysqli_bind_param(), mysqli_bind_result(), mysqli_client_encoding(), mysqli_fetch(), mysqli_param_count(), mysqli_get_metadata(), mysqli_send_long_data(), mysqli::client_encoding() and mysqli_stmt::stmt(). If you were using any of these as keywords as var, function or class names, go stand in the corner for 30 minutes.

In case you were using the super global variables as viable variables don’t be hard on yourself – we’ve all done it. However, take advantage of the filter functions – it’s painless:

FILTER_SANITIZE_EMAIL “email” = Remove all characters except letters, digits and !#$%&’*+-/=?^_`{|}~@.[].
FILTER_SANITIZE_MAGIC_QUOTES “magic_quotes” = Apply addslashes().
FILTER_SANITIZE_NUMBER_INT “number_int” = Remove all characters except digits, plus and minus sign.
FILTER_SANITIZE_SPECIAL_CHARS “special_chars” = HTML-escape ‘”<>& and characters with ASCII value less than 32, optionally strip or encode other special characters.

Using them is just as painless too:

instead of: $_POST['email']
filter_var($_POST['email'], FILTER_SANITIZE_EMAIL)

Just remember that failing the filter_var test is true/false... so plan accordingly.

How to use the PHP mail function

You can use the PHP mail() function to send an email with PHP. The simplest way to do this is to send a text email. This is one way to handle sending you the results when a visitor to your website fills out a form.

Below is the code for the basic email function. We can take the script and actually use a form on our website to set the variables in the script above to send an email.

<?php
//if "email" variable is filled out, send email
if (isset($_REQUEST['email'])) {

//Email information
$admin_email = "someone@example.com";
$email = $_REQUEST['email'];
$subject = $_REQUEST['subject'];
$comment = $_REQUEST['comment'];

//send email
mail($admin_email, "$subject", $comment, "From:" . $email);

//Email response
echo "Thank you for contacting us!";
}

//if "email" variable is not filled out, display the form
else {
?>

<form method="post">
Email: <input name="email" type="text" /><br />
Subject: <input name="subject" type="text" /><br />
Message:<br />
<textarea name="comment" rows="15" cols="40"></textarea><br />
<input type="submit" value="Submit" />
</form>

<?php
}
?>

Parsing PHP code within HTML pages

The easiest way to parse or run PHP code within an HTML page is to simply change the extension of the page from .html or .htm to .php!

Any regular text or HTML tags within the file will be totally ignored by PHP. Only the code contained within the PHP tags (<? ?>) will be processed by PHP.

If you have many HTML pages that contain PHP code and do not want to go through the trouble of renaming each file (although that method is preferred) you may make a change in the .htaccess file to parse all HTML files as PHP:

Open a text editor such as wordpad, notepad, nano, etc. and add the following line:

AddHandler application/x-httpd-php5 .html .htm

Change/Select PHP version

If you require a different version of PHP than which we run by default you can select which version of PHP your account uses from inside of your cPanel under the "Software/Services" section at the icon "Select PHP version".

By default the "Current PHP version" will be set to "native", this is the version of PHP which we compile on our servers and not a pre-compiled version (like the alternative versions). Currently our native version is running PHP 5.4

You will select the version which you want to use from the drop down and press "Set as current" to set that version as the Current PHP version.

Please be aware if you have any custom php.ini files in your hosting account you will need to rename or remove these as this could break these alternative versions of PHP. Any custom settings you wish to make to these alternative versions will need to be made by pressing the "Show PHP Settings" button once you have set the version you wish to use as the current version!!

If you have any questions please feel free to open a support ticket with our support department and they should be able to assist you in this matter.

Ruby on Rails

For information about Ruby on Rails, visit their website.

How do I change file permissions?

Setting file permissions is very important in getting CGI scripts to work on your website. Follow the steps below to understand file permissions:

To Begin:

Pages should be readable/writable by the owner and readable by the web visitor.

Scripts should be readable/writable/executable by the owner and readable/executable by the web visitor.

The following are abbreviations for permissions:

--- (or 0) = no permission
r-- (or 4) = read-only permission
rw- (or 6) = read/write permission
r-x (or 5) = read/execute permission
rwx (or 7) = read/write/execute permission

Sometimes you'll see these numbers reference for a script. For instance, "chmod your script to "755" or "777". That means, "set file permissions to 'Read-Write-Execute/Read-Execute/Read-Execute'". "755" is in fact the most common setting for CGI/Perl scripts - if your script does not work or you get an "Internal Server Error" when you run it, try this first.

To change file permissions using your FTP software:

Log into your account and go to the directory where the files are located. Highlight the file that you want to change permission for. Locate the "file permission" or "chmod" command on your FTP software software (if you are using ws_ftp, highlight the file, right click and choose "chmod"). There should be three groups. Each group should have either check boxes or a selection for the permission type.

Set pages to rw- for the owner, no permission for the group, and r--for other.

Set scripts to rwx for the owner, r-x group, and r-x for other.

What is the absolute path to my site?

The path to your site on the server would be:

/home/username/

Where "username" would be your username assigned when you signed up with WebHostingPad.

Does WebHostingPad support FFMPEG?

Unfortunately, Webhostingpad does not support the FFMPEG module, as it is too processor-intensive.

How to force HTTPS encryption when using an SSL

IMPORTANT: If you have existing code in your .htaccess, add this above where there are already rules with a similar starting prefix.

To force all web traffic to use HTTPS:

Insert the followng lines of code in the .htaccess file in your website's root folder:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]

Be sure to replace www.yourdomain.com with your actual domain name.

To force a specific domain to use HTTPS:

Use the following lines of code in the .htaccess file in your website's root folder:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]

Make sure to replace example\.com with the domain name you're trying to force to use HTTPS.

Additionally, you need to replace www.yourdomain.com with your actual domain name.

To force a specific folder to use HTTPS:

Insert the code below into an .htaccess file placed in that specific folder:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} folder
RewriteRule ^(.*)$ https://www.yourdomain.com/folder/$1 [R,L]

Make sure you change the folder to the actual folder name. Then replace www.yourdomain.com/folder with your actual domain name and the name of the folder you want to force to use HTTPS.

BILLING

How do I access my billing account?

In order to access your billing account, you must login to your Account Manager at webhostingpad.com/login. You would use your email address and password that is associated with your account.

Please keep in mind that these login credentials are different from your cPanel login details.

How do I cancel my account?

In order to cancel your account, you would need to fill out our cancellation form at this URL.

The cancellation process takes 5-7 days to be completed.

If you wish to keep your domain active, please put that in the reason for cancellation area and choose "Hosting" as a cancellation type.

How do I update my credit card details?

To manage the credit card on your account, you would have to log into your Account Manager at webhostingpad.com/login

Under "Hello, (_your_name_)", you will see "Mange Credit Card".

Will I receive a refund if I cancel my account?

Each of WebHostingPad's shared hosting plans carries a 30-day unconditional money back guarantee. If you are not completely satisfied with our services or support within the first 30 days, you will be given a full refund. The following services do not qualify for the 30 Day Money Back Guarantee: account renewals, additional items and services and domain name registration.

Also, because we are not able to delete and or untransfer the domain name once it's registered or transferred, there is a fee of $14.95 for all domain names that we register or transfer. (This applies to the free domain name promotion as well). Therefore, if you cancel within 30 days of your purchase, you will be charged $14.95 for the domain name.

What kind of payment method may I use?

We accept Visa, Mastercard, Discover Cards, PayPal, Alipay and Western Union Transfers.

Hosting Renewal Prices

WebHostingPad offers special promotions, coupons, and introductory offers. Any special pricing is offered for the initial hosting term only and are not applicable to account renewals. All web hosting accounts will renew automatically at the regular rates. These rates are listed below.

Shared Hosting Regular Rates

Power Plan

  • 1 Year - $5.99/month (billed $71.88 for 1 year)
  • 2 Years - $4.99/month (billed $119.76 for 2 years)
  • 3 Years - $4.49/month (billed $161.64 for 3 years)
  • 4 Years - $3.99/month (billed $191.52 for 4 years)
  • 5 Years - $3.49/month (billed $209.40 for 5 years)

Power Plan Plus

  • 1 Year - $9.99/month (billed $119.88 for 1 year)
  • 2 Years - $8.99/month (billed $215.76 for 2 years)
  • 3 Years - $7.99/month (billed $287.64 for 3 years)
  • 4 Years - $6.99/month (billed $335.52 for 4 years)
  • 5 Years - $6.99/month (billed $419.40 for 5 years)

WordPress Optimized Hosting Regular Rates

WP Beginner

  • 1 Year - $9.99/month (billed $119.88 for 1 year)
  • 2 Years - $8.99/month (billed $215.76 for 2 years)
  • 3 Years - $7.99/month (billed $287.64 for 3 years)

WP Pro

  • 1 Year - $11.99/month (billed $143.88 for 1 year)
  • 2 Years - $10.99/month (billed $263.76 for 2 years)
  • 3 Years - $9.99/month (billed $359.64 for 3 years)

WP Premium

  • 1 Year - $14.99/month (billed $179.88 for 1 year)
  • 2 Years - $13.99/month (billed $335.76 for 2 years)
  • 3 Years - $12.99/month (billed $$467.64 for 3 years)

We still maintain the best value in web hosting, especially with regard to renewal rates. Please click here for a comparison of our rates next to some other popular web hosts.

cPANEL CONTROL PANEL

Is there a cPanel manual?

Yes. You can view it on cPanel's website.

How do I access my account's cPanel?

If your domain is live on our servers

Type the following in your browser (replace "yourdomain.com" with your actual domain name):

http://yourdomain.com/cpanel/

Your username and password needed to log in to your cPanel is in your initial sign-up email titled "Welcome to Webhostingpad.com - Important Login Details."

If your domain name is not yet live on our servers

(either because it hasn't been registered yet or because the transfer hasn't been completed)

Type the following in your browser:

http://YourIPaddress/cpanel/

Your IP address, as well as username and password used to log in to your cPanel, is in your initial sign-up email titled "Welcome to Webhostingpad.com - Important Login Details."

How do I view my site statistics for my website?

Click on the icon on your Webhostingpad control panel that says "Webalizer". Click "View" for any domain you want to see the stats of.

To view FTP stats:

Click on the icon on your Webhostingpad control panel that says "Webalizer FTP".

For $12 a year you can get AWstats, a powerful statistics program.

Cron Job Setup

From the cPanel, go to Cron jobs, and enter

/usr/local/bin/php -q /home/USERNAME/public_html/PathToFile

into the Command to run field. You may also want to adjust the settings specifying when to run the cron job. Once you've finished, click on the SaveCrontab button.

*Note: You will need to replace USERNAME with your user ID and PathToFile with the file name or the rest of the path to the file.

Hot Link Protection

Hotlinking is when someone displays your images (or other media) on their website by directly linking to your website. This means that they get to display your files while using your bandwidth (this is theft).

Setup of Hot Link Protection

  1. Log into cPanel
  2. Go to Hot Link Protection
  3. URLs to Allow Access
    • Enter the URLs you want to give access to the restricted files. Make sure you enter these with and without the www's if you want the images to be accessed both ways.
  4. Extensions to Allow
    • Enter the file extensions you want to block access from sites not listed in your URLs to Allow Access list.
  5. URL Redirect
    • If you don't have direct requests enabled, by entering a URL here this will redirect people if they enter the URL of the file directly into the browser.
  6. Allow direct requests
    • Check this if you want to allow people to be able to access restricted files by entering the path/URL into the browser.
  7. If the images are uploaded in the correct location and you coded references for each image correctly, you have Hot Link Protection enabled. You need to add your domain/subdomain to the URLs to Allow Access list found within Hot Link Protection. You should specify both with and without the www's if you want the images to display from both URLs. You do this through the 'Hotlink Protection' section of the control panel.

How do I change my cPanel password?

  1. Log into your WebHostingPad cPanel account (yourdomain.com/cpanel)
  2. Locate the "Preferences" menu.
  3. Locate and click on the "Change Password" icon.
  4. The "Change Password" menu will appear. Make sure to close any browser pagesexcept for your cPanel page and this tutorial.
  5. Enter your current password in the "Old Password" text box.
  6. Enter your new password twice in the "New Password" text boxes.
  7. Click on the "Change your password now" button. This will take you to a completion page.
  8. Click on the "Relogin" option. This will take you to a sign in page.
  9. You will then need to clear your browser's cookies, cache, browser history, and passwords (Firefox only). Once you have finished the above steps, close all open browser pages and reboot your system.
  10. Once your system is restarted, log directly into your cPanel through your website's URL. In a web browser, type out your websites address followed by /cpanel. Example: http://www.yourdomain.com/cpanel
  11. A pop-up dialogue box will appear. you will need to enter in your username (8 characters) and your new password, then press OK. If you have difficulty logging in with your new password, please contact our support staff.

How do I password-protect a folder?

  1. Log in to cPanel
  2. In the section called "Security" click "Password Protect Directories
  3. A popup window will come up titled "File Manager Directory Selection"
    1. To password protect a directory in the root directory, public_html, select the option "Web Root (public_html/www)"
    2. To password protect a directory within a directory in public_html, select a folder from the drop-down menu under "Document Root for"
  4. Select the folder you wish to protect by clicking on its name. Or, to view more folders within a folder, click on that folder's icon.
  5. Security Settings:
    1. Password protect this directory: Check this
    2. Name the protected directory: Type in a name you would like to call this directory
    3. Click save
  6. Create a user by entering a desired username and password. You must add a user/users to access the directory from the web.
    1. Click "Add/modify authorized user"
    2. You can add many users to be able to access your protected directory.
    3. Under "Authorized Users", you can delete users who have access to this directory.

How to configure/manage SpamAssassin

SpamAssassin is an additional feature that we offer to our customers for $12 per year. If you would like to have it enabled on your account please submit a ticket to our support department and they can assist you with setting this up on your account. Once enabled, you will then see the SpamAssassin icon inside of your cPanel and can follow this guide to configure/manage it.

Enabling SpamAssassin

If you want to use SpamAssassin to filter your emails, the first thing you will have to do is enable it.

  1. Assuming you are already logged in cPanel, click on the SpamAssassin icon.
  2. Click on the "Enable" button to activate SpamAssassin. cPanel will then tell you that it has been enabled.
  3. Click on the Go Back link at the bottom to go to the previous window where SpamAssassin can be configured.

Automatic Delete

Since there is no guarantee that SpamAssassin will tag legitimate emails as spam, it is advisable to disable the automatic delete option. Click on the Disable Auto-Delete Spam button to do so.

The way SpamAssassin determines if an email is spam or not is by assigning it a score based on various criterias like certain keywords or keyphrases, the origin domain, the mail server where it came, etc. If the score is high enough, the email gets tagged as spam.

The spam score can be set by using the drop down menu from the Filters panel, but keep in mind doing this will re-enable the automatic delete option.

If you want to keep automatic delete disabled, click on the Configure SpamAssassin button at the bottom. From there, you will be able to set various settings.

Required Score

This is where you are going to set the required score for an email to be tagged as spam. The lower the number, the more strict the spam filter will be.

With automatic delete disabled the value can be set more strict to start for testing purposes. The mail server will append SPAM to the subject of emails it considered as spam. This will allow you to see if the filter is flagging legitimate e-mails as spam or if the setting is to your liking.

Once you have set the right score value, you may enable the automatic delete option if you want.

Blacklist From

If you want to automatically block emails from a particular address or an entire domain, enter it here. If you want to block a whole domain, use the wildcard like this:

*@hotmail.com

Whitelist From

To make sure you always get emails from a particular address or domains, enter it here. This works the same way as for the Blacklist From format.

Once you are done, click on the Save button and the settings will be applied instantly.

How can I make a sub-folder my main folder for my main domain instead of public_html?

The main domain on the hosting account uses the public_html folder for all of its Web site files. Any addon domains use sub-folders inside the public_html folder. In order to also set up your main domain to use a sub-folder on your hosting account you will need to set up a redirect in the .htaccess file in the public_html folder so that the server knows that any request for your main domain will be redirected to a sub-folder on public_html.

Visitors to your Web site will not be able to tell that your main domain is using a sub-folder, they will still see the Web site address as http://www.yourdomain.com/page.html

The Code

# .htaccess main domain to subfolder redirect
# Copy and paste the following code into the .htaccess file
# in the public_html folder of your hosting account
# make the changes to the file according to the instructions.

# Do not change this line.

RewriteEngine on


# Change yourdomain.com to be your main domain.

RewriteCond %{HTTP_HOST} ^(www.)?yourmaindomain.com$


# Change 'subfolder' to be the folder you will use for your main domain.

RewriteCond %{REQUEST_URI} !^/subfolder/

# Don't change this line.

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Change 'subfolder' to be the folder you will use for your main domain.

RewriteRule ^(.*)$ /subfolder/$1

# Change yourdomain.com to be your main domain again.
# Change 'subfolder' to be the folder you will use for your main domain
# followed by / then the main file for your site, index.php, index.html, etc.

RewriteCond %{HTTP_HOST} ^(www.)?yourmaindomain.com$
RewriteRule ^(/)?$ subfolder/index.php [L]

Webalizer Quick Help

Main Headings

Hits

Hits represent the total number of requests made to the server during the given time period (month, day, hour, etc.)

Files

Files represent the total number of hits (requests) that actually resulted in something being sent back to the user. Not all hits will send data, such as 404-Not Found requests and requests for pages that are already in the browsers cache.

Tip

By looking at the difference between hits and files, you can get a rough indication of repeat visitors, as the greater the difference between the two, the more people are requesting pages they already have cached (have viewed already).

Sites

Sites is the number of unique IP addresses/hostnames that made requests to the server. Care should be taken when using this metric for anything other than that. Many users can appear to come from a single site, and they can also appear to come from many IP addresses so it should be used simply as a rough gauge as to the number of visitors to your server.

Visits

Visits occur when some remote site makes a request for a page on your server for the first time. As long as the same site keeps making requests within a given timeout period, they will all be considered part of the same Visit. If the site makes a request to your server, and the length of time since the last request is greater than the specified timeout period (default is 30 minutes), a new Visit is started and counted, and the sequence repeats. Since only pages will trigger a visit, remotes sites that link to graphic and other non- page URLs will not be counted in the visit totals, reducing the number of false visits.

Pages

Pages are those URLs that would be considered the actual page being requested, and not all of the individual items that make it up (such as graphics and audio clips). Some people call this metric page views or page impressions, and defaults to any URL that has an extension of .htm, .html or .cgi.

Kbytes

A KByte (KB) is 1024 bytes (1 Kilobyte). Used to show the amount of data that was transfered between the server and the remote machine, based on the data found in the server log.

Common Definitions

Site

A Site is a remote machine that makes requests to your server, and is based on the remote machines IP Address/Hostname.

URL

URL - Uniform Resource Locator. All requests made to a web server need to request something. A URL is that something, and represents an object somewhere on your server, that is accessable to the remote user, or results in an error (ie: 404 - Not found). URLs can be of any type (HTML, Audio, Graphics, etc...).

Referrers

Referrers are those URLs that lead a user to your site or caused the browser to request something from your server. The vast majority of requests are made from your own URLs, since most HTML pages contain links to other objects such as graphics files. If one of your HTML pages contains links to 10 graphic images, then each request for the HTML page will produce 10 more hits with the referrer specified as the URL of your own HTML page.

Search Strings

Search Strings are obtained from examining the referrer string and looking for known patterns from various search engines. The search engines and the patterns to look for can be specified by the user within a configuration file. The default will catch most of the major ones.

Note: Only available if that information is contained in the server logs.

User Agents

User Agents are a fancy name for browsers. Netscape, Opera, Konqueror, etc.. are all User Agents, and each reports itself in a unique way to your server. Keep in mind however, that many browsers allow the user to change it's reported name, so you might see some obvious fake names in the listing.

Note: Only available if that information is contained in the server logs.

Entry/Exit Pages

Entry/Exit pages are those pages that were the first requested in a visit (Entry), and the last requested (Exit). These pages are calculated using the Visits logic above. When a visit is first triggered, the requested page is counted as an Entry page, and whatever the last requested URL was, is counted as an Exit page.

Countries

Countries are determined based on the top level domain of the requesting site. This is somewhat questionable however, as there is no longer strong enforcement of domains as there was in the past. A .COM domain may reside in the US, or somewhere else. An .IL domain may actually be in Isreal, however it may also be located in the US or elsewhere. The most common domains seen are .COM (US Commercial), .NET (Network), .ORG (Non-profit Organization) and .EDU (Educational). A large percentage may also be shown as Unresolved/Unknown, as a fairly large percentage of dialup and other customer access points do not resolve to a name and are left as an IP address.

Response Codes

Response Codes are defined as part of the HTTP/1.1 protocol (RFC 2068; See Chapter 10). These codes are generated by the web server and indicate the completion status of each request made to it.

What is a CPanel entry process?

If you log into cPanel, you will see on the left hand side "Entry Processes" with a number.

An "Entry Process" is how many PHP scripts you have running at a single time. Our shared hosting has a limit of 25 PHP scripts at a single time.

Keep in mind an "Entry Process" only takes roughly a fraction of a second to complete, therefore most people get it confused with how many visitors they can have on their website. A 25 limit Entry Process doesn't mean only 25 people can be on your website at once because the likelihood of all 25 people hitting your website at the exact same second would never happen.

We've seen an entry limit of 25 usually handle 80-100 visitors on your website at a time. If you have a low traffic website but are constantly at 25 Entry Processes, it means something is wrong with your scripts and they are hanging around longer then they should.

What is the difference between sub domains, addon domains, and parked domains?

What is the difference between a sub-domain, a parked domain, and an add-on domain?

We get asked this question all the time. The answer is actually pretty straightforward:

Sub Domain

Lets say your domain is mysite.com.

You install a Message Board and put in in a directory called mysite.com/board/.

You can turn the directory board into a sub-domain by adding it as a sub-domain from your Control Panel.

Now you can access your Message board as either mysite.com/board OR board.mysite.com

This costs you nothing and is free.

Parked Domain

You have two domains mysite.com and my-other-site.com.

mysite.com is the domain of your website and you want to add my-other-site.com.

You want them both to go to the same place. In other words, when someone types either www.mysite.com or www.my-other-site.com they will go to the same page(s) on your website.

In order to have additional parked domains you need to purchase them from a registrar.

If you need to register a domain name, you can purchase them via your account dashboard at http://webhostingpad.com/login

Add-On Domain

You have two domains mysite.com and my-other-site.com.

You want the two domains to be totally separate/independent websites.

In order to have additional add-on domains you need to purchase them from a registrar.

If you need to register a domain name, you can purchase them via your account dashboard at webhostingpad.com/login

DATABASE QUESTIONS

Do you support ASP pages and Access databases?

Unfortunately, we do not. We currently only support MySQL, PHP, CGI, and Perl.

What version of MySQL are you running?

We are currently running 5.0.45.

How do I create a MySQL backup?

The easy way

Use the backup utility in the control panel.

The manual way

Manually backup using phpMyAdmin. To do this, follow these steps:

  1. Login to your control panel (http://yourdomain.com/cpanel)
  2. Click on MySQL databases.
  3. Scroll to the bottom and click on phpMyAdmin hyperlink.
  4. Click on the drop-down to the left and choose the database you wish to export the backup from.
  5. Click on the Export Tab.
  6. Click the Select All link shown in blue. The check Save as file and click Go.
  7. You will be asked to save the .sql file to the hard drive. Click Save.
  8. Choose the location to save to and click Save. Your database has now been exported.

What are the basic connection settings for MySQL?

There are two different ways to connect to a MySQL database. Locally (from a script on the server to the server), and Remotely (from a remote computer, using Shell, ODBC, or Navicat)

Locally, the settings are:
Hostname: localhost
Username: username_dbuser
Password: dbpassword
db_name: username_dbname
db_table: dbname_table

Remotely, the settings are the same, but you must use yourdomain.com in place of 'localhost'. Also, your IP address must be whitelisted on our end in order to get through our firewall. You can whitelist your IP address inside the cPanel under "Remote mySQL".

How do I create a MySQL database?

  1. Login to your control panel (http://yourdomain.com/cpanel)
  2. Under the section Databases, click on MySQL Databases.
  3. Add a database (Create New Database)
  4. Add Database Users
  5. Add users to the new database, with appropriate permissions.

How do I restore a database from cPanel?

With the Backups tool in Cpanel, you may generate, download or restore backup files, MySQL databases and email domain forwarder/filter. It is recommended you download the backups to your local machine as a backup.

The Steps

  1. Log in to your Cpanel at http://domain_name/cpanel/ or http://domain_name:2082
  2. Click on the Backups icon.
  3. Choose on the option "Restore a MySQL Database".
  4. Browse to the MySQL database backup file you have on your local machine, then click on the Upload button.
  5. Wait for the operation to restore the MySQL database to be completed (Note: This might take several minutes, depending on your MySQL database backup file size).
  6. Once completed, you may have to reassign the corresponding database user to the MySQL database again.
  7. To assign the database user to a MySQL database, you may go back to the main page of the CPanel.
  8. Click on MySQL databases.
  9. Browse to "Add Users To Databases" section.
  10. Choose the corresponding user and database, then click on "Add user to database".

Note:

  • If you have any error message prompt when you upload your MySQL database backup file, kindly contact Webhostingpad Support.
  • If your backup file is larger than 20MB, kindly upload your backup file to anywhere on your hosting account and contact Exabytes Support to request Restore MySQL database. Let us know the location of the backup file.

Domains / DNS

Addon / Parked / Sub Domains

How do I unpark or remove a parked domain?

  1. Login to cPanel
  2. Click on "Parked Domains"
  3. Select the domain you would like to remove or 'unpark' from the drop-down menu near the bottom of the page
  4. Click "REMOVE DOMAIN!"

How do I set up an addon domain?

First, make sure your nameserver record for your pointed/addon domain is pointing to:

Primary nameserver: ns1.webhostingpad.com
Secondary nameserver: ns2.webhostingpad.com

Addon Domains will not be functional unless the domain name is registered with a valid registrar and configured to point to our DNS servers. After the domain has resolved to the hosting server (generally takes about 24-48 hours for ISPs to completely pick up the change), you can log in to your hosting account control panel.

Steps within the cPanel:
  1. In the Domain section, click the "Addon Domains" option.
  2. In "New Domain Name" put in the name of your new, registered domain. For example: If you new domain is mydomain.com, simply put mydomain.com. Don't include http:// or www.
  3. In "Subdomain/Ftp Username" type in a username you will use to access this domain. The automatic username created for you will be the same name as your domain name. For example, if your domain name is mydomain.com, the default username will be mydomain. You can change this if you like.
  4. A document root folder will be created for you automatically. For example, mydomain.com will automatically be placed in a folder called mydomain.com within the public_html folder. It is recommended that you keep this default setting.
  5. Create a password.
  6. You have now added a domain to your hosting account!

You can upload your files for this website to the directory that was specified in the Addon Domain setup process. For example: Your main domain's files will be placed in /public_html/. The addon's files will be located in /public_html/mydomain.com/.

Webhostingpad allows you to host unlimited domains.

If you would like to avoid downtime while performing this process, first create a folder within your public_html directory using the same name as your addon domain. (XYZ.com would be /public_html/xyz/) Then, upload all your files for that domain into the new directory. Lastly, point the nameservers to ns1.webhostingpad.com, and ns2.webhostingpad.com, and you will eliminate downtime altogether.

How do I set up a subdomain?

Setting up a subdomain is very easy.

Within the cPanel:

  1. In the Domain section, click the "Subdomains" icon.
  2. In "Subdomain" type in the name you would like to be your subdomain. In the drop-down menu choose the domain name you would like to add this subdomain to.
  3. A Document Root will automatically be created for this subfolder in the public_html folder. You can change this if you want.
  4. Click "Create".

You have now added a subdomain!

What is the difference between subdomains and addon domains?

Subdomains are extensions of a domain name. With WebHostingPad you can create and host unlimited subdomains for the domains you have hosted with us.

Addon domains are completely separate, independent domains, even though they are hosted on the same hosting account with other domains. You can host unlimited addon domains with WebHostingPad for free.

However, any addon domain you want to host with us does need to be registered and paid for whether through us or another company. If you would like to register a domain name with WebHostingPad, there is a yearly cost of $14.95 per domain name.

What are subdomains?

Let's say your domain is mydomain.com. On your mydomain.com site you create a page called About Me, with the file name aboutme.html. The default URL for this file will be mydomain.com/aboutme.html. If you want to, you can create a subdomain for this page, for example, aboutme.mydomain.com. This page can now be accessed by both URL's, mydomain.com/aboutme.html as well as aboutme.mydomain.com. There's not really any reason to create a subdomain except that the URL becomes easier to remember.

Subdomains are independent sites with independent file and folder structures. Subdomains do not need to be registered via a domain name registrar because they are just extensions of already-registered domains.

WebHostingPad allows you to create and host unlimited subdomains.

New Domains

Once I register a domain, how long does it take to become active?

After registering a domain with Webhostingpad or any other registrar, it typically takes between 24 and 72 hours for your domain to show up in the registry database and for the information on the new domain to propagate to all the root DNS servers. It takes some time to propagate to other databases.

How long will it take for my DNS to resolve?

It can take as little as 1 hour, but may take between 24-48 hours for a domain to fully propogate.

How do I register a new domain name and add it to my account?

If you would like to purchase a new domain name, you can do so at any time from your Account Dashboard. Each domain costs $14.95 per year.

Log in to your Account Dashboard using your hosting account username and password:

http://www.webhostingpad.com/login

In your Account Dashboard:

  1. Select the tab called Add-ons
  2. Select "Order a New Domain Here"
  3. Type in the domain name you want to purchase
  4. Place your order

Once your domain is registered, you will need to add the new domain name as a parked or addon domain in your control panel. (www.yourdomain.com/cpanel)

Can I change the name of my domain without registering a new one?

No. Once a domain request has been made it is impossible to make changes to the name. Be sure to double-check the spelling of your domain during the ordering process.

Why is my new domain not loading?

The domain name registration probably hasn't propagated yet. It takes approximately 24 - 72 hours for newly registered domain to be visible on the Web. During this period, information about the domain name (including information about its name servers, registrar, and contact information) is being sent to every name server in the world. Your domain will be inaccessible until every name server lying between your local computer and your server have received and processed this information.

A similar process occurs when a domain is renewed after its expiration date. If you renew your domain before its expiration date, however, there will be no downtime.

To check the status of your domain name registration, perform a WHOIS search on the internet.

Domain Transfers

Understanding the domain name tranfer process

Your Domain Name Registrar maintains information relating to who your Web hosting provider for your Web site. When you change hosting companies, your Domain Name Registrar must be given the necessary information to redirect traffic to your new location. There are dozens of Domain Name Registrars and they all have different procedures to complete the process.

To expedite the transfer of your domain to WebHostingPad, as your preferred Web hosting provider, simply contact your Domain Name Registrar and request a technical contact change. Ensure you have the below information handy when speaking to your Domain Name Registrar support team.

Information:

WebHostingPad's primary and secondary DNS numbers:

Primary Server Hostname: NS1.WEBHOSTINGPAD.COM

Primary Server IP Address: 50.31.162.125


Secondary Server Hostname: NS2.WEBHOSTINGPAD.COM

Secondary Server IP Address: 69.65.24.125

Once you have completed the transfer process with your registrar, it may take up to 7 business days for your new information to be fully recognized across the Internet.

How do I transfer my domain name?

Transferring a domain name to Webhostingpad.com is easy.

Just follow these steps:
  1. Make sure your domain name is unlocked and that your Whois information is your information.
  2. Obtain an authorization code from your registrar.
  3. Email dns@webhostingpad.com with your authorization code and domain name.
  4. We will start the transfer, and you'll get an approval email within 24 to 48 hrs.

After you approve the transfer, it will take up to 7 days for everything to be transferred over to Webhostingpad.com

If you need your site running before the transfer, make sure you change the nameservers to ours before you start the transfer.

Follow these simple rules to avoid issues with your transfer:
  • You can only transfer domain names on this drop-down list.
  • Regulations prohibit transferring domains that are less than 60 days old. Please wait at least 60 days before transferring.
  • Regulations also prohibit transferring domains that will expire within 7 days. So, please transfer early to avoid this problem.
  • EPP/Auth authentication code will be required for many domain transfers. Contact your current registrar to get an EPP code.
  • Please make sure the domain is not locked at the current registrar. Many registars place locks without your knowledge.

Does transferring a domain from another registrar affect the expiration date?

The registration date stays the same, but one year is added to your registration period. For example, if your domain is due to expire on August 7, 2019, after the transfer your expiration date will change to August 7, 2020.

What are the requirements for registrar transfer?

To transfer your domain to Webhostingpad,

these conditions must be met:
  1. Your domain name has been registered for at least 60 days.
  2. The domain name is not involved in a domain dispute.
  3. The domain's status is not: locked, pending deletion, pending renewal or expired. If the domain is about to expire, you need to renew your domain with your current registrar before a registrar transfer can occur. If the domain expires, it becomes ineligible to transfer for 60 days.
  4. The e-mail address on file for the domain name is a valid and working one. If you do not have access to this e-mail address, contact your current registrar for information on changing it. Due to ICANN's new policy, changing your email may lock your domain for 60 days, during which time it cannot be transferred If you have Domain WHOIS Privacy enabled, disable it. Contact the current registrar to do this.
  5. Obtain an authorization code from your current registrar.

You do not need to transfer your domain registration to Webhostingpad in order to host that domain with us.

How do I change nameservers?

When you change hosting companies it will be necessary to change your domain name nameserver settings to reflect the change. It's like telling the post office you are moving and letting them know of your new address. To make a domain name NOT registered with Webhostingpad to work with your Webhostingpad hosting account,

here are the steps:
  1. Contact the company you registered domain your domain with and request a nameserver change.
  2. Tell them you need your nameserver settings to be:
    ns1.webhostingpad.com
    for the primary nameserver and
    ns2.webhostingpad.com
    for the secondary nameserver.
  3. Some domain registrars' will provide you with a control panel where you can log in and make the changes yourself. Please contact your domain registrar for details on how to do this.

Please note: Changing nameserver settings is NOT the same as transferring a domain.

Domain Renewals

How do I renew my domain?

Your domain will automatically renew as long as your billing account is active. You can access your account to view your renewal date by logging into your account dashboard.

Should I respond to domain renewal notice emails from Domain Registry of America that I don't recognize?

No. Domain Registry of America and other companies have no connection to Webhostingpad, and we do not provide your information to them.

These solicitations are not actually domain renewal notices, but an invitation to transfer your domain from your current registrar to their company. DRoA is only one of many companies that do this. The notices look like invoices, making them misleading, but you are not required to transfer your domain to them.

If you receive a hosting or domain-related invoice from a company you don't recognize, please contact Webhostingpad support.

Misc. Domain Questions

How do I redirect my domain to a subfolder?

To redirect your domain to a subfolder inside public_html, you will need to change the .htaccess file inside public_html for the domain you want to redirect.

Visitors won't be able to tell you're redirecting to a subfolder; the address bar will still read yourdomain.com/currentpage.html, not yourdomain.com/subfolder/currentpage.html.

Copy and paste the following code into your .htaccess file in public_html. Make sure to change the necessary information in the code before pasting and saving!

# Do not change this line.
RewriteEngine on

# Change yourdomain.com to your domain.
RewriteCond %{HTTP_HOST} ^(www.)?yourmaindomain.com$

# Change 'subfolder' to the folder you want to redirect to.
RewriteCond %{REQUEST_URI} !^/subfolder/

# Don't change these lines.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Change 'subfolder' to the folder you want to redirect to again.
RewriteRule ^(.*)$ /subfolder/$1

# Change yourdomain.com to your domain again.
# Change 'subfolder' to the folder you want to redirect to again
# followed by / then the main file for your site, index.php, index.html, etc.

RewriteCond %{HTTP_HOST} ^(www.)?yourmaindomain.com$
RewriteRule ^(/)?$ subfolder/index.php [L]

What name servers should I use?

When you change hosting companies, your Domain Name Registrar must be given the necessary information to redirect traffic to your new location.

You will need to provide the following Nameserver information to your registrar to transfer to WebhostingPad.

Webhostingpad's primary and secondary DNS servers:

NS1.WEBHOSTINGPAD.COM
IP ADDRESS: 50.31.162.125

NS2.WEBHOSTINGPAD.COM
IP ADDRESS: 69.65.24.125

Can I have multiple domains pointing to my site or to a directory on my site?

Yes. You can have multiple domains point to the same site or to a directory on your site. When you sign up, just choose the main domain you want to use, and later you can log in to the control panel and add the other domains through the Addon Domains section of the control panel.

Also, before adding on the extra domains, make sure that you have pointed them to the appropriate name servers (ns1.webhostingpad.com, and ns2.webhostingpad.com) with your registrar, and allow them sufficient time to propogate across the Internet.

Example 1. Abc.com is your main domain. You also own xyz.com, and you would like it pointed to abc.com. This is called a 'parked domain', and can be set up through the 'parked domains' manager in your control panel.

Example 2. Abc.com is your main domain. You also own xyz.com and rst.com. You would like xyz.com forwarded to rst.com. These two domains would be set up as 'addon domains' through the 'addon domain manager' in your control panel. Finally, you would set up a 'redirect' through the control panel, to point xyz.com to rst.com.

Do you offer domain privacy?

Yes, Webhostingpad offers domain privacy. When you create a hosting account you can choose to keep your domains private, meaning when an Internet user does a Whois lookup on your domain, Webhostingpad's contact information is shown rather than yours. It is $12/year

How do I change my primary account domain?

To change your primary account domain, create a ticket and send it to our Customer/Technical Support Department, or e-mail us at support@webhostingpad.com. Please include information regarding the current primary domain and the domain you would like to make the new primary domain.

Please note that changing the primary domain name is a service which requires an administrative change on the account. There is a $19.95 fee to change the primary domain.

Do I need to type www in front of my domain?

No. Your domain is accessible both my http://yourdomain.com and http://www.yourdomain.com. WWW stands for World Wide Web. Though is it not required, many internet users still type it in.

Domain masking via .htaccess

In this article, we will give you 2 ways in how you can go about redirecting your site to another URL, without changing the domain.

Example 1: Redirect and keep everything after the URL

The first option will show all of the same content on one URL as you would another. For example, if you just changed your domain to DomainB.com, but you still have plenty of visitors coming to DomainA.com, you would use this to show them all of the existing content that is located on the new domain, without the need to update both websites.

To do this, you would modify your .htaccess file for the domain that your users will go to, and insert these lines of code:

RewriteCond %{HTTP_HOST} ^DomainA.com
RewriteRule ^(.*) http://DomainB.com/$1 [P]

If you are using the file manager in cPanel, be sure that you have the option to show hidden files selected.

What does the above redirect do?
After adding this line into your .htaccess file, you will be able to go to DomainA.com/YourPage and it will show the content from DomainB.com/YourPage

Example 2: Redirect a domain to a specific url

There is another way you can do your redirect to show a specific URL, but keep the domain the same as well. If you want visitors to go to DomainA.com with a specific page in mind when doing so, you may use this code:

RewriteCond %{HTTP_HOST} ^DomainA.com
RewriteRule ^(.*) http://DomainB.com/PathToPageHere [P]

You would use this method if, for example, you had an external blog such as one on blogspot.com or maybe a shopping cart on etsy.com that you want people to visit your domain without fully hosting the domain there. Now, visitors can access your site using your domain, but see the content of an external URL.

Example 3 Re-directing an IP address

Occasionally, there will be a request to re-direct an IP address to a specific URL. The following code shows how this can be done in the .htaccess file.

# Redirect all IP address (replace the ## with the IP address numerals) to same http://domain_name.com

RewriteCond %{HTTP_HOST} ^##\.##\.##\.##
RewriteRule (.*) http://domain_name.com/$1 [R=301,L]

Stipulations / Please read

Warning: If using the first option, search engines such as Google or Bing will see multiple sites with the same content and can cause ranking drops in one, or both of the sites. From an SEO standpoint, your best option is to create 301 redirects instead.

If you opt for the second option, and are using absolute links on your site (meaning your links go to the full URL and not just an individual file) any links will go to the original site that is associated with that link.

ECOMMERCE

What are the payment gateways for CubeCart?

2checkout, PayPal, Authorize.net and Worldpay.

What are the payment gateways for ZenCart?

  • LinkPoint API
  • YourPay API
  • Authorize.net AIM
  • Authorize.net SIM
  • PayPal Website Payments Standard IPN
  • C.O.D.
  • Check/money order
  • Basic credit card

What payment gateways are supported by OScommerce?

TrustTcommerce,SECPay, PSiGate, Ipayment, Authorize.net, Paypal, 2CheckOut, and Chronopay.

What are the components of online credit card processing?

There are five areas of online credit card processing:

  • Customer's Credit Card: Provides money used in transaction. All cards are processed the same way. (Credit or debit.)
  • Shopping Carts: Used as a collection process for necessary data including credit card information, product types, quantity of products, and shipping information.
  • Payment Gateway: Transfers data from shopping cart to merchant account. Searches for fraud and the overall authorization of the transaction.
  • Internet Merchant Accounts: Confirms the credit/debit account for funds. Transactions are processed, then funds are transferred to checking account.
  • Checking Account: Accepts funds from your online sales.

How do I add PayPal to my website?

First, sign up for a PayPal Merchant Account. From there go to the Merchant area, then click Shopping Cart. After filling out the information correctly you then will end up with an "Add to Cart" code. This is a button you will use on your site. After setting up this button, get the "View Cart" button which is provided on PayPal's page. Lastly, add the code on your page in the spot that you choose.

EMAIL

Quick Setup

Type of Mail Server: POP

POP server: mail.yourdomain.com
POP username: (your full email address)
POP password: (the password that you created when your account was set up)

The settings:

SMTP server: mail.yourdomain.com
SMTP username: (your full email address)
SMTP password: (the password that you created when your account was set up)

Note: The outgoing server (SMTP) requires authentication. Make sure you select this option when setting up your email client. For example, when you send email you'll be prompted for your username and password.

How do I configure my email client to work with my email?

Make sure you are using these settings for your mail client:

Mail Server Username: username@yourdomain.com

Incoming Mail Server: mail.yourdomain.com
Incoming Server Port (IMAP): 143
Incoming Server Port (POP3): 110

Outgoing Mail Server: mail.yourdomain.com
Outgoing Server Port (SMTP): 2626

Use authentication for the outgoing mail server.

DO NOT use SSL for either incoming/outgoing.

Can I log directly into webmail?

Yes. This can be done by going to the following URL, replacing yourdomainname.com with your website address:

http://yourdomain.com/webmail/

How do I set up an email account?

To set up an email account for ANY domain follow these steps:

  1. Log into your cPanel
  2. Click on the Mail icon
  3. The first option is List/Add/Remove POP Email Accounts - select this option
  4. At the bottom of this is ADD ACCOUNT - click here
  5. This will bring you to a screen that asks for an email name with a drop down list; IE (anyname@any_domain_you_chose.com)

Can I forward an email to multiple addresses?

Yes. Using the forward feature, you can forward email to more then one person. To forward your email to multiple destinations, separate the destinations with a comma (,). Do not leave a space after the comma.

How can I eliminate some of the spam I am receiving?

Enable SpamAssassin.

SpamAssassin is located in the Control Panel under the "Mail" icon. Enabling it will mark incoming emails as spam if they meet the required criteria. You can then configure SpamAssassin to rewrite the subject of the email to start with something like *******SPAM*******. If SpamAssassin is correctly tagging your email with this subject, then you can create a filter to discard all emails with the subject containing *******SPAM*******.

After enabling Spam Assassin, in order to stop receiving spam emails, you must create an email filter to automatically discard these emails. To do so, follow these steps.

  1. Login to cPanel
  2. Click on 'Mail'
  3. Click on 'Email Filtering'
  4. Click on 'Add Filter'
  5. In the boxes provided, change 'Subject' to 'Spam Assassin Spam Header'. Change 'contains' to 'begins with'. Type 'Yes' in the text box, and 'Discard' in the last box.

Port 25 Blocking

Many ISPs are blocking what is called "Port 25" which is the port used to send email. They are doing this to cut down on the amount of spam that is sent from their networks.

All email sent via the internet is routed through port 25, the channel used for communication between an email client and an email server. Even though port 25 blocking will probably become an industry standard, the filter can create problems for email servers and block legitimate email as well as spam.

Port 25 blocking allows ISPs to block spam sent out through their networks, but it tends to punish the innocent - those who have a need to send emails through email servers other than those belonging to their ISP. The ISPs that block port 25 require their SMTP server to be used instead of the remote SMTP server or a SMTP server running on your computer.

How port 25 is used

All email sent via the internet is routed through port 25. When an email server that runs on your computer delivers messages, it always uses port 25 to transmit data to remote email servers. Therefore, if your ISP is blocking the port, your messages will not get through.

ISPs that block Port 25

This list contains some of the major ISPs that block port 25 on their servers:

  • AT&T
  • MindSpring
  • BellSouth
  • MSN
  • CableOne
  • NetZero
  • Charter
  • People PC
  • Comcast ATTBI
  • Sprynet
  • Cox
  • Sympatico.ca
  • EarthLink
  • Verio
  • Flashnet
  • Verizon
  • MediaOne

Does WebHostingPad have IMAP support?

Yes, we support POP3 and IMAP email.

How many emails can I send per hour/day?

You can send 300 emails per hour and 3,000 per day.

How do I create/edit a mailing list?

To create a new mailing list:

  1. Log in to your cPanel
  2. Click the icon called Mail
  3. Click on Add Mailing List
  4. Fill it in like so:
    List Name: Enter a name for your new mailing list
    Password: Enter a password for your new mailing list
    Domain: From the drop-down menu, select the domain you want your new mailing list to be used on.
  5. Click on the "Add Mailing List" button

To edit an existing mailing list:

  1. Log in to your cPanel
  2. Click the icon called Mail
  3. Click on Mailing List
  4. Click "Edit" next to the mailing list you would like to edit
  5. Log in to the Mailman Administration panel with your mailing list password. You can now adjust your options.

How do I create/edit an email autoresponder?

To create a new autoresponder:

  1. Log in to your cPanel
  2. Click the icon called Auto Responders
  3. Click on Add Auto Responders
  4. Fill it in like so:
    • Email: Enter the username of the email address you are using to create an auto-responder. From the drop-down menu, select the domain for the associated email address.
    • From: Enter the "From" email address.
    • Subject: Enter the subject of the auto-responder.
    • Character Set: From the drop-down menu, select the character set you want to use.
    • HTML Message: If you want the auto-responder to be sent as HTML, check the box next to "HTML Message"
    • Body: Enter the text/html of your auto-response. This is what receivers of your auto-responder will read. This will probably be something like "I am on vacation and will be away from the office until xx/xx/xx."
    • You also have the option to use any of these tags for both Plain Text and HTML email:
    • %subject% : The subject of the message that was sent to the autoresponder
    • %from% : The sender of the message that was sent to the autoresponder
    • %email% : The sender's email from the message that was sent to the autoresponder.
  5. Click the "Create/Modify" button.

To edit an autoresponder:

  1. Log in to your cPanel
  2. Click the icon called Auto Responders
  3. Click Edit next to the autoresponder you want to edit

How do I set a default email address?

The default email address will "catch" any mail that is sent to an invalid email address for your domain. All mail that is sent to an address that does not exist will go to the default email address. For example, say you have a website with the domain name mydomain.com and someone sends an email to help@mydomain.com. If this email address does not exist (because you didn't create it), you can have the mail forwarded to an email address that is valid.

  1. Log in to your cPanel
  2. Under Mail, click the icon that says Default Address
  3. Fill it in like so:

    Send all unrouted email for: From the drop-down menu, choose the domain you want to create a default email address for. To send all default mail to the main mail account, simply type the username of your cPanel account in the email address input field.

    Discard with error to sender (at SMTP time): Choose this option if you want emails that are sent to non-existent email addresses to be automatically deleted, with a failure message sent to the sender.

    Failure Message (seen by sender): Type in the message you want to have sent to the sender.

    Forward to email address: Choose this option if you want mail that is sent to an invalid email address for your domain to be forwarded to a valid email address

    Forward to email address: Type in the email address that you want the mail forwarded to.

  4. Click Change.

Invalid HELO Name error

WebHostingPad has begun implementing the requirements of SMTP authentication on our servers that may affect customers using an email client such as Thunderbird, Outlook, or Mac Mail. If you are receiving "550 Access denied - Invalid HELO name" (or a similar error message) in your email client, please check your settings as follows:

Microsoft Outlook 2010 / 2013

  1. From the Menu bar, click the "File" tab.
  2. Click the "Info" tab on the left and select "Account Settings" then click "Account Settings" from the dropdown.
  3. Select your email account then click "Change"
  4. Click "More settings"
  5. Select the "Outgoing Server" tab
  6. Select the box beside "My outgoing server (SMTP) requires authentication"
  7. Select "Use same settings as my incoming mail server"
  8. Click "OK"
  9. Click "Next"
  10. Click "Finish"

Thunderbird

  1. From the Menu bar, click "Tools" then "Account Settings"
  2. This will bring up the Account Settings window where you can click on "Outgoing Server (SMTP)" at the bottom of the list on the left side of the window
  3. Back in the middle of the window, select the appropriate outgoing server and click the "Edit" button
  4. Make sure "Authentication method" is set to "Normal password"
  5. Click "OK" to close the SMTP edit window and again on the Account Settings window

Mac Mail

  1. From within Mac Mail click Mail > Preferences > Accounts
  2. Near the bottom of the window, look for "Outgoing Mail Server (SMTP)" and click the drop down arrow. Select "Edit SMTP Server List"
  3. Click the "Advanced" button in the middle of the window and make sure Authentication is set to "Password"
  4. Click "OK" to close the edit window

FAQ

I see you advertise unlimited disk space; why is there a limit of 10gb and 100gb in my cPanel?

All our hosting accounts do come with unlimited disk space and bandwidth. But we start each account with a set limit. As your needs grow, simply contact us to request additional resources and we will increase it to whatever you need. This new plan allows us to create more efficient use of our servers and provide better, faster, and more efficient hosting for our customers.

Please note you must use up the current quota and must comply within our terms for an increase.

Can I change my primary domain after I have signed up?

There is a charge of $12 to change the primary domain name on the account.

If you are within the first 30 days of signing up , this fee can be wavied.

The domain name will need to be registered through us or through another registrar and pointed to our name servers. The domain registration through us is $14.95 per year.

In order to register the domain name with us, you can purchase it through your Account Dashboard at http://www.webhostingpad.com/login in the Addons tab.

Am I able to change the username you have assigned?

We can change your username for you. However, this can cause issues with your website if you use databases because it will make changes to the name(s) of your database(s); if we change your username you will need to reconfigure your database connection settings.

When you request a username change, please know that you understand this risk and you are willing to change this information yourself.

The username must bebetween 6-8 characters.

FTP

FileZilla

Follow these steps to set up FTPES for the FileZilla FTP client:

  1. Click on File and select Site Manager... This will bring up the Site Manager dialog box.
  2. If you are already using FileZilla then you may see your site already listed here. If so, just select it and the information for the account will show up in the right side of the Site Manager dialog box. Otherwise, click on New Site to add your account to FileZilla's site manager.
  3. You would fill out the corresponding information accordingly or if you are modifying an account that already existed in the Site Manager, just leave everything as is. The one thing to change is where it says FTP Protocol, choose "FTP" and then under encryption choose "Requre explicit over TLS/SSL"
  4. This is really the only change you have to make. Once this is selected and all of your other information is filled in, click on OK or Connect if you want to connect to your FTP account.

WinSCP

Logging in to WinSCP for the first time

This article assumes you already have the WinSCP client downloaded and installed on your personal computer. All FTP connections with WebHostingPad must be over a secure protocol. The steps below will guide you through connecting using the SFTP protocol.

  1. Launch WinSCP (Start > Programs > WinSCP3 > WinSCP). The WinSCP Login window should open.
  2. Click Session in the list on the left.
  3. In the Host name field, type ftp.yourdomainname.com to upload to your account.
  4. Enter your cPanel username in the User Name field.
  5. Do not enter your password at this point and ignore the Port number and the Private key file field.
  6. In the Protocol section, SFTP (allow SCP fallback) should be selected.
  7. Click the Save... button at the bottom of the window.
  8. Enter a name for session and click OK.
  9. Under Sessions on the left, click Stored Sessions. Click to select the session you saved on ther right, then click the Login button at the bottom of the window. You may get a warning message. If so, click Yes.
  10. Enter the password for the account.
  11. You should see the main program window. Double-click on your folder name in the right pane to enter your account.

The WinSCP environment

This article assumes you have already connected to the server using WinSCP.

The files on the left pane of WinSCP are local files. These are the files located on your personal computer.

To navigate the file tree:

To go up one level, double-click on the yellow folder with the up arrow.

To go down a level, double-click any folder.

To open a different drive (such as a zip drive or flash drive) use the drop-down list.

To find your desktop:

From C: Local Disk, navigate using the folders (Documents and Settings > username > Desktop).

The files on the right pane of WinSCP are remote files. These are the files located on the server.

To display hidden files:

Note: In general, do not delete hidden files, which are filenames starting with a period. For example, .profile.

  1. Select Options > Preferences
  2. Select Environment > Panels from the list on the left.
  3. In the Common section on the right, check Show hidden files.
  4. Click OK.

WinSCP can sort files by name, type, date, etc.

Click the up/down triangle next to any column header name to sort in ascending or descending order.

Uploading and downloading files to your computer using WinSCP

This article assumes you are already connected through WinSCP.

When you upload or download a file you are transferring a file either from your personal computer to your hosting account (upload) or transferring a file from the hosting account to your personal computer (download). To upload or download a file using WinSCP,

follow these steps:

These steps illustrate downloading a file. To upload a file, mirror these steps.

  1. Navigate to the desired file on the server in the window on the right by using the drop-down menu, or by navigating through the file tree.
  2. On the left, go to the loaction where you want the file downloaded by navigating the file tree.
  3. On the right, click to selct a file (you can alternatively ctrl+click or shift+click to select multiple files), then drag the file(s) or folder(s) into the opposite window. Alternatively, you can click the F5 Copy button or double-click the file(s) if you have enabled that feature in Preferences.
  4. A window will appear confirming where the file is being copied. Click Copy.
  5. The newly downloaded file should appear in the lefthand window.

How do I connect and upload via FTP with WS_FTP?

  1. Open WSFTP, click File > Connect.
  2. Click on Create Site.
  3. Enter a name for your site (anything) and leave "Create In" blank. Click Next.
  4. Type in your domain name as the hostname and click Next.
  5. Type in your username and password. Leave the account field blank. You can choose to save the password. Click Next.
  6. Server Type should be set to FTP and the Port to 21. Leave SSL unchecked. Click Finish.
  7. Once you're back to the Connect screen, select the site and click Edit.
  8. Click on the Startup tab and type public_html for the remote site folder. Click OK.
  9. Select the site again and click Connect.
  10. Click the Browse Local Folders button.
  11. Sleect the folder that contains your HTML files.
  12. Select the files that need uploading and click the right arrow to upload files.

How do I upload via FTP in Dreamweaver MX?

  1. Open Dreamweaver MX. Click on Site and choose New Site.
  2. Click on the Advanced tab. For Site Name, enter a phrase that describes your site. Dreamweaver will choose a local root folder for you. Also, enter your HTTP address and click on the Remote Info category.
  3. Change Access to FTP. Then enter your FTP Host, which is your domain name (yourdomain.com) or your server's IP. For Host Directory, type in public_html. Then enter your login name and password.
  4. While still on the same screen, place a check in "Automatically Upload Files to the Server on Save."
  5. Click Connect to Remote Site.
  6. Make sure the second drop down reads Remote View. You will see a list of files in your public_html folder.
  7. Double-click any file, edit it, and choose Save. Dreamweaver will automatically update it on the server.
  8. Should you ever add images or other files that need to be uploaded, select Local View from the site drop-down.
  9. Select the files that need uploading and click the PUT button (up arrow).

Where can I obtain an FTP client?

There are a few popular places to get an FTP program. Below are a few sites that WebHostingPad recommends:

A general software download site: Download.com (Recommend Core FTP Lite)

Windows: IPSwitch($).

Mac & Windows: FileZilla or CyberDuck

FTP for Addon Domains

You can either log in as the addon domain, or log in as the main account and put everything in the addon domain folder.

To log in as the addon domain:

Username: _addon_folder_@_main_domain_.com_

Password: (the password you chose when setting up the addon domain)

Host: Addon domain or main domain, either will work.

Folder or Directory: /

To use the main account, log in normally and navigate to the addon_folder, and place your files there.

NOTE: If you have Front Page, you will need to publish to the subdomain. For example, http://_addon_folder_._main_domain_.com_

Username: _addon_folder_

How do I create additional FTP accounts?

  1. Log in to your cPanel (http://yourdomain.com/cpanel/)
  2. Click the button that says "FTP Accounts"
  3. How to fill in the "Add FTP Account" section:
    • Login: Choose a username for your new FTP account. (Note: To log in the user must enter the full username, meaning what you type here plus the "@yourdomainname". For example, if you type in "newuser" in this field, and your main domain name is "mydomain.com", the username will be "newuser@mydomain.com". Remember to replace "mydomain.com" with your actual domain name.)
    • Password: Choose a password for your new FTP account.
    • Password (Again): Retype your new password.
    • Directory: Choose a direct5ory for this user to have access to. (Note: Leaving this field blank or entering / here will allow the user to have access to /public_html/ and all subdirectories of /public_html/ for your account.)
    • Quota: If you wish, set the quota.
  4. Click the button that says "Create FTP Account"

You have now created a new FTP account. WebHostingPad offers unlimited FTP accounts.

How do I connect and upload via FTP with CuteFTP?

  1. Open CuteFTP, choose File, then Site Manager.
  2. Click on the New button.
  3. Fill in the information requested. Host address is your domain name. Also enter your username and password.
  4. Make sure the FTP port is set to 21 and click Edit.
  5. Under the Gebneral Tab, type in "public_html" for the Default Remote Directory and click OK.
  6. Click Connect.
  7. Now that you're connected, select the files you want to upload. Right click on the selection and choose Upload.

How do I upload via FTP in Dreamweaver?

Once your web site is created in Dreamweaver and is ready for publication, all you have to do is upload it to the public_html directory on your account via FTP. You can initiate the FTP transfer directly through the Macromedia Dreamweaver program itself.

If you haven't already done so, do the following to set up the "Remote Info" for your site within Dreamweaver:

  1. In Dreamweaver choose Site > Edit Sites (or Define Sites)
  2. Choose the site you wish to upload > click Edit
  3. If prompted, choose Advanced
  4. In the Category list highlight/select Remote Info
  5. Pull down the Access drop-down menu and choose FTP
  6. In the FTP Host field type ftp.yourdomain.com
  7. In the Host Directory box type public_html/
  8. In the Login field type in your account username
  9. In the Password field type your account password
  10. Check the "Save" box (leave the other boxes such as "Use Firewall", "Use Passive FTP", etc. unchecked)
  11. Click OK > click Done

How many files can be transferred at once through FTP?

You can transfer an unlimited amount of files at once. However, WebHostingPad only allows a maximum of 50 simultaneous connections per transfer.

Since most FTP clients have a default setting of unlimited connections, you need to manually reset this. Please refer to the Help section or manual of your FTP client to do this.

Having more than 50 simultaneous connections can result in an IP lockout.

FTP connections using SFTP and FTPES

For security purposes, we don't offer normal FTP on our servers, as that is one of the main reasons for accounts compromization, especially through sniffing attacks. Instead we provide more secure ways for using FTP. The options we offer for FTP connections are FTPES (FTP over explicit SSL/TLS port = 21) and SFTP (secure FTP and port = 22)

FTPES (Explicit over SSL/TLS)

FTPES is one of the ways to connect to FTP in a secure way. It's FTP over SSL/TLS layer. This service is provided by the FTP server itself and therefore the port is 21.

Using FTPES, you can connect with your cPanel login details or by using sub FTP accoutns which you can create from the "FTP Accounts" section in your cPanel.

Connecting using cPanel logins
  • hostname = domain.com
    (Your domain name, provided it's pointing to our server. Else you can use the server IP.)
  • username = cPanel username
  • password = cPanel password
  • port = 21
Connecting using sub FTP accounts
  • hostname = domain.com
    (Your domain name, provided it's pointing to our server. Else you can use the server IP.)
  • username = user@domain.com
  • password = password you have given
  • port = 21

SFTP (Secure FTP)

SFTP is another way we offer secure FTP connection. This service is provided by the SSH server instead of the FTP server, so the port is 22.

Keep in mind that SFTP only supports cPanel logins and sub FTP accounts won't connect using SFTP.

Connecting using cPanel logins
  • hostname = domain.com
    (Your domain name, provided it's pointing to our server. Else you can use the server IP.)
  • username = cPanel username
  • password = cPanel password
  • port = 22
    *Make sure that you are using port 22 itself

You can also check our video tutorial on this here.

GETTING STARTED

I just placed an order for a hosting package, how long until the account is activated?

All orders that we receive are manually reviewed and accepted by our billing department. In the event that our system detects some inconsistencies with your order, we will either attempt to call you to verify the order, or we will send you an email requesting verification in order to proceed.

Once the order has been verified, the account will be created on our servers and you will be emailed all login details to the account. You can then start uploading your content or creating a site using the resources we have available to you in your cPanel.

Should you have any questions regarding this process, please feel free to contact us at any time.

How do I point a domain to my hosting account with WebHostingPad?

To point a domain to our hosting services, there are 2 routes you can take:

Update the CNAME/A records for your domain to point to your server address/IP

Update the nameservers for the domain to point to our nameservers. This will point all DNS information to our servers.

The nameservers are:

ns1.webhostingpad.com
ns2.webhostingpad.com

Please note that all DNS changes can take up to 24 hours to fully propagate.

I need to transfer a domain name, how do I do that?

To transfer a domain name, please contact your registrar and perform the following steps:

  1. Unlock the domain name
  2. Update the contact details for the domain name so that the email address listed is one you have access to.
  3. Obtain an EPP/authorization code from your registrar.

After completing those steps, please submit a ticket to our DNS department or email dns@webhostingpad.com with the domain name and EPP/authorization code. We will then proceed with assisting you with the transfer of the domain.

How do I transfer my content from my previous host to you?

If you would like to transfer the content of your website to us, you can do so using FTP to connect to your hosting account.

We also provide free site transfers for all clients.

If you would like us to transfer the site for you, please submit a ticket to our support team or email support@webhostingpad.com

You will have to provide the login/FTP details for the previous host so that we are able to access the site files. Please note:

  • If the previous host uses cPanel, we will be able to transfer the entire account over to our side, including email accounts and mail stored on the previous host's server.
  • If the previous host does not use cPanel, we will only be able to transfer the site files and databases associated with them. In that case, if you wanted to save your mail, you'll have to download the mail to a 3rd party client via POP3.

How do I build a site using my cPanel hosting account?

We offer many different ways to create a website within our hosting packages, all of which are accessed through your cPanel.

You have access to the premium version of RVSiteBuilder, which you can get to by signing into your cPanel and going to "Software/Services > RVSiteBuilder". RVSiteBuilder is a WYSIWYG (what you see is what you get) cookie-cutter/drag & drop site builder. You are able to select a template or create your own, and then insert your text and images into the pages of your site. There isn't any limit on the number of pages you can create.

You also have access to a 1-click script installer called Softaculous, which you can get to by signing into your cPanel and going to "Software/Services > Softaculous". It contains numerous scripts that you can install, ranging from blogs to ecommerce platforms. All you need to do is select the one you'd like to use, fill in a few pieces of information, and hit "Install". After the installation is complete, you will be given an admin login to manage your new site.

We now offer Weebly, which is another drag & drop site builder that you can add to your account through your client area. There are four plans, one of them free and the others ranging up in price as features are added. For a full explanation of the Weebly site builder, visit our Weebly hosting page.

OTHER

Getting Server 500 Errors on your PHP scripts

When a PHP script requires write-access to a file or directory (like Nucleus does for the 'media'-directory if you want to be able to upload pictures, etc.), you have to chmod that directory (or file) to 777 (or 666 for files) on most servers. This gives world write access to this folder (file). This is because on most servers, Apache (and PHP) runs as user 'nobody'. Although giving world write access will make it possible to use the script, it also means a security hole that can be used by hackers and other riff-raff.

To avoid this security hole some ISP's install PHPSuExec on their servers (like mine did a few days ago). Using PHPSuExec, PHP runs under your own username on the server. This removes the necessity to make files and folders world writable. Instead you can just use 755 for folders (the default) and 644 for files (also the default).

But using PHPSuExec has some other consequences: some statements in your .htaccess file will result in an error 500 (internal server error). So here are the two problems and how to solve them (these problems are Apache-specific, since IIS isn't as advanced as Apache):

ForceType

When you are using files with (or without) an extension different from the normal extension for that filetype, you can use ForceType in your .htaccess file to make it clear to the server how to handle that file (or all the files in the folder) This works on servers without PHPSuExec.

An example: When you have a file called 'item' (like Nucleus uses for FancyURL's) and want it to be parsed by the server as PHP, you use the following code in your .htaccess file:

??? ForceType application/x-httpd-php

When your server uses PHPSuExec

When your server uses PHPSuExec this will result in an internal server error. To solve this you can simply use SetHandler instead of ForceType, so your .htaccess-file becomes:

??? SetHandler application/x-httpd-php

php_value

On a server without PHPSuExec, it is possible to use the php_value statement in a .htaccess-file to change settings of PHP (actually overwrite the settings from php.ini). On a sever with PHPSuExec this will also result in a server error. To solve this you can use a php.ini file in the same folder where have put your .htaccess file. In that php.ini file you can change all the PHP values. You only have to put the values you want to modify in that file. For example if you want to set the short_open_tag to Off you would have used short_open_tag? = off in your .htaccess file. Using a php.ini file this results in:

[PHP]
short_open_tag = Off

How do I add a favicon to my site?

Step 1 : Create the image

  1. Using your favorite graphics software, create a 16x16 pixel image depicting your icon.
    • Most web sites use a smaller version of their logo or similar
  2. The main consideration is to keep your icon simple and clear at such a small size.
  3. It is also often important to use as few colors as possible.
    • Most browser interfaces (the top tool bar containing the browser buttons) can display 256 colors, but it's best to use the Windows 16 colors
  4. Save this image as favicon.bmp.
    • It is important to save as .bmp format as some icon editors won't open .gif format graphics

Step 2 : Create the icon

  1. Open up your icon editor and browse for your saved .bmp.
    • We recommend using Convertico.com ( www.convertico.com )
  2. When you open your .bmp to create an icon from it, make sure you are using no more than 256 colors (IconForge gives you the option to choose how many colors) and preferably the Windows 16 colors
  3. If necessary, edit the image.
  4. Save the image as an icon.
    • Make sure it is called favicon.ico and now has the file extension .ico

Step 3 : Include the icon in your web pages

  1. Publish the icon into the root directory of your web site.
    • This is where Internet Explorer will automatically look for it when a visitor bookmarks your site
  2. Help the browser find your icon by including in the html, before the <head> tag, following: <link rel="shortcut icon" href="http://www.your-web-site-name.com/favicon.ico">
    • Preferably nearer the closing tag, because more important information, such as your meta tags , should come earlier
  3. Save your web page and publish it.
    • If you want to create different icons for different pages, simply call them something other than favicon.ico, but still retaining the .ico suffix.
    • Link to them in your pages in the same way as above, just changing the href location for the different icons

Step 4 : Test your icon

  1. Open Internet Explorer (version 5 or above) and bookmark your page.
  2. Determine if your icon stands out from other bookmarked web sites with favorites icons.
  3. If necessary, re-edit your icon and publish it again.
  4. Close your browser and re-open it, bookmark your page again, then check the new version of your icon.
    • However, you will need to remove the bookmark (Favorites > Organize Favorites, select your bookmark and click "Delete") and delete your temporary Internet files and page history (Tools > Internet Options, tab "General" and click "Delete Files" under "Temporary Internet Files" and click "Clear History" under "History"). This may take a few minutes if you haven't done this recently.
  5. Repeat until you're satisfied and your icon is suitably eye-catching.

How to stop a directory index from being shown

Sometimes, for one reason or another, you will have no index file in your directory. This will, of course, mean that if someone types the directory name into their browser, a full listing of all the files in that directory will be shown. This could be a security risk for your site.

To prevent this without creating lots of new 'index' files, you can enter a command into your .htaccess file to stop the directory list from being shown:

Options -Indexes

How do I enable my FrontPage extensions?

Before enabling and using FrontPage extensions, please contact our support to make sure your account is on a server that supports FrontPage extensions. If it isn't, your account can be moved to a server that supports this extension.

  1. Go into cPanel
  2. Go to the section at the bottom called Advanced
  3. Click FrontPage Extensions
  4. Click the Install Extensions button on the domain you would like to enable extensions on.

You now have enabled FrontPage extensions.

How to do a traceroute

Traceroute is a command which can show the path of a packet of information taken from your computer to one you specify. It lists all routers it passes through until it reaches the destination, or fails to and is then discarded.

Below are the steps to do a Traceroute.

  1. In windows, select Start -- Programs -- Accessories -- Command Prompt. You should then get a black window.
  2. Enter the word "tracert", followed by a space, then the domain name (ex: abc.com).

First, it will tell you that that it is tracing the route (abc.com). Second, it will tell you the IP address of that domain and what the maximim number of hops will be before it times out. Finally, it will give the information about each router it passes through on the way to its destination.

How do I publish my website from FrontPage?

  1. Within FrontPage, open the website that you would like to publish.
  2. Next, choose Publish Web from the File menu.
  3. Enter the domain name (with www. at the beginning) and click Publish.
  4. Frontpage will then contact our server and will ask you for your username and password. Enter the username and password (same as your Cpanel login).

FrontPage will then begin to upload the website. It can take anywhere from a few seconds to many minutes all depending on how large your website is.

Why is there a red X where my image should be?

There are 2 main reasons this could be happening.

The image is not in the folder

Have you uploaded the image onto our server? Make sure the image file has been uploaded into the appropriate folder within the public_html folder. When uploading images, make sure to do it in binary mode instead of ASCII mode.

Make sure the file is in the correct folder.

The path to the image is incorrect

Right click on the image and click Properties. This will display the link to the image. If the path is correct, the image does not exist. If the path is incorrect, just change the linking.

Make sure there are no spaces or capitals in the file name. For example, "My Image.jpg" should be renamed to "myimage.jpg".

Then make sure the the path to the image reflects this chang.

How do I make a strong password?

Tips for creating a password:

Make it long

The longer your password, the more protected it is. Your password should be at least 8 characters long. 12 or longer is ideal, as long as you can remember it.

Create a passphrase

Spaces are often supported in passwords, so one option is to create a phrase as a password. Phrases can be easy to remember even when they are long, and hard to guess.

Combine letters, numbers, and symbols

The more variety you have in your password, the stronger it is. With letters, you can also vary whether it is lowercase or uppercase.

Make it longer than usual

If you cannot use symbols, make your password longer than usual. If you can use symbols, using symbols that require holding down the Shift key, or using punctuation marks other than those on the upper row of your keyboard, strengthens your password.

Make it unique but memorable

Of course, try to create phrases that are easy for you to remember but difficult for others to guess.

Tips for remembering your password:

If you can't remember your password in your head, write it down. Keeping your password in any electronic form, whether in a password manager, website, or other software-based storage tool, is easier to compromise. Be careful, though, about where you keep your written passwords. In a notepad next to the computer is not the safest place. Note, though, that there is much debate about what is safer: writing down passwords physically or keeping them in an electronic system. The safest option is, of course, being able to remember your password. If you can't do this, take extra precaution in whatever way you choose to store your passwords.

Things to avoid:

Sequences or repeating characters:

Using sequences or repeated characters, such as 123456, 555555, abcdefg, or asdfghj.

Personal info:

Using your login name as your password. Also, avoid using any part of your personal information, such as your name, birthday, social security number, phone number, etc. or similar information of loved ones. This is the first thing criminals will try.

The same password for everything:

Using the same password for all of your accounts. If even one account is compromised, all of your other information is compromised as well if you use the same password everywhere.

Online storage:

Using an online storage system for your passwords. If a criminal finds this, they have access to all of your information.

Using words that can be found in the dictionary.
Any of the above in reverse sequence.
Any of the above with a number in front or back.
A blank password

Changing your time zone

If you would like to change the time zone on your VPS here is how you can do so through an SSH session.

The idea is to create a symlink with the target being the time zone file in /usr/share/zoneinfo and the source as /etc/localtime

Here is an example of how to set it for CST/CDT:

bash-2.05b# ln -f -s /usr/share/zoneinfo/CST6CDT /etc/localtime

To verify that it worked:

bash-2.05b# date
Fri Jan 20 12:45:55 CST 2006

You may need to restart services on your VPS in order for them to recognize the change in timezone.

To get a full list of timezones that are available, use the following command:

bash-2.05b# find /usr/share/zoneinfo/
/usr/share/zoneinfo/
/usr/share/zoneinfo/Africa
/usr/share/zoneinfo/Africa/Abidjan
/usr/share/zoneinfo/Africa/Accra
/usr/share/zoneinfo/Africa/Addis_Ababa
/usr/share/zoneinfo/Africa/Algiers
/usr/share/zoneinfo/Africa/Asmera
/usr/share/zoneinfo/Africa/Bamako
/usr/share/zoneinfo/Africa/Bangui
/usr/share/zoneinfo/Africa/Banjul

etc...

The output will be very long, but you can use the grep command to limit your search:

bash-2.05b# find /usr/share/zoneinfo/ | grep -i pst
/usr/share/zoneinfo/SystemV/PST8PDT
/usr/share/zoneinfo/SystemV/PST8
/usr/share/zoneinfo/posix/SystemV/PST8PDT
/usr/share/zoneinfo/posix/SystemV/PST8
/usr/share/zoneinfo/posix/PST8PDT
/usr/share/zoneinfo/right/SystemV/PST8PDT
/usr/share/zoneinfo/right/SystemV/PST8
/usr/share/zoneinfo/right/PST8PDT
/usr/share/zoneinfo/PST8PDT

bash-2.05b# find /usr/share/zoneinfo/ | grep -i turkey
/usr/share/zoneinfo/posix/Turkey
/usr/share/zoneinfo/right/Turkey
/usr/share/zoneinfo/Turkey

spry_dustin is offline

PRE-SALES

What type of hosting does Webhostingpad offer?

Webhostingpad offers Linux-based shared hosting. Remember, just because you use Windows at home does not mean you have to go with Windows-based hosting. Linux is much more common with web hosting and has superior stability.

Shared Hosting is the most common, basic, and least expensive form of hosting. It is called "shared" hosting because multiple clients, and thus multiple websites, share a single server. This splitting of server resources is what makes shared hosting so affordable, like renting an apartment versus buying a home (dedicated hosting).

Does Webhostingpad offer reseller accounts with WHM?

Currently we do not offer reseller accounts with WHM (Web Hosting Management).

Does Webhostingpad support Java?

No we do not support Java on our shared hosting services. You can use Java with our VPS plan which you can find more information about on this page.

Does Webhostingpad support PostgresSQL?

At this time Webhostingpad does not support PostgresSQL.

What payment options does Webhostingpad accept?

Webhostingpad accepts all major Credit Cards (Visa, MasterCard, Discover) as well as PayPal through our online order form. We also accept are check/money order (U.S. checks only), and Western Union.

For other payments, please contact our billing department via phone or email at billing@webhostingpad.com.

All payments must be made in U.S. dollars.

Will Webhostingpad place ads on my site?

Webhostingpad will NOT place any ads on your site.

What control panel does Webhostingpad use? Is there a demo?

Webhostingpad uses the most popular and up-to-date control panel, cPanel.

SEO

What is SEO?

SEO breakdown

SEO stands for "search engine optimization"

A "search engine" is software that searches internet content to find sites that match a particular topic (by keywords or keyword phrases). Google, for example, is a very popular search engine.

In Merriam Webster, "optimization" is defined as ân act, process, or methodology of making something as fully perfect, functional, or effective as possible.â

Therefore, Search Engine Optimization is the act or process of making a website as fully perfect, functional, and effective as possible through maximizing the function of search engines. SEO is about getting a website in top rankings (the top 20 rankings or higher).

How is SEO done?

Basic SEO is made up of these three techniques:

  • Optimize site content (what Internet users see)
  • Optimize source code (invisible to Internet users, visible to search engine crawlers)
  • Get other sites to link to your site

What is the goal of SEO?

The end goal of SEO is to bring as many visitors to your site as possible. In the case of many businesses, the point of getting many visitors to a site is to boost sales. Other websites' goals are to get viewers to click on their website ads and therefore earn some money.

Why is SEO important?

Most internet users use search engines to find the information they are looking for, so it's important to be visible to search engines. Also, since there are billions of sites listed in Google alone, and since most search engine users don't look past the first two pages, it's important to be placed within the first 20 rankings.

People the world over are making millions by effectively promoting their website. With the online environment being more competitive than ever, and with SEO being one of the most cost-effective marketing means for bringing in new customers, companies who perform SEO have a much higher advantage over companies who don't, or who ineffectively, perform SEO.

Why doesn't my site show up in search engines?

While results with some Search Engines can appear within 2 weeks, the time frame for respectable results is 2-3 months from the initial indexing. Although "pay for positioning" expedites the process, it requires separate fees paid directly to the search engines and directories.

0-1 week: Inktomi, and less recognized search engines
2-4 weeks: Altavista, Infoseek, Google
3-5 weeks: Excite, HotBot, Lycos, Webcrawler, Norhtern Light
6-8 weeks: Yahoo

Please note: The above results are subject to change.

Video Tutorials

For a list of all our video tutorials, please click here.

WEBHOSTINGPAD ACCOUNTS

I lost my control panel/billing login information

If you have forgotten or lost your account login information, email our support at support@webhostingpad.com. For authorization and security purposes, please provide us with the last 4 digits of the credit card associated with your hosting account. Your password will be reset and an email will be sent to you with your new login information.

How do I report objectionable content that I found on a site hosted by WebHostingPad?

To report a Web site containing potentially offensive or unlawful content, follow these steps:

  1. Review Webhostingpad's Terms to make sure the Web site is in violation.
  2. If the site is in violation or you're not sure, send an e-mail to support@webhostingpad.com.
  3. Include an exact link to the page in question and describe your complaint in detail.
  4. Once notified, we will review the site and determine if further action needs to be taken.

Do hosting accounts have automatic renewal?

Yes, hosting accounts are set on auto-renewal to avoid any interruption of service or downtime in your website. All plans will automatically renew at the end of the plan's Billing Cycle unless you notify WebHostingPad that you would like to cancel your account. Plan renewal charges are based on the prevailing rate on the date of renewal according to the service selected. Plans are renewed for the same billing cycle. All of this is listed in our Billing Policy that you agreed to when you signed up.

You need to cancel your account before renewal if you did not want to be charged.

Important Notice:

Domain name registrations and Web hosting accounts are handled by separate entities. In the event you need to cancel, you must specify whether you would like to cancel your domain name only, your Web hosting plan only, or both your domain and hosting accounts. The cancellation or expiration of your domain name does not automatically terminate your hosting account (or vice versa).

Can I change my account username?

Unfortunately our system does not allow this because the system uses your current username as the path to your account.

How do I see how much disk space and bandwidth I have used?

Disk space and bandwidth monitors are located inside cPanel. The information will be under the "Stats" menu on the left side of cPanel.

WebHostingPad Awards

Start building your website today!

Special Introductory Offer

$ 1.99 /mo*

Scroll to Top