<?xml version="1.0"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
		<channel><title>[Bluehost Support Center] Most Popular Articles</title><link>http://helpdesk.bluehost.com/index.php/rss/kb/most_popular</link><description></description><item><title>Bluehost.com Pricing</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt; What is Bluehost.com Pricing Structure?  &lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt; &lt;strong&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Note:&lt;/span&gt;&lt;/strong&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;You may see a promotional price on the Bluehost main page.
&lt;p&gt;These prices are for your initial hosting term only, and everyone must renew at the regular price at that time, the following prices are for normal renewals. For the most up to date pricing please call our billing or sales department and we can help you sign up with the term which would be best for your needs.  &lt;script type="text/javascript"&gt;

var mo12_price="8.95"; // just change these and everything will update
var mo24_price="7.95"; 
var mo36_price="6.95";  
var year      ="12"; 

var year1     =(mo12_price*year);
var year2     =(mo24_price*year*2);    
var year3     =(mo36_price*year*3);
&lt;/script&gt;&lt;/p&gt;
&lt;p class="whs3"&gt;36 Month Account    &lt;b&gt;$&lt;script type="text/javascript"&gt;
  document.write(mo36_price);
  &lt;/script&gt;   &lt;/b&gt; a month&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;b&gt;1 FREE Domain Registration&lt;/b&gt; good for the life of your hosting package.&lt;/li&gt;
	&lt;li&gt;&lt;b&gt;No set up fees&lt;/b&gt; [&lt;span style=""&gt;$30 Savings&lt;/span&gt;]&lt;/li&gt;
	&lt;li&gt;&lt;span style=""&gt;&lt;b&gt; $&lt;script type="text/javascript"&gt;
document.write(year3.toFixed( 2 ));
&lt;/script&gt;  &lt;/b&gt;&lt;/span&gt; Total due at sign-up; [36 month account x  $&lt;script type="text/javascript"&gt;
document.write(mo36_price);
&lt;/script&gt;       mo.]&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="whs3"&gt;24 Month Account    &lt;b&gt;$&lt;script type="text/javascript"&gt;
  document.write(mo24_price);
  &lt;/script&gt;   &lt;/b&gt; a month&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;b&gt;1 FREE Domain Registration&lt;/b&gt; good for the life of your hosting package.&lt;/li&gt;
	&lt;li&gt;&lt;b&gt;No set up fees&lt;/b&gt; [&lt;span style=""&gt;$30 Savings&lt;/span&gt;]&lt;/li&gt;
	&lt;li&gt;&lt;span style=""&gt;&lt;b&gt; $&lt;script type="text/javascript"&gt;
document.write(year2.toFixed( 2 ));
&lt;/script&gt;  &lt;/b&gt;&lt;/span&gt; Total due at sign-up; [24 month account x  $&lt;script type="text/javascript"&gt;
document.write(mo24_price);
&lt;/script&gt;       mo.]&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="whs3"&gt;12 Month Account: &lt;b&gt;   $&lt;script type="text/javascript"&gt;
  document.write(mo12_price);
  &lt;/script&gt;   &lt;/b&gt; a month&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;b&gt;1 FREE Domain Registration&lt;/b&gt; good for the life of your hosting package.&lt;/li&gt;
	&lt;li&gt;&lt;b&gt;No set up fee&lt;/b&gt; [&lt;span style=""&gt;$30 Savings&lt;/span&gt;]&lt;/li&gt;
	&lt;li&gt;&lt;span style=""&gt;&lt;b&gt; $&lt;script type="text/javascript"&gt;
document.write(year1.toFixed( 2 ));
&lt;/script&gt; &lt;/b&gt;&lt;/span&gt; Total due at sign-up; [12 month account x  $&lt;script type="text/javascript"&gt;
  document.write(mo12_price);
  &lt;/script&gt;  mo.]   &lt;span style="color: rgb(0, 0, 0);"&gt;     &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style="color: rgb(0, 0, 0);"&gt;
&lt;h4&gt;&lt;u&gt;Optional Features after sign-up&lt;/u&gt;&lt;/h4&gt;
&lt;/span&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;b&gt;Additional Domain Names&lt;/b&gt; = $10.00 each year&lt;/span&gt;&lt;/li&gt;
	&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br&gt;
	&lt;/span&gt;
	&lt;li&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;b&gt;Dedicated IP&lt;/b&gt; = $30.00 each year [$2.50 mo.]&lt;/span&gt;&lt;/li&gt;
	&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br&gt;
	&lt;/span&gt;
	&lt;li&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;b&gt;SSL Certificates&lt;/b&gt; = $45.00 each year&lt;/span&gt;&lt;/li&gt;
	&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br&gt;
	&lt;/span&gt;
	&lt;li&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;b&gt;Expired Account Reactivations&lt;/b&gt; =       $30.00&lt;/span&gt;&lt;/li&gt;
	&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br&gt;
	&lt;/span&gt;
	&lt;li&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;b&gt;Postini Mail Filtering&lt;/b&gt; =              $1.00/mo per e-mail address [prorated]&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;b&gt;Privacy = &lt;/b&gt;$4.95  Domain Privacy for the first year&lt;br&gt;
	&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; 	&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;u&gt;Terms&lt;/u&gt;&lt;/h3&gt;
&lt;p&gt;&lt;b&gt;Bluehost.com&lt;/b&gt; offers one set of &lt;a href="http://bluehost.com/tell_me_more.html" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;Hosting Features&lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;.&lt;/a&gt; All Hosting accounts are paid for upfront and in full at sign up. All Setup fees are &lt;b&gt;non-refundable&lt;/b&gt;. All accounts canceled in the first &lt;b&gt;30 Days&lt;/b&gt; of service qualify for a *&lt;b&gt;full refund&lt;/b&gt; at the monthly rate.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Example:&lt;/b&gt;  &lt;span style=""&gt;Two Year 24 Month Account is &lt;b&gt; $       &lt;script type="text/javascript"&gt;
  document.write(mo24_price);
  &lt;/script&gt;  &lt;/b&gt; a Month  x 24 months =   &lt;b&gt; $&lt;script type="text/javascript"&gt;
document.write(year2.toFixed( 2 ));
&lt;/script&gt;  &lt;/b&gt;   paid at sign up.  &lt;br&gt;
*If you cancel in the first &lt;b&gt;30 days&lt;/b&gt; Your refund would be   &lt;b&gt; $&lt;script type="text/javascript"&gt;
document.write(year2.toFixed( 2 ));
&lt;/script&gt;  &lt;/b&gt;  &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;All accounts canceled after &lt;b&gt;30 Days&lt;/b&gt; of service qualify for a &lt;b&gt;prorated refund&lt;/b&gt; at the monthly rate.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Example:&lt;/b&gt;  &lt;span style=""&gt;Two Year 24 Month Account is  &lt;b&gt; $&lt;script type="text/javascript"&gt;
  document.write(mo24_price);
  &lt;/script&gt;   &lt;/b&gt; a Month  x 24 months =     &lt;b&gt;      $&lt;script type="text/javascript"&gt;
document.write(year2.toFixed( 2 ));
&lt;/script&gt;         &lt;/b&gt; paid at sign up. If you cancel two months into it then you would be reimbursed at the &lt;b&gt; $&lt;script type="text/javascript"&gt;
  document.write(mo24_price);
  &lt;/script&gt;   &lt;/b&gt; a month rate for a period of 22 months. Your prorated refund would be &lt;b&gt;    $&lt;script type="text/javascript"&gt;
  document.write(mo24_price);
  &lt;/script&gt;       x 22 = $174.90&lt;/b&gt;.&lt;/span&gt;    &lt;span style="color: rgb(0, 0, 0);"&gt;
&lt;p&gt;When canceling your &lt;b&gt;Bluehost&lt;/b&gt; account prior to your accounts end of term; you forfeit the &lt;b&gt;FREE&lt;/b&gt; domain registration [12 or 24 month accounts] and &lt;b&gt;Bluehost&lt;/b&gt; deducts &lt;b&gt;$10.00&lt;/b&gt; from your final refund amount to cover our costs for registering your &lt;b&gt;NEW&lt;/b&gt; domain on your behalf for one year.&lt;br&gt;
You will retain ownership of your domain until the end of it's registered period.&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;*If you cancel within &lt;b&gt;5 days&lt;/b&gt;, you will get a &lt;b&gt;full refund&lt;/b&gt; and the domain name will be released.&lt;br&gt;
If you cancel after &lt;b&gt;5 days&lt;/b&gt; but within &lt;b&gt;30 days&lt;/b&gt;, there will be a &lt;b&gt;$10&lt;/b&gt; fee (for the domain name) deducted from your &lt;b&gt;full refund&lt;/b&gt;.  You will get to keep the domain name and the hosting price is refunded.  Domain names can only be canceled and refunded within &lt;b&gt;5 days&lt;/b&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;b&gt;Keywords:&lt;/b&gt; Bluehost.com Pricing&lt;/p&gt;</description><link>http://helpdesk.bluehost.com/index.php/kb/article/141</link><pubDate>Sun, 25 Oct 2009 11:48:38 GMT</pubDate><guid isPermaLink="false">c49f3c15fffa3c4ec12ce4a3a8054562</guid></item><item><title>DNS Records (MX, CNAME, ARECORD)</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;&lt;blockquote&gt;
How Do I Change DNS Settings for My MX, cNAME, A RECORD, etc.?&lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;

&lt;blockquote&gt;
&lt;strong&gt;MX Entries:&lt;/strong&gt;
&lt;p&gt;As a Customer, you can change your MX Entries as you need. Please log into the cPanel to edit these by clicking the MX Entry icon in the Mail section. When multiple MX entries are required with same priority, please contact Tech support via a ticket as described below.&lt;/p&gt;

&lt;strong&gt;A RECORD, cNAME, TXT:&lt;/strong&gt;
&lt;p&gt;Please request DNS changes by &lt;a href="http://helpdesk.bluehost.com/index.php/contact" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;&lt;strong&gt;opening a new ticket in the helpcenter&lt;/strong&gt;&lt;/a&gt;.  To help expedite the process, please include the last four digits of the credit card used for the most recent &lt;strong&gt;**WEB HOSTING**&lt;/strong&gt; payment or last four characters of the hosting password inside the body of the ticket. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Please format the ticket as follows for quickest service:&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
  Hello Support,&lt;br /&gt;
  My main domain is &amp;quot;Insert Main Domain&amp;quot; and the last 4 of my credit card are as follows 0123.
      &lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;A record: friends.yourdomain.com -&amp;gt; 74.220.195.50 (always point to an IP address)&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;CName: blog.yourdomain.com -&amp;gt; ghs.google.com&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;MX Entries: yourdomain.com -&amp;gt; 5 ALT1.ASPMX.L.GOOGLE.COM&lt;/strong&gt;&lt;/li&gt;
	&lt;li&gt;&lt;strong&gt;MX Entries: yourdomain.com -&amp;gt; 5 ALT2.ASPMX.L.GOOGLE.COM&lt;/strong&gt;&lt;/li&gt;
      &lt;/ul&gt;
&lt;/ul&gt;

&lt;span style='color: rgb(255, 0, 0);'&gt;Note:&lt;/span&gt;  Our servers do not support Reverse DNS Lookup. This means  that a Reverse DNS Lookup will not resolve to the domain name, but  instead to the server that the hosting account is on.

&lt;p&gt;We do have TXT entries and PTR entries to help with SPF records when  sending email. This shows the email was legitimately sent from a Bluehost server, where the domain will be listed if a Reverse DNS  Lookup is done.We do allow customers to request custom TXT entries in  order to help fight against spam. Both SPF records and DKIM records are  TXT entries in a zone file. Unfortunately at this time we do not  support custom PTR or SRV records for customers. If you require custom  entries like this you will need to subscribe to a third party DNS  service (examples are dyndns.com or dnsmadeeasy.com).
&lt;p&gt;
  
&lt;/blockquote&gt;&lt;b&gt;Keywords:&lt;/b&gt; DNS MX CNAME ARECORD entry record name mail google apps googleapps reverse DNS SPF</description><link>http://helpdesk.bluehost.com/index.php/kb/article/40</link><pubDate>Wed, 18 Nov 2009 16:58:50 GMT</pubDate><guid isPermaLink="false">d2313dafc8879242aef6cb714c93de48</guid></item><item><title>.htaccess Tutorial</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;

What is the .htaccess file and where can I find more information?

&lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;
&lt;h3&gt;&lt;u&gt;Introduction to .htaccess Tutorial&lt;/u&gt;&lt;/h3&gt;
&lt;p&gt;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 able to have your own custom  404 error pages. .htaccess isn't difficult to use and is really just  made up of a few simple instructions in a text file. Bluehost supports .htaccess files however as a customer you are responsible for what is in this file and how it changes your site. &lt;/p&gt;
&lt;p&gt;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. Most of these can be done via point and click directly from the Bluehost cPanel. &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Creating A .htaccess File &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Creating a .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 a 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:&lt;/p&gt;
&lt;p&gt;".htaccess" &lt;/p&gt;
&lt;p&gt; (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.&lt;/p&gt;
&lt;p&gt;&lt;span style='color: rgb(255, 0, 0);'&gt;Warning:&lt;/span&gt; Before beginning using .htaccess, I should give you one warning.  Although using .htaccess on your server is extremely unlikely to cause  you 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.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Custom Error Pages &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The first use of the .htaccess file 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).&lt;/p&gt;
&lt;p&gt;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: &lt;/p&gt;
&lt;p&gt;ErrorDocument errornumber /file.html &lt;/p&gt;
&lt;p&gt;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: &lt;br&gt;
&lt;pre&gt;
ErrorDocument 404 /notfound.html 
&lt;/pre&gt;
If the file is not in the root directory of your site, you just need to put the path to it: &lt;br&gt;
&lt;pre&gt;
ErrorDocument 500 /errorpages/500.html 
&lt;/pre&gt;
These are some of the most common errors: 
&lt;p&gt;
401 - Authorization Required &lt;br&gt;
400 - Bad request &lt;br&gt;
403 - Forbidden &lt;br&gt;
500 - Internal Server Error &lt;br&gt;
404 - Wrong page 
&lt;p&gt;
Then, all you need to do is to create a file to display when the error happens and upload it and the .htaccess file. 
&lt;/blockquote&gt;
&lt;h3&gt;&lt;u&gt;Part 2 - .htaccess Commands &lt;/u&gt;&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p align="left"&gt;&lt;strong&gt;Stop A Directory Index From Being Shown &lt;/strong&gt;
&lt;p&gt;
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. 
&lt;p&gt;
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: &lt;br&gt;
&lt;pre&gt;
Options -Indexes 
&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;strong&gt;Deny/Allow Certian IP Addresses &lt;/strong&gt;
&lt;p&gt;
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 certain directory) or you may want to ban certain 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, so this is not always the best way to limit usage. 
&lt;p&gt;
You can block an IP address by using: 
&lt;p&gt;
&lt;pre&gt;deny from 000.000.000.000 &lt;/pre&gt;
&lt;p&gt;
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. 
&lt;p&gt;
You can allow an IP address by using: 
&lt;p&gt;
&lt;pre&gt;allow from 000.000.000.000 &lt;/pre&gt;
&lt;p&gt;
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. 
&lt;p&gt;
If you want to deny everyone from accessing a directory, you can use: 
&lt;p&gt;
&lt;pre&gt;deny from all &lt;/pre&gt;
&lt;p&gt;
but this will still allow scripts to use the files in the directory. 
&lt;p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;strong&gt;Alternative Index Files &lt;/strong&gt;
&lt;p&gt;
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! 
&lt;p&gt;
Alternate index files are entered in a list. The server will work from left to right, checking to see if each file exists, if none of them exist it will display a directory listing (unless, of course, you have turned this off). 
&lt;p&gt;
&lt;pre&gt;DirectoryIndex index.php index.php3 messagebrd.pl index.html index.htm &lt;/pre&gt;
&lt;p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;strong&gt;Redirection &lt;/strong&gt;
&lt;p&gt;
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: 
&lt;p&gt;
&lt;pre&gt;Redirect /location/from/root/file.ext http://www.othersite.com/new/file/location.xyz &lt;/pre&gt;
&lt;p&gt;
In this above example, a file in the root directory called oldfile.html would be entered as: 
&lt;p&gt;
/oldfile.html 
&lt;p&gt;
and a file in the old subdirectory would be entered as: 
&lt;p&gt;
/old/oldfile.html 
&lt;p&gt;
You can also redirect whole directories 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: 
&lt;p&gt;
&lt;pre&gt;Redirect /olddirectory http://www.newsite.com/newdirectory &lt;/pre&gt;
&lt;p&gt;
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: 
&lt;p&gt;
http://www.youroldsite.com/olddirecotry/oldfiles/images/image.gif 
&lt;p&gt;
They would be redirected to: 
&lt;p&gt;
http://www.newsite.com/newdirectory/oldfiles/images/image.gif 
&lt;p&gt;
This can prove to be extremely powerful if used correctly. 
&lt;/blockquote&gt;
&lt;u&gt;&lt;h3&gt;Part 3 - Password Protection&lt;/h3&gt;&lt;/u&gt;
&lt;p&gt;
&lt;blockquote&gt;
  &lt;strong&gt;Introduction &lt;/strong&gt;
  &lt;p&gt;
  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') 
  &lt;p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
  &lt;strong&gt;The .htaccess File &lt;/strong&gt;
  &lt;p&gt;
  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: 
  &lt;p&gt;
&lt;pre&gt;
  AuthName "Section Name"
  AuthType Basic
  AuthUserFile /full/path/to/.htpasswd
  Require valid-user 
&lt;/pre&gt;
 &lt;p&gt;
  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". 
  &lt;p&gt;
  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 webspace is, check your Bluehost cPanel. Look on the left "stats" column of the cPanel. 
  &lt;p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
  &lt;strong&gt;The .htpasswd File &lt;/strong&gt;
  &lt;p&gt;
  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 which 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 you website (as the passwords are encrypted) but it is advisable to store it outside the web root (in your home directory) so that it is impossible to access it from the web. 
  &lt;p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
  &lt;strong&gt;Entering Usernames And Passwords &lt;/strong&gt;
  &lt;p&gt;
  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: 
  &lt;p&gt;
  &lt;pre&gt;username:password &lt;/pre&gt;
  &lt;p&gt;
  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. 
  &lt;p&gt;
  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. 
  &lt;p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
  &lt;strong&gt;Accessing The Site &lt;/strong&gt;
  &lt;p&gt;
  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: 
  &lt;p&gt;
  http://username:password@www.website.com/directory/ 
  &lt;p&gt;
  &lt;span style='color: rgb(255, 0, 0);'&gt;Note:&lt;/span&gt;  .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.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;b&gt;Keywords: &lt;/b&gt;.htaccess tips tricks</description><link>http://helpdesk.bluehost.com/index.php/kb/article/115</link><pubDate>Mon, 05 Oct 2009 13:01:36 GMT</pubDate><guid isPermaLink="false">fb475de352bb62fe24ab47386c9d4457</guid></item><item><title>Bluehost Nameservers (NS)</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;
How do I modify my nameservers? 
&lt;/blockquote&gt;

&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;
Please change your name servers to the correct Bluehost name servers.
&lt;ul&gt;
	&lt;strong&gt;ns1.bluehost.com&lt;/strong&gt; -   74.220.195.31&lt;br /&gt;
	&lt;strong&gt; ns2.bluehost.com&lt;/strong&gt; -   69.89.16.4
&lt;/ul&gt;

&lt;strong&gt;&lt;span style='color: rgb(255, 0, 0);'&gt;Note:&lt;/span&gt; &lt;/strong&gt; Please contact the Registrar (the company from whom you bought your domain). Request they change your Nameservers (NS) to the ones listed above. Most registrars allow customers to make the changes online themselves. Standard Propagation time is 24 to 48 hours. This means after 24 hours the domain name should  be  correctly pointing to your Bluehost account.
&lt;/blockquote&gt;

&lt;strong&gt;Keywords: &lt;/strong&gt;DNS name servers ns nameservers</description><link>http://helpdesk.bluehost.com/index.php/kb/article/1</link><pubDate>Thu, 22 Oct 2009 23:01:40 GMT</pubDate><guid isPermaLink="false">101ce841e3a0a9a6ee0ea0e87efa503c</guid></item><item><title>MySQL Version</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;
  What version of MySQL are you running?
&lt;/blockquote&gt;

&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;

The current version can be viewed in the cPanel on left side.  Alternately, to see which version you are running with the following command from either Window's DOS prompt or a terminal on Mac or Linux, It will print out the current version 

&lt;p&gt;In command prompt or terminal:&lt;/p&gt;
&lt;pre&gt; telnet domain.com 3306&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;b&gt;Keywords:&lt;/b&gt; MySQL SQL version</description><link>http://helpdesk.bluehost.com/index.php/kb/article/3</link><pubDate>Sun, 11 Oct 2009 13:43:12 GMT</pubDate><guid isPermaLink="false">837396dddd629a2ea8220a4afd977de7</guid></item><item><title>FTP - Uploading the website</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;
How do I upload my web site? 
&lt;/blockquote&gt;

&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;
The best way to upload your web site is via FTP. This can be done in a number of different ways using many different FTP clients. Every client needs 4 things: &lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;Domain name or IP Address.&lt;/li&gt;
  &lt;li&gt;Username.&lt;/li&gt;
  &lt;li&gt;Password.&lt;/li&gt;
  &lt;li&gt;Port (Usually port 21)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This information is emailed to you in the welcome email you received when you signed up with us.&lt;/p&gt;
&lt;p&gt;Our fantastic tutorials at &lt;a href="http://tutorials.bluehost.com" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;tutorials.bluehost.com&lt;/a&gt; will guide you though this process at your own pace. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://tutorials.bluehost.com/tutorials/#ftp" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;Click here to view the FTP tutorials available! &lt;/a&gt;
&lt;/blockquote&gt;

&lt;b&gt;Keywords:&lt;/b&gt; upload web site website uploading ftp &lt;/p&gt;
</description><link>http://helpdesk.bluehost.com/index.php/kb/article/103</link><pubDate>Sun, 25 Oct 2009 11:27:41 GMT</pubDate><guid isPermaLink="false">10f83a8930391d12a6f547db301f1584</guid></item><item><title>Email Setup in any client (General Information)</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;

How can I set Email up quickly?

&lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p class="whs3"&gt;Below are the settings that are  needed to configure and retrieve email from your main pop account: 
&lt;p&gt;Type Of Mail Server: POP &lt;br /&gt;
  POP server: mail.yourdomain.com&lt;br /&gt;
  POP username: (your full email address) &lt;br /&gt;
  POP password: (the password that you selected when your account was setup) &lt;/p&gt;
&lt;p&gt;Here are the settings that you'll need to send email: &lt;/p&gt;
&lt;p&gt;SMTP server: mail.yourdomain.com&lt;br /&gt;
  SMTP username: (your full email address) &lt;br /&gt;
  SMTP password: (the password that you selected when your account was setup) &lt;/p&gt;
&lt;p&gt;&lt;span style='color: rgb(255, 0, 0);'&gt;Note:&lt;/span&gt;  The outgoing server (SMTP) requires authentication (Make sure you select this option when setting up your email client.) i.e. when you send email you'll be prompted for your username and password.&lt;/p&gt;

&lt;/blockquote&gt;

&lt;b&gt;Keywords:&lt;/b&gt; Email Quick Setup</description><link>http://helpdesk.bluehost.com/index.php/kb/article/26</link><pubDate>Fri, 09 Oct 2009 11:50:53 GMT</pubDate><guid isPermaLink="false">9b728de234903c6e102601599706daf2</guid></item><item><title>How to host the Primary Domain from a subfolder (.htaccess)</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;
How do I make a sub directory (or sub folder) act as the public_html for your main domain?

&lt;/blockquote&gt;

&lt;h2&gt;Solution:&lt;/h2&gt;

&lt;blockquote&gt;
The main domain on the hosting account uses the public_html directory for all of its Web site files. Addon domains use sub directories inside the public_html directory. In order to also set up your main domain to use a subdirectory 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 subdirectory on public_html.

&lt;p&gt;
 
    To setup the rewrite/redirect, edit the ~/public_html/.htaccess file. Insert the following code block and make modifications as noted in the (#) comments.
&lt;pre&gt;

# Bluehost.com
# .htaccess main domain to subdirectory 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 'subdirectory' to be the directory you will use for your main domain.
RewriteCond %{REQUEST_URI} !^/subdirectory/
# Don't change this line.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Change 'subdirectory' to be the directory you will use for your main domain.
RewriteRule ^(.*)$ /subdirectory/$1
# Change yourdomain.com to be your main domain again.
# Change 'subdirectory' to be the directory 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 ^(/)?$ subdirectory/index.php [L]

&lt;/pre&gt;

  &lt;p&gt;Visitors to your Web site will not be able to tell that your main domain is using a subdirectory, they will still see the Web site address as http://www.yourdomain.com/page.html.
&lt;/blockquote&gt;&lt;b&gt;Keywords:&lt;/b&gt;.htaccess - How to make a subdirectory the main directory for your main domain</description><link>http://helpdesk.bluehost.com/index.php/kb/article/347</link><pubDate>Thu, 08 Oct 2009 13:00:17 GMT</pubDate><guid isPermaLink="false">362e92ce4973afaa1cacd58caf425112</guid></item><item><title>Webmail Access</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;
  How do I use webmail?
&lt;/blockquote&gt;
  
&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;

The best way to access webmail is to go to the webmail URL. It is just the domain name with &amp;quot;/webmail&amp;quot; appended to the end.

&lt;ul&gt;http://yourdomain.com/webmail&lt;/ul&gt;

Other ways include logging in via the cPanel and clicking the Webmail link or visiting &lt;a href="http://login.bluehost.com" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;login.bluehost.com&lt;/a&gt; and entering the full email address and the correct corresponding password. See &lt;a href="http://helpdesk.bluehost.com/index.php/kb/article/000156" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;Webmail Client Direct Login URL&lt;/a&gt; to see how to access each of the webmail directly.

&lt;/blockquote&gt;

&lt;b&gt;Keywords:&lt;/b&gt; Webmail web mail</description><link>http://helpdesk.bluehost.com/index.php/kb/article/30</link><pubDate>Thu, 22 Oct 2009 16:00:42 GMT</pubDate><guid isPermaLink="false">96910c4f68330415e161c29244ce02a8</guid></item><item><title>Ruby on Rails Setup</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;
  How do I set up Ruby on Rails?
&lt;/blockquote&gt;

&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;

&lt;em&gt;Using Ruby On Rails on Bluehost:&lt;/em&gt;

&lt;p&gt;This is intended to be a brief introduction to developing ruby on rails applications on a account with us.&lt;/p&gt;
  
&lt;p&gt;At the bottom of this article you will find a number of resources to help you learn more about ruby on rails and related information, as well as links to some rails tutorials that will go into more depth than this document.&lt;/p&gt;

&lt;p&gt;Before you start digging your feet into Ruby on Rails, you should understand exactly what it is.&lt;/p&gt;

&lt;p&gt;Ruby on Rails is an advanced object-oriented Model-View-Controller application framework. If you did not fully understand the meaning of the previous sentence, you are going to need to put in some study time before you can jump into rails programming. Ruby On Rails is aimed at advanced programmers; jumping into it before you're ready is likely to be very very hard. This tutorial should be easy enough for anyone to follow, but there's a lot more to rails than you'll be learning here.&lt;/p&gt;

&lt;p&gt;This tutorial serves as a first step into ruby on rails development on Bluehost. The Model-View-Controller (abbreviated to MVC) design pattern is fairly straight-forward, it simply means that your program is split into three separate components: The Model, View, and Controller. The &amp;quot;Model&amp;quot; is your data, no matter how it is stored. If you are writing a blog, this is where all of your posts and comments would go. The &amp;quot;View&amp;quot; is your interface. In the case of Ruby on Rails, we are talking about the part that displays your HTML. The controller handles the business logic and ties the model to the view. MVC programming is beneficial for many reasons. From this point on, it is assumed you have an understanding of both object-oriented design and MVC and now you can get into how to develop rails applications on Bluehost.&lt;/p&gt;

&lt;p&gt;A few additional notes before you start: First of all, you need to have &lt;a href="http://helpdesk.bluehost.com/index.php/kb/article/000180" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;SSH access&lt;/a&gt; enabled.&lt;/p&gt;

&lt;p&gt;Secondly, you will see a lot of tutorials referring to a program called &amp;quot;script/server&amp;quot; or &amp;quot;webrick&amp;quot;. This is NOT NECESSARY on a Bluehost account and you should never have to use it. This is designed for people who are developing their rails application on their own computer where there is no apache install which is pre-configured to use ruby on rails.&lt;/p&gt;

&lt;p&gt;However, you do have access to such a server on Bluehost, so you do not need to worry about script/server. Do not run it as it is not set up to work properly.&lt;/p&gt;

&lt;p&gt;Third, this tutorial assumes that you are using MySQL.&lt;/p&gt;

&lt;p&gt;This document is Bluehost-specific. To begin, log into the server using SSH. You'll need a work area for your rails application. Assuming ahead of time that you may eventually want multiple applications, you should make a work directory and then cd into it. You can name it whatever you would like, but this document assumes that it is called &amp;quot;rails&amp;quot;.&lt;/p&gt;

&lt;ul&gt; % mkdir ~/rails&lt;br /&gt;
     % cd ~/rails 
&lt;/ul&gt;

&lt;p&gt;Now you may create your application. As we are just making a simple &lt;em&gt;Hello World&lt;/em&gt; application, we'll assume that the application is named &amp;quot;first&amp;quot;.  How you create the application depends on what version of Rails is on your server (currently we are in the process of upgrading all of the servers to 2.3.2, but while this is not complete some servers may still be running 2.2.2).  To find out which version of rails you are running use the following command:&lt;/p&gt;

  &lt;ul&gt; % rails -v&lt;/ul&gt;

&lt;p&gt;If you are running rails 2.3.2, then you will need to create your application like this:&lt;/p&gt;

  &lt;ul&gt; % rails -D -d mysql first&lt;/ul&gt;

&lt;p&gt;The -D is short form for &amp;quot;--with-dispatchers&amp;quot;.  This is now required for rails 2.3.2 since the dispatch files are no longer created by default.&lt;/p&gt;

&lt;p&gt;If you are running rails 2.2.2, then you will need to create it like this:&lt;/p&gt;
  
  &lt;ul&gt; % rails -d mysql first&lt;br /&gt;
       % cd first 
  &lt;/ul&gt;

&lt;p&gt;Next, we are going to set up a subdomain for this application to run on.&lt;/p&gt;

&lt;p&gt;Log into your cPanel, click on 'subdomains', then type 'first' into the first text box and click 'Add'. You have now created a new subdomain, first.yourdomain.com, which will be the new home of your ruby on rails application. Now, we're going to make your application's &amp;quot;public&amp;quot; directory be the root dir of that subdomain with the following commands:&lt;/p&gt;

  &lt;ul&gt; % cd ~/public_html/&lt;br /&gt;
       % rm -r first&lt;br /&gt;
       % ln -s $HOME/rails/first/public $HOME/public_html/first 
   &lt;/ul&gt;

&lt;p&gt;You should now be able to go to http://first.yourdomain.com/ where you will see the Ruby on Rails welcome message. As the welcome page suggests, it is now time to set up your databases.&lt;/p&gt;

&lt;p&gt;In cPanel, click on 'MySQL Databases' icon. The first thing you'll want to do here is add an SQL user for rails to use. You can name this whatever you would like. We will assume you used 'rails'. cPanel prepends your username to the user name, so you should take note of the actual name created (it should be username_rails). Next, we're adding a database. Name this database 'first', to match your application name. You will again notice that username_ has been prepended. Since rails supports having a development mode and a production mode we'll also create a second database.  Name this second database firstdev. Finally, we're going to link this username to the database. Select username_rails and username_first from the drop downs and make sure the 'All' checkbox below them is checked, then click the 'Add User To DB' button. Now you should repeat this step, with 'firstdev' as the database name, and linking username_rails to it.&lt;/p&gt;

&lt;p&gt;Now we're going to edit the database.yml file. Open ~/rails/first/config/database.yml in your favorite editor and modify the 'development' and 'production' sections to contain the username, password, and database that you just created in the cPanel.  You will also want to replace the &amp;quot;socket&amp;quot; line with a line specifying the host:&lt;/p&gt;

&lt;ul&gt;development:&lt;br /&gt;
  adapter: mysql&lt;br /&gt;
  encoding: utf8&lt;br /&gt;
  database: username_firstdev&lt;br /&gt;
  pool: 5&lt;br /&gt;
  username: username_rails&lt;br /&gt;
  password: password&lt;br /&gt;
  host: localhost&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  production:&lt;br /&gt;
  adapter: mysql&lt;br /&gt;
  encoding: utf8&lt;br /&gt;
  database: username_first&lt;br /&gt;
  pool: 5&lt;br /&gt;
  username: username_rails&lt;br /&gt;
  password: password&lt;br /&gt;
  host: localhost 
&lt;/ul&gt;

&lt;p&gt;At this point, the old tutorial directed you to create the model, view, and controller separately.  The tutorial now differs in that it will take a more &amp;quot;rails like&amp;quot; approach. &lt;/p&gt;

&lt;p&gt;We're going to create what is called a &amp;quot;scaffold&amp;quot;.  A scaffold would create a CRUD structure for information, the controllers, the views, and the routes necessary for a basic application.&lt;/p&gt;

  &lt;ul&gt; % cd ~/rails/first&lt;br /&gt;
       % ./script/generate scaffold Person name:string street1:string street2:string city:string state:string zip:string&lt;br /&gt;
  &lt;/ul&gt;

&lt;p&gt;This will create everything your basic application needs, but we are not quite done.  You will need to type in one more command:&lt;/p&gt;

  &lt;ul&gt; % rake db:migrate&lt;/ul&gt;

&lt;p&gt;This will set up the database for you.&lt;/p&gt;

&lt;p&gt;Now that we have this set up, we will need to add a way for rails requests to be processed.  We will need to create rewrite rules in a .htaccess file so that all non-static requests coming into your application are processed through fastcgi. &lt;/p&gt;

  &lt;ul&gt; % touch ~/rails/first/public/.htaccess&lt;/ul&gt;

&lt;p&gt;Now edit the newly created file with your favorite editor and add the following:&lt;/p&gt;

  &lt;ul&gt;# General Apache options&lt;br /&gt;
      AddHandler fcgid-script .fcgi&lt;br /&gt;
      RewriteEngine On&lt;br /&gt;
      RewriteRule ^$ index.html [QSA]&lt;br /&gt;
      RewriteRule ^([^.]+)/!$ $1.html [QSA]&lt;br /&gt;
      RewriteCond %{REQUEST_FILENAME} !-f&lt;br /&gt;
      RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
      ErrorDocument 500 &amp;quot;&amp;lt;h2&amp;gt;Application error&amp;lt;/h2&amp;gt;Application failed to start properly&amp;quot;
   &lt;/ul&gt;

&lt;p&gt;That's it.  Now you will be able to view your application that you had just created.&lt;/p&gt;
&lt;p&gt;Remember that when a you create a scaffold it takes on the plural form of the name you gave it.  You will need to access it the following way:&lt;/p&gt;
  
  &lt;ul&gt;http://first.yourdomain.com/people&lt;/ul&gt;

&lt;p&gt;You can now create, edit, and delete people (along with their associated records). Congratulations, you've now created your first rails application on Bluehost!&lt;/p&gt;

&lt;p&gt;Now, how do we make it so that you do not need to go to first.yourdomain.com/people to see the new application?  Is there a way to make it so that you just need to go to http://first.yourdomain.com for it to show up?  Of course, there is!&lt;/p&gt;

&lt;p&gt;First, delete the index.html page in your public folder:&lt;/p&gt;

  &lt;ul&gt; % rm ~/rails/first/public/index.html&lt;/ul&gt;

&lt;p&gt;Now, we'll have to change the routes for your application.  Open up the ~/rails/first/config/routes.rb file and edit the following line (down around the bottom):&lt;/p&gt;

  &lt;ul&gt; # map.root :controller =&amp;gt; &amp;quot;welcome&amp;quot;&lt;/ul&gt;

&lt;p&gt;Un-comment it out and change it to point to our controller so that it looks like this:&lt;/p&gt;

  &lt;ul&gt; map.root :controller =&amp;gt; &amp;quot;people&amp;quot;&lt;/ul&gt;

&lt;p&gt;Now you will be able to go to http://first.yourdomain.com and the application should come up. &lt;/p&gt;

&lt;p&gt;Another important thing to know about rails on shared hosting is that the environment can change.  While Bluehost tries its very best to notify customers using Ruby on Rails of any updates, inevitably, somebody will get missed or forget to take the necessary precautions.  To help prevent your application from breaking when updates get done to the server, you can &amp;quot;freeze&amp;quot; your application.  This will effectively make your application use the version of rails that it was created with.  The best way to do this with us is to run the following commands:&lt;/p&gt;
  &lt;ul&gt; % cd ~/rails/first&lt;br /&gt;
      % rake rails:freeze:edge RELEASE=2.x.x (changing 2.x.x to the version of rails you created the application with)
  &lt;/ul&gt;

&lt;p&gt;You should now go on to read other Ruby on Rails tutorials. You can find a lot of helpful information at &lt;a href="http://wiki.rubyonrails.org/" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;http://wiki.rubyonrails.org/&lt;/a&gt;, as well as at &lt;a href="http://rubyonrails.org/docs" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;http://rubyonrails.org/docs&lt;/a&gt;. You should also watch the Ruby On Rails Screen casts, which show you, among other things, how an experienced Ruby on Rails developer can create a fully functional application in a matter of minutes using Ruby on Rails. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;b&gt;Keywords:&lt;/b&gt; ruby on rails setup</description><link>http://helpdesk.bluehost.com/index.php/kb/article/207</link><pubDate>Sun, 25 Oct 2009 12:28:54 GMT</pubDate><guid isPermaLink="false">7d56ed6c409a466e84cbcba62f88a23d</guid></item><item><title>Remote Database Connection Setup</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;  How do I remotely connect to my Database using programs like MySQLfront?  &lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p class="whs3"&gt;To administer  databases from home on a PC, using a program  like Navicat, MySQLFront, or Dreamweaver, you will need to add an &amp;quot;access host&amp;quot; via the Remote My SQL  Database Icon in the cPanel and in the Profile/Billing Tab. &lt;br&gt;
&lt;br&gt;
For example, if your Internet Service Provider is AOL, enter  &amp;quot;%.aol.com&amp;quot;. You can also use this to grant access to a database from  another server, for example if you have a web site on a different server  which needs to access this database. To do this, instead of entering  %.your-isp.com, enter the IP of the server which needs access, like  this: &amp;quot;60.15.10.5&amp;quot;. &lt;br&gt;
&lt;br&gt;
The most common problem in connecting  is due to the use of an incorrect user name and password. Please make sure the user name you use matches the user name created in the  My SQL database section of cPanel.&lt;/p&gt;


&lt;span style='color: rgb(255, 0, 0);'&gt;Note:&lt;/span&gt; MySQLFront can be downloaded at 
&lt;a href='http://www.linuxfixit.com/MYSQL-Front_Setup.exe' style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;http://www.linuxfixit.com&lt;/a&gt; 

Navicat can be downloaded at &lt;a href='http://navicat.com' style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;www.navicat.com&lt;/a&gt;.
&lt;/blockquote&gt;

&lt;b&gt;Keywords:&lt;/b&gt; MySQLfront SQL database remote connection</description><link>http://helpdesk.bluehost.com/index.php/kb/article/89</link><pubDate>Fri, 23 Oct 2009 13:32:53 GMT</pubDate><guid isPermaLink="false">56e595059a800ac0043b88e01ecdb76a</guid></item><item><title>Configuring the PHP Environment With php.ini</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;  How do I change the PHP environment for my site with php.ini?&lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p class="whs3"&gt;
The Bluehost servers have 3 different ways to use PHP:
&lt;p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Standard PHP (Default)&lt;/strong&gt;
&lt;p&gt;
By default all accounts use standard PHP. With standard PHP selected, a php script will use the server's master php.ini configuration file if the script's directory does not contain a php.ini file. Each hosting account initially has a copy of the php.ini file in the public_html directory. You may make any changes to this file and the modification will take precedent over the master file. With standard PHP selected in the cPanel, you will need to copy the modified php.ini file into all subdirectories containing php files which are to use the custom php settings.
&lt;p&gt;
&lt;span style='color: rgb(255, 0, 0);'&gt;Note:&lt;/span&gt; Different folders can have different php.ini files containing different php settings. If you need to use different php settings for two different scripts, you can place them each in their own folder and with their own php.ini file.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PHP Single php.ini&lt;/strong&gt;
&lt;p&gt;
To avoid copying the same php.ini file to each and every directory containing php files, you may select PHP Single php.ini. This option changes the php handler defined in ~/public_html/.htaccess to indicate that all subfolders use the same php.ini found in public_html/.
&lt;p&gt;
&lt;span style='color: rgb(255, 0, 0);'&gt;Note:&lt;/span&gt; The .htaccess php handler is recursive through all subdirectories unless a subdirectory has a .htaccess file also defining a php handler.

&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PHP FastCGI&lt;/strong&gt;
&lt;p&gt;
Using the PHP FastCGI option makes all your PHP applications run through mod_fcgid instead of mod_suphp. FastCGI uses only one php.ini file located in the public_html directory. For more detailed information about PHP FastCGI including benefits and potential problems, &lt;a href="http://helpdesk.bluehost.com/index.php/kb/article/000406" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;Click Here&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;span style='color: rgb(255, 0, 0);'&gt;Note:&lt;/span&gt; For information about configuring php for an addon domain, &lt;a href="http://helpdesk.bluehost.com/index.php/kb/article/000214" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;Click Here.&lt;/a&gt;
&lt;p&gt;
&lt;strong&gt;To change the PHP type used for your account:&lt;/strong&gt;
&lt;ol&gt;
&lt;li&gt;Login to your cPanel&lt;/li&gt;
&lt;li&gt;Click on the PHP Config icon located under "Software/Services"&lt;/li&gt;
&lt;li&gt;Select the type of php version you wish to use, click "save changes"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt; To generate a new php.ini file:&lt;/strong&gt;
&lt;ol&gt;
	&lt;li&gt;Login to your cPanel&lt;/li&gt;
	&lt;li&gt;Click on the PHP Config icon located under "Software/Services"&lt;/li&gt;
	&lt;li&gt;Look for the section that says &amp;quot;Install Default php.ini&amp;quot;&lt;/li&gt;
	&lt;li&gt;Click the &amp;quot;INSTALL PHP.INI MASTER FILE&amp;quot; button&lt;/li&gt;
	&lt;li&gt;You will now have a file inside the public_html folder named php.ini.default&lt;/li&gt;
	&lt;li&gt;Use the File Manager or FTP to rename that file to php.ini&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
If you have any further questions about configuring the php.ini file, there are extensive descriptions within the file itself. You may also find more help at: http://www.php.net/docs.php

&lt;/blockquote&gt;
&lt;p&gt;&lt;b&gt;Keywords:&lt;/b&gt; php.ini php configuration server&lt;/p&gt;</description><link>http://helpdesk.bluehost.com/index.php/kb/article/128</link><pubDate>Sun, 25 Oct 2009 11:42:18 GMT</pubDate><guid isPermaLink="false">0eb51658c622b53df59464cc2883d1b5</guid></item><item><title>Transferring Domain to Bluehost</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;   How do I transfer my domain's registration to Bluehost?&lt;p&gt; Is it required to transfer my domain's registration to Bluehost?&lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;
If the domain is not already assigned to your Bluehost account, please first review the helpdesk article: &lt;a href="http://helpdesk.bluehost.com/index.php/kb/article/000084" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;"How to assign domains to my hosting account"&lt;/a&gt;.
&lt;p&gt;
&lt;span style="color: rgb(255, 0, 0);"&gt;Note:&lt;/span&gt; It is NOT required to transfer your domain's registration to the Bluehost registrar. You may host any domain with us by simply contacting your current registrar and pointing the nameservers to us. Pointing the nameservers to us will NOT automatically transfer the domain's registration.

&lt;p&gt;The Bluehost nameservers are:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Primary Server Hostname: NS1.BLUEHOST.COM&lt;/li&gt;
	&lt;li&gt;Primary Server IP Address: 74.220.195.31&lt;/li&gt;
	&lt;li&gt;Secondary Server Hostname: NS2.BLUEHOST.COM&lt;/li&gt;
	&lt;li&gt;Secondary Server IP Address: 69.89.16.4&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Once you have made this change, allow 24-48 hours for propagation and your domain will be pointed to us.&lt;/p&gt;
&lt;p&gt;
&lt;span style="color: rgb(255, 0, 0);"&gt;Note:&lt;/span&gt; We highly recommend pointing the nameservers to us before initiating a registration transfer. Transfers can take 5-7 days to complete. During this time the nameservers cannot be modified. If you point the nameservers to us before starting a transfer, your domain will be pointed to us during the duration of the transfer.



&lt;p&gt;
&lt;b&gt;To begin the domain registration transfer to Bluehost's registrar:&lt;/b&gt;
&lt;ol&gt;
	&lt;li&gt;Contact the current registrar to unlock the domain and retrieve the EPP or Authorization code.  
	&lt;li&gt;Make sure the whois contact information is correct as we will be sending a verification code to the email address listed.&lt;/li&gt;
	&lt;li&gt;Log into your Bluehost cPanel and click the Domain Manager tab at top of the screen.&lt;/li&gt;
	&lt;li&gt;Select the domain you wish to transfer from the list.&lt;/li&gt;
	&lt;li&gt;To the right of the domain, under the &amp;quot;Main&amp;quot; sub-tab, click on the link &amp;quot;Transfer this domain to your account&amp;quot;&lt;/li&gt;
	&lt;li&gt;Read the information presented and provide the EPP code then click continue.&lt;/li&gt;
	&lt;li&gt;We will now send an email containing a second verification code to the administrator email address. If you do not have access to this email address, contact the current registrar and update the WHOIS contact information.&lt;/li&gt;
	&lt;li&gt;Enter the second verification code and click continue.&lt;/li&gt;
	&lt;li&gt;Select the options you require for nameservers, Autorenewal, Contact Information, Privacy and agree to the Terms of Service. Click &amp;quot;Add transfer to shoppingcart&amp;quot;&lt;/li&gt;
	&lt;li&gt;Complete the checkout process&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="color: rgb(255, 0, 0);"&gt;Note:&lt;/span&gt; The transfer process takes 5-7 days once initiated. Ensure the domain name will not expire in this time frame to avoid potential problems with the transfer. If recently renewed, make sure it is at least 30 days after the renewal date to ensure you do not lose the additional time added with the current registrar.   
&lt;p&gt;
&lt;span style="color: rgb(255, 0, 0);"&gt;Note:&lt;/span&gt; When transferring a domain to us, ICANN requires an additional year is added to the domain's current expiration date. The cost for this is $10 per domain.  If your account has an available "free domain" credit, it will automatically be applied during the checkout process.   
&lt;p&gt;
&lt;span style="color: rgb(255, 0, 0);"&gt;Note:&lt;/span&gt; If you would like to start hosting the domain with us within 24-48 hours rather than waiting the seven days to complete registry transfer, contact the current registrar before starting the transfer and modify the DNS to &lt;strong&gt;NS1.BLUEHOST.COM&lt;/strong&gt; and &lt;strong&gt;NS2.BLUEHOST.COM&lt;/strong&gt;.  Once the transfer is initiated, no change to the DNS can be made until the transfer is either canceled or has completed.&lt;/blockquote&gt;
&lt;p&gt;&lt;b&gt;Keywords:&lt;/b&gt; domain transfer&lt;/p&gt;</description><link>http://helpdesk.bluehost.com/index.php/kb/article/45</link><pubDate>Thu, 22 Oct 2009 16:18:27 GMT</pubDate><guid isPermaLink="false">4e7ee5b4468a9b5cb36d72cc98397569</guid></item><item><title>Upload_Max_Filesize</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;  How do I change my upload_max_filesize?  &lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p class="whs3"&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Locate the php.ini file in the folder your upload script resides in. If  none exists, install a new php.ini file from the PHP config icon in  cPanel.&lt;/li&gt;
	&lt;li&gt;Rename php.ini.default to php.ini.&lt;/li&gt;
	&lt;li&gt;In the php.ini file, locate the line called 'upload_max_filesize = 2M'.&lt;/li&gt;
	&lt;li&gt;Modify that entry to read 'upload_max_filesize = 10M', or whatever your script requires.  (M = megabytes)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Extended Version:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Though PHP presents a very versatile and user friendly interface for handling file uploads,   the default installation is not geared for working with files in excess of 2 Mega Bytes. This    article is an aid to configuring PHP for handling such large file transfers.&lt;/p&gt;
&lt;p&gt;The php.ini file contains all the configuration settings for your installation. Sometimes  	 these setting might be overridden by directives in apache .htaccess files or even with in the scripts themselves but for the moment let's just concentrate on the ini file.&lt;/p&gt;
&lt;p&gt;This file contains the following settings that we need to modify&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;file_uploads&lt;/li&gt;
	&lt;li&gt;upload_max_filesize&lt;/li&gt;
	&lt;li&gt;max_input_time&lt;/li&gt;
	&lt;li&gt;memory_limit&lt;/li&gt;
	&lt;li&gt;max_execution_time&lt;/li&gt;
	&lt;li&gt;post_max_size&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The first one is fairly obvious if you set this off, uploading is disabled for your installation. We will cover the rest of the configuration settings in detail below.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;upload_max_filesize and post_max_size&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Files are usually &lt;i&gt;POST&lt;/i&gt;ed to the webserver in a format known as 'multipart/form-data'. 	The post_max_size sets the upper limit on the amount of data that a script can accept in this manner.  Ideally this value should be larger than the value that you set for upload_max_filesize.&lt;/p&gt;
&lt;p&gt;It's important to realize that        upload_max_filesize is the sum of the sizes of all the files that you are uploading.  	post_max_size is the upload_max_filesize plus the sum of the lengths of all the other fields in the form plus any mime headers that the encoder might include. Since these fields are typically small you can often approximate the upload max size to the post max size.&lt;/p&gt;
&lt;p&gt;According to the PHP documentation you can set a MAX_UPLOAD_LIMIT in your HTML form to suggest a limit to the browser. Our understanding is that browsers totally ignore this directive and the only solution that can impose such a client side restriction  is &lt;a href="http://www.radinks.com/upload/" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;Rad Upload Applet&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;memory_limit&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When the PHP engine is handling an incoming POST it needs to keep some of the incoming     data in memory. This directive has any effect only if you have used the &lt;i&gt;--enable-memory-limit&lt;/i&gt; option at configuration time.      Setting too high a value can be very dangerous because if several uploads are being handled concurrently all available memory will be used up and other unrelated scripts that consume a lot of     memory might effect the whole server as well.&lt;/p&gt;
&lt;p&gt;max_execution_time and max_input_time&lt;/p&gt;
&lt;p&gt;These settings define the maximum life time of the script and the time that the script should     spend in accepting input. If several mega bytes of data are being transfered max_input_time should be reasonably high. You can override the setting in the ini file for max_input_time by calling the set_time_limit() function in your scripts.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Special Notes:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Apache Settings&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The apache webserver has a &lt;em&gt;LimitRequestBody&lt;/em&gt; configuration directive that restricts the         size of all POST data regardless of the web scripting language in use. Some RPM installations sets         limit request body to 512Kb. You will need to change this to a larger value or remove the entry altogether.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Other Options&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you expect to handle a large number of concurrent file transfers on your website consider     using a perl or java server side component. PHP happens to be our favorite web programming language as well but perl is just slightly ahead when it comes to file handling.&lt;/p&gt;
&lt;p&gt;Most installations of perl as an apache module can accept up to 32 megabytes out of the box. Compare this against the 2MB default for PHP.     The downside is that perl coding takes just a bit more effort than PHP but it's worth it.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;b&gt;Keywords:&lt;/b&gt; PHP uploads php.ini optimize upload&lt;/p&gt;</description><link>http://helpdesk.bluehost.com/index.php/kb/article/110</link><pubDate>Sun, 25 Oct 2009 11:33:45 GMT</pubDate><guid isPermaLink="false">7523d5fd4eb7bbc44bb76ddbfd4d060d</guid></item><item><title>URL redirect/rewrite using the .htaccess file</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;
	How do I perform a URL redirect/rewrite using the .htaccess file?
&lt;/blockquote&gt;

&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;
	.htaccess Redirect/Rewrite Tutorial
	&lt;p&gt;
	&lt;h4&gt;Part 1 - How do I redirect all links for www.domain.com to domain.com ?&lt;/h4&gt;
	&lt;p&gt;
	&lt;b&gt;Description of the problem:&lt;/b&gt;
	&lt;p&gt;

	By default your website can be accessed with both www.domain.com and domain.com. Since
	Google penalizes this due to duplicated content reasons, you should restrict the access to either www.domain.com or domain.com.
	Some links may be outside of your website scope and/or the search engines may have already indexed your website under both addresses.
	&lt;p&gt;
	&lt;b&gt;Solution:&lt;/b&gt;
	&lt;p&gt;
	&lt;b&gt;Create a 301 redirect forcing all http requests to use either www.domain.com or domain.com:&lt;/b&gt;
	&lt;p&gt;
	&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Example 1 - Redirect domain.com to www.domain.com:&lt;/b&gt;&lt;br&gt;

&lt;pre&gt;
  RewriteEngine On
  RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
  RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
&lt;/pre&gt;&lt;/li&gt;
		
&lt;li&gt;&lt;b&gt;Example 2 - Redirect www.domain.com to domain.com:&lt;/b&gt;&lt;br&gt;
&lt;pre&gt;
  RewriteEngine On
  RewriteCond %{HTTP_HOST} !^domain.com$ [NC]
  RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]
&lt;/pre&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;p&gt;

	&lt;b&gt;Explanation of this .htaccess 301 redirect:&lt;/b&gt;
	&lt;p&gt;
	Let's have a look at the example 1 - Redirect domain.com to
	www.domain.com. The first line tells apache to start the rewrite module. The next line:

&lt;pre&gt;
  RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
&lt;/pre&gt;

	specifies that the next rule only fires when the http host (that means the domain of the 
	queried url) is not (- specified with the "!") www.domain.com. 
	&lt;p&gt;The $ means that
	the host ends with www.domain.com - and the result is that all pages
	from www.domain.com will trigger the following rewrite rule. Combined
	with the inversive "!" is the result every host that is not
	www.domain.com will be redirected to this domain. 
	&lt;p&gt;The [NC] 
	specifies that the http host is case insensitive. The escapes the "." - because
	this is a special character (normally, the dot (.) means that one
	character is unspecified). 
	&lt;p&gt;The final line describes the action that should be executed: 

&lt;pre&gt;
  RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
&lt;/pre&gt;

	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 ^(.*)$
	contains the requested url, without the domain. 
	&lt;p&gt;The next part
	http://www.domain.com/$1 describes the target of the rewrite rule. This is our "final" used
	domain name, where $1 contains the content of the (.*). 
	&lt;p&gt;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. 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.
	&lt;p&gt;

&lt;h4&gt;Part 2 - How do I redirect domain.com/ to domain.com/index.php ?&lt;/h4&gt;
	&lt;p&gt;
	&lt;b&gt;Description of the problem:&lt;/b&gt;
	&lt;p&gt;
	You have a website with the name domain.com and you want to 
	redirect all incomming urls that are going to domain.com/ to
	domain.com/index.php
	&lt;p&gt;

	&lt;b&gt;Solution:&lt;/b&gt;
	&lt;p&gt;
&lt;pre&gt;
  RewriteEngine On
  RewriteCond %{HTTP_HOST} ^domain.com$
  RewriteRule ^$ http://domain.com/index.php [L,R=301]
&lt;/pre&gt;

	&lt;b&gt;Explanation of this .htaccess 301 redirect:&lt;/b&gt;

	&lt;p&gt;
	What does this code above do? Let's have a look at Example 1 -
	Redirect domain.com to www.domain.com. The first line starts the rewrite
	module. The next line: 

&lt;pre&gt;
  RewriteCond %{HTTP_HOST} !www.domain.com$
&lt;/pre&gt;

	specifies that the next rule only fires when the http host (that means
	the domain of the queried url) is not (- specified with the "!")
	www.domain.com. 
&lt;p&gt;The $ means that the host ends with www.domain.com - and
	the result is that all pages from domain.com will trigger the
	following rewrite rule. Combined with the inversive "!" is the result
	every host that is not www.domain.com will be redirected to this
	domain. 
&lt;p&gt;The [NC] specifies that the http host is case insensitive. The
	escapes the "." - because this is a special character (normally, the
	dot (.) means that one character is unspecified). 
	&lt;p&gt;
	The final line describes the action that should be executed: 

&lt;pre&gt;
  RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301].
&lt;/pre&gt;

	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 intended. 
	^(.*)$ contains the requested url, without the domain. 
&lt;p&gt;The next part
	http://www.domain.com/$1 [L,R=301] describes the target of the 
	rewrite rule -this is our "final" used domain name, where $1 contains the content
	of the (.*). 
&lt;p&gt;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. 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.
	&lt;p&gt;

	&lt;h4&gt;Part 3 - How can I migrate domain content with .htaccess ?&lt;/h4&gt;
	&lt;p&gt;
	&lt;b&gt;Description of the problem:&lt;/b&gt;
	&lt;p&gt;
	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:
	&lt;p&gt;

	&lt;ul&gt;
		&lt;li&gt;Users will automatically be redirected to the new domain - you do not have to inform them.&lt;/li&gt;
		&lt;li&gt;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).&lt;/li&gt;
		&lt;li&gt;Google's PageRank &amp;trade; will be transfered to the new domain, as well as other internal information
		that is being used to set the position of pages in the search engine result pages (serp's) - like TrustRank .&lt;/li&gt;
	&lt;/ul&gt;
	&lt;p&gt;

	&lt;b&gt;Solution:&lt;/b&gt;
	&lt;p&gt;
	&lt;b&gt;Create a 301 redirect for all http requests that are going to the old domain.&lt;/b&gt;
	&lt;p&gt;
	&lt;ul&gt;
		&lt;li&gt;
			&lt;b&gt;Example 1 - Redirect from olddomain.com to www.newdomain.com:&lt;/b&gt;&lt;/li&gt;


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

		&lt;/li&gt;
		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.
		&lt;p&gt;
		&lt;li&gt;
			&lt;b&gt;Example 2 - Redirect from olddomain.com to newdomain.com:&lt;/b&gt;

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

		&lt;/li&gt;
	&lt;/ul&gt;

&lt;h4&gt;Part 4 - How can I add a trailing slash to requested URLs ?&lt;/h4&gt;

	&lt;p&gt;
	&lt;b&gt;Description of the problem:&lt;/b&gt;
	&lt;p&gt;
	Some search engines remove the trailing slash from urls that look like
	directories - e.g. Yahoo does it. However it could result into
	duplicated content problems when the same page content is accessible
	under different urls. Apache gives some more information in the Apache
	Server FAQ.
	&lt;p&gt;
	Let's have a look at an example: enarion.net/google/ is indexed in
	Yahoo as enarion.net/google - which would result in two urls with the
	same content.
	&lt;p&gt;
	&lt;b&gt;Solution:&lt;/b&gt;
	&lt;p&gt;

	The solution is to create a .htaccess rewrite rule that adds the
	trailing slashes to these urls. Example - redirect all urls that
	do not have a trailing slash to urls with a trailing slash:&lt;br&gt;

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

	&lt;b&gt;Explanation of the add trailing slash .htaccess rewrite rule:&lt;/b&gt;

	&lt;p&gt;
	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:

&lt;pre&gt;
  RewriteCond %{REQUEST_FILENAME} !-f 
&lt;/pre&gt;

	makes sure that existing files will not get a slash added. You shouldn't do the same
	with directories since this would exlude the rewrite behaviour for existing directories. The line 

&lt;pre&gt;
  RewriteCond %{REQUEST_URI} !example.php
&lt;/pre&gt;
 
	exludes	a sample url that should not be rewritten. This is just an example. If
	you do not have a file or url that should not be rewritten, remove this line. The condition: 

&lt;pre&gt;
  RewriteCond %{REQUEST_URI} !(.*)/$ 
&lt;/pre&gt;

	finally fires when a url does not contain a trailing slash. Now we need to redirect
	the urls without the trailing slash:

pre&gt;
  RewriteRule ^(.*)$ http://domain.com/$1/ [L,R=301] 
&lt;/pre&gt;

	does the 301 redirect to the url, with the trailing slash appended. 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.
	&lt;p&gt;

	This article was referenced with gratitude from &lt;a href="http://enarion.net/web/apache/htaccess/" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline;' target="new" target="new"&gt;enarion.net&lt;/a&gt;.
	
&lt;/blockquote&gt;
&lt;b&gt;Keywords: htaccess URL rewrite redirect .htaccess&lt;/b&gt;</description><link>http://helpdesk.bluehost.com/index.php/kb/article/357</link><pubDate>Wed, 11 Nov 2009 19:41:34 GMT</pubDate><guid isPermaLink="false">376a0ac80c73bda54221ca8c7343428e</guid></item><item><title>Email Setup with iPhone or iPod Touch</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;
  How can I set up an Email Account on the iPhone or the iPod Touch?&lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;

&lt;blockquote&gt;
To configure the iPhone or the iPod Touch with your pre-existing Bluehost email account, please enter the correct email account information: 
&lt;ul&gt;
  &lt;li&gt;Username, which is the email address you created.&lt;/li&gt;
  &lt;li&gt;Password, which is the password for that email address.&lt;/li&gt;
  &lt;li&gt;Incoming and outgoing mail servers, normally  &amp;quot;mail.yourdomain.com&amp;quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Third-party software cannot be supported directly by BlueHost. If you have further questions about your iPhone, please visit &lt;a href="http://www.apple.com/support/iphone/" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline;' target="new"&gt;http://www.apple.com/support/iphone/&lt;/a&gt;
&lt;/p&gt;
Please also visit the tutorials page for a video on how to set this up: &lt;a href="http://tutorials.bluehost.com/iphone" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline;'&gt;http://tutorials.bluehost.com/&lt;/a&gt;.

&lt;/blockquote&gt;
&lt;b&gt;Keywords:&lt;/b&gt; iPhone e-mail setup IMAP POP POP3 retrieve configure settings configuration</description><link>http://helpdesk.bluehost.com/index.php/kb/article/479</link><pubDate>Wed, 11 Nov 2009 15:01:08 GMT</pubDate><guid isPermaLink="false">0246ffcc6cad5a59aae0a700e8416ac0</guid></item><item><title>SSH Access</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;
How can I get SSH/Shell access on my account?
&lt;/blockquote&gt;

&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;
To enable SSH for your account, you can do one of the following to send a copy of the account holder's government issued photo ID (i.e. driver's license, passport, etc):
  &lt;ul&gt;
    &lt;li&gt;Fax - 1-801-765-1992 (make sure to include your main domain name on the document).&lt;/li&gt;
    &lt;li&gt;E-mail - Open a ticket attaching a photo ID. &lt;a href="http://helpdesk.bluehost.com/index.php/contact" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;Click Here&lt;/a&gt; to open a ticket.  Select the Sales option.
    &lt;li&gt;Upload your ID file to your hosting account and give us a link to the picture file with a ticket opened with above link.
  &lt;/ul&gt;

&lt;span style='color: rgb(255, 0, 0);'&gt;Note:&lt;/span&gt; The ID must also match the name of the owner of your account with us.
SSH will then be enabled as soon as possible.
&lt;/blockquote&gt;

&lt;strong&gt;Keywords:&lt;/strong&gt; SSH Shell command line Secure bash</description><link>http://helpdesk.bluehost.com/index.php/kb/article/180</link><pubDate>Sun, 25 Oct 2009 12:19:56 GMT</pubDate><guid isPermaLink="false">7913f65ea9afcb1276515ea283b70e13</guid></item><item><title>Shared vs. Dedicated IPs &amp; Port Access</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;

What is the difference between a Shared &amp; Dedicated IP? How do I get Port Access? What type of SSL Certificate is right for me?

&lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;

&lt;p class="whs3"&gt;&lt;B&gt;Shared IP's:&lt;/B&gt;&lt;/p&gt;
&lt;p class="whs2"&gt; Every domain name has an IP address assigned to it. An IP address is the real address of a web site or server. Domain names were developed because it is difficult to remember long IP numbers like 234.123.66.7.&lt;/p&gt;

&lt;p class="whs2"&gt; In shared hosting we host several hundred web sites on one server; those same sites will share one single IP address. Instead of having a unique IP address for every domain, you share one IP address with all of the accounts on your server. The downside to shared IP's is that some countries, like China, censor particular web sites by their IP address.  If a web site they sensor is on the same server as yours, and China blocks that web site using the shared IP address, then your web site and the hundreds of others on that server are also blocked.  This means that any clients in China would be unable to view your site.  Getting a dedicated IP address would make your web site separate so that if the shared IP address was blocked, your site wouldn't automatically be blocked along with it.&lt;/p&gt;

&lt;p class="whs3"&gt;&lt;B&gt;Email:&lt;/B&gt;&lt;/p&gt;

&lt;p class="whs2"&gt;Email will not be affected by obtaining a dedicated IP address.  Other than a program needing more than 5 minutes to send out emails from a mailing list, there is no benefit to email between a shared and a dedicated IP address.  All email, including forwarded email, is sent out through our mail proxy servers.  Obtaining a dedicated IP address will not prevent your emails from being marked as SPAM, having an ISP block the IP of the mail proxy server, or pass a reverse DNS test for places such as AOL.  People sometimes are under the wrong impression that these things will change by obtaining a dedicated IP address.  They won't change.&lt;/p&gt;
&lt;p class="whs3"&gt;&lt;B&gt;Dedicated IP's:&lt;/B&gt;&lt;/p&gt;
&lt;p class="whs2"&gt;By purchasing a dedicated IP your site is the only one on the internet that will be using that unique IP address. For example, if you typed http://64.233.187.99/ into your web browsers address bar you would see Goggle's web site come up. This is their dedicated IP address and no one else's. This is their unique address on the web that has been attached to the domain name google.com&lt;/p&gt;

&lt;p class="whs3"&gt;&lt;B&gt;Program/Script Requirements:&lt;/B&gt;&lt;/p&gt;

&lt;p class="whs2"&gt;The program or script you run on your site may require a process to run longer than 5 minutes.  On a shared IP address, the process will terminate at the 5 minute mark. With a dedicated IP address, processes are allowed to run for more than 5 minutes as long as they aren't consuming too much of the server's memory, which would result in a CPU throttling.  CPU throttling can occur both on a shared and a dedicated IP address. Certain voice chat programs require a dedicated IP address before they can be setup and used. If you have a program that sends out emails every so many seconds, such as from a mailing list program like DaDa Mail, then you would need to get a dedicated IP address, if it's going to take more than 5 minutes to send out the emails..&lt;/p&gt; 

&lt;p class="whs3"&gt;&lt;b&gt;Port Access:&lt;/b&gt;&lt;/p&gt;
&lt;p class="whs2"&gt;
In a Shared Hosting environment, where everyone shares the same IP, some ports must be blocked. We block access to certain ports to help avoid having security holes in the firewall, and to allow us to monitor and control customers who attempt to abuse the different services that we allow to run through these ports. The majority of processes requiring specific Port Access typically are bound to the IP address which they are running on. On a shared IP only one service could run through a specific port from that IP. We have only opened the ports for processes which we are running on our servers (web mail, cPanel, etc.). Purchasing a dedicated IP will allow us to grant you access to the ports you will need to run your specific services on. This applies to both outbound and inbound connections running on non-standard ports. If you have a dedicated IP and require ports to be opened, please contact us via &lt;a href="http://bluehost.com/contact_us.html" style="color: rgb(255, 0, 0); font-weight: bold; text-decoration: underline;"&gt;Phone&lt;/a&gt;, &lt;a href="http://www.bluehost.com/chat" style="color: rgb(255, 0, 0); font-weight: bold; text-decoration: underline;"&gt;Live Chat&lt;/a&gt; or by &lt;a href="http://helpdesk.bluehost.com/index.php/contact" style="color: rgb(255, 0, 0); font-weight: bold; text-decoration: underline;"&gt;Opening a Ticket&lt;/a&gt;.&lt;/p&gt;


&lt;p class="whs3"&gt;&lt;B&gt;Alternative Options:&lt;/B&gt;&lt;/p&gt;
&lt;p class="whs2"&gt;There are two ways you can get around purchasing a Dedicated IP &amp; Private SSL.&lt;/p&gt;
&lt;p class="whs2"&gt;&lt;B&gt;1.&lt;/B&gt; The first is by using a PayPal shopping cart or an alternative shopping cart that is hosted by another company off of your site. Your main site would still be hosted with Bluehost. However when someone goes to pay they would be redirected to the company you choose to host your shopping cart. Most businesses and customers don't like the idea of sending or being sent to a new web site address to complete transactions.&lt;/p&gt;
&lt;p class="whs2"&gt; &lt;B&gt;2.&lt;/B&gt; The second is by using the Bluehost Shared SSL. This is a free SSL.  The Shared SSL carries all the same levels of encryption and security that a 
Private SSL carries but there is a big difference. To use your SSL certificate you would point your hyperlinks that you want to be secure to &lt;B&gt;https://secure.bluehost.com/~yourunixusername&lt;/B&gt;. When your customers look at the URL or examine the validity of the Shared Certificate they will see that it belongs to Bluehost instead of to your specific site. This tends to cause anxiety for most customers or at least raise a flag of caution. For the sake of professionalism most companies will opt to purchase a Private SSL.&lt;/p&gt;
&lt;p class="whs3"&gt;Note: You cannot use the shared SSL Cert if you have purchased a dedicated IP, only when you are on the shared IP.&lt;/p&gt;
&lt;p class="whs3"&gt;&lt;B&gt;Purchasing a Dedicated IP &amp; Private SSL:&lt;/B&gt;&lt;/p&gt;
&lt;p class="whs2"&gt; There you have it! If you would like to purchase a Dedicated IP or a Private SSL Certificate please see our article on &lt;a href="http://helpdesk.bluehost.com/index.php/kb/article/000425" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;Purchasing a Dedicated IP Address &amp; Private SSL&lt;/a&gt;.&lt;/p&gt;


&lt;/blockquote&gt;
&lt;b&gt;Keywords:&lt;/b&gt; Shared vs. Dedicated IP's, Port Access &amp;amp; shared SSL Cert.'s Secure Socket Layer  Certificates</description><link>http://helpdesk.bluehost.com/index.php/kb/article/426</link><pubDate>Sun, 25 Oct 2009 17:23:34 GMT</pubDate><guid isPermaLink="false">33efaa20ae89216caa9143fe893328cf</guid></item><item><title>PHP with FastCGI</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;

What is FastCGI for PHP?

&lt;/blockquote&gt;

&lt;h2&gt;Solution:&lt;/h2&gt;

&lt;blockquote&gt;
  &lt;p&gt;FastCGI for PHP makes all your PHP applications run through mod_fcgid instead of mod_suphp. FastCGI applications are fast because they're persistent.  There is no per-request startup and initialization overhead.  This makes possible the development of applications which would otherwise be impractical within the CGI paradigm (e.g. a huge PHP script, or an application which requires a connection to one or more databases).   &lt;/p&gt;
  &lt;p&gt;&lt;strong&gt;Benefits:&lt;/strong&gt;&lt;/p&gt;
  &lt;ul type="disc"&gt;&lt;li&gt;PHP scripts will run faster. The PHP interpreter is loaded into memory rather than calling from storage for every hit, greatly improving performance of your scripted site. &lt;/li&gt;
    &lt;li&gt;You will use less Server Resources. Since the server does not have load the PHP interpreter for each hit, you will be able to accommodate a higher traffic site without exceeding your CPU quota. &lt;/li&gt;
    &lt;li&gt;NO modifications to your existing   code are required. Everything you   currently run will work with FastCGI for PHP. &lt;/li&gt;
  &lt;/ul&gt;
  &lt;p&gt;&lt;strong&gt;Potential   Problems:&lt;/strong&gt;&lt;/p&gt;
  &lt;ul type="disc"&gt;&lt;li&gt;You will only have one php.ini file available for all subdirectories (/home/USERNAME/public_html/php.ini). This is necessary to help optimize the website code as much as possible. If you need multiple php.ini files to accommodate different scripting needs, you can disable FastCGI for PHP on any of your subdirectories while leaving the rest of the account enabled for performance. Contact us via &lt;a href="http://bluehost.com/contact_us.html" style="color: rgb(255, 0, 0); font-weight: bold; text-decoration: underline;"&gt;Phone&lt;/a&gt;, &lt;a href="http://www.bluehost.com/chat" style="color: rgb(255, 0, 0); font-weight: bold; text-decoration: underline;"&gt;Live Chat&lt;/a&gt; or by &lt;a href="http://helpdesk.bluehost.com/index.php/contact" style="color: rgb(255, 0, 0); font-weight: bold; text-decoration: underline;"&gt;Opening a Ticket&lt;/a&gt; for further assistance. &lt;/li&gt;
    &lt;li&gt;There can be a few minute delay in any updates you make to your PHP environment (ie, php.ini changes). Since your php.ini is loaded into memory for greater speed, every hit does not re-read it from storage. &lt;/li&gt;
  &lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;To Enable FastCGI:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Login to your Bluehost cPanel and click the PHP Config icon under software/services.&lt;/li&gt;
&lt;li&gt;Select PHP5 (FastCGI)&lt;/li&gt;
&lt;li&gt;Click Save Changes.&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;b&gt;Keywords:&lt;/b&gt; fastcgi php scripting acceleration</description><link>http://helpdesk.bluehost.com/index.php/kb/article/406</link><pubDate>Sun, 25 Oct 2009 16:55:52 GMT</pubDate><guid isPermaLink="false">28357f8fcf883c0c73eed9edd5da41e2</guid></item><item><title>Payment Types Accepted</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt; Do you accept payment other than Credit Cards? &lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;b&gt;Bluehost.Com&lt;/b&gt; accepts all major Credit Cards (Visa, Master Card, American Express, Discover), PayPal, Checks (U.S. Only) and Money Orders.&lt;/p&gt;
&lt;p&gt;When sending checks and money orders be sure to include the following information:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;First &amp;amp; Last Name&lt;/li&gt;
	&lt;li&gt;Company Name (optional)&lt;/li&gt;
	&lt;li&gt;Billing Address&lt;/li&gt;
	&lt;li&gt;Phone Number&lt;/li&gt;
	&lt;li&gt;Valid Email Address&lt;/li&gt;
	&lt;li&gt;Domain Name [new or if transferring your current domain]&lt;/li&gt;
	&lt;li&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Domain Privacy&lt;/span&gt;&lt;/b&gt; [state yes or no]  if yes please change the amount. Call us to verify cost for privacy.&lt;/li&gt;
	&lt;li&gt;&lt;a href="https://www.bluehost.com/terms_of_service.html" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;Terms of Service&lt;/a&gt; [state you read &amp;amp; agree]&lt;/li&gt;
	&lt;li&gt;&lt;b&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Package Type&lt;/span&gt;&lt;/b&gt; [24 or 12 month account]&lt;/li&gt;
	&lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;b&gt;Password&lt;/b&gt;&lt;/span&gt; [for administrative control panel]&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Checks and money orders are only accepted for 1 year or longer plans.&lt;/p&gt;
&lt;p&gt;&lt;b&gt; Mailing Address&lt;/b&gt;:&lt;br&gt;
Bluehost.com&lt;br&gt;
1958 South 950 East&lt;br&gt;
Provo, Utah 84606&lt;/p&gt;
&lt;p&gt;We will contact you when payment has been received.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;b&gt;Keywords:&lt;/b&gt; Payment Types how to pay credit money order check do you accept other Pay Pal&lt;/p&gt;</description><link>http://helpdesk.bluehost.com/index.php/kb/article/441</link><pubDate>Sun, 25 Oct 2009 16:05:54 GMT</pubDate><guid isPermaLink="false">c5ec230e1685bc1419985548dc975ec4</guid></item><item><title>How to change the Primary Domain</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;
How can I change the Main Domain Name or How can I Rename an Addon Domain to Main Domain?
&lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;
Changing the primary domain of your account is something we would be happy to help with. Before contacting us to make the change, please review the following information regarding renaming an account:

&lt;ul&gt;
&lt;li&gt;The current main domain can never become your main domain again.&lt;/li&gt;
&lt;li&gt;The current account's username, password, files, databases and e-mails will remain unchanged.&lt;/li&gt;
&lt;li&gt;The new primary domain will point to the public_html directory itself, the same way your main domain does currently.&lt;/li&gt;
&lt;li&gt;The website files may need to be moved into and out of the public_html directory to corespond with the new primary domain and assignment of the old primary domain to a subfolder.&lt;/li&gt;
&lt;li&gt;Although renaming an account should not move or delete any files on your account, we do recommend creating/downloading a backup of all files and databases prior to requesting the rename. Please &lt;a href="http://helpdesk.bluehost.com/index.php/kb/article/000147" style='color: rgb(255, 0, 0);font-weight: bold;text-decoration: underline; '&gt;Click Here&lt;/a&gt; for information about creating and downloading backups.&lt;/li&gt;
&lt;li&gt;The new primary domain must be registered to you. If needed, you may register new domains for $10 each, per year, via your Bluehost Domain Manager tab at the top of your cPanel.&lt;/li&gt;
&lt;/ul&gt;
When you are ready to have your account renamed, simply contact us via &lt;a href="http://bluehost.com/contact_us.html" style="color: rgb(255, 0, 0); font-weight: bold; text-decoration: underline;"&gt;Phone&lt;/a&gt;, &lt;a href="http://www.bluehost.com/chat" style="color: rgb(255, 0, 0); font-weight: bold; text-decoration: underline;"&gt;Live Chat&lt;/a&gt; or by &lt;a href="http://helpdesk.bluehost.com/index.php/contact" style="color: rgb(255, 0, 0); font-weight: bold; text-decoration: underline;"&gt;Opening a Ticket&lt;/a&gt; and request the rename. Be sure to include the following information to expedite your request:
&lt;ul&gt;
&lt;li&gt;Primary Domain:&lt;/li&gt;
&lt;li&gt;New Primary Domain:&lt;/li&gt;
&lt;li&gt;Last 4 digits of the credit card on file or cPanel password:&lt;/li&gt;
&lt;li&gt;I already own the new primary domain:&lt;/li&gt;
&lt;li&gt;I have read and understand the account rename information including: my username will not change, I cannot rename the account back to the same domain, I have backed up my files/databases in case there is any data lost during the rename process:&lt;/li&gt;
&lt;/ul&gt;

&lt;span style='color: rgb(255, 0, 0);'&gt;Note:&lt;/span&gt; Newly registered domains can only be cancelled within 3 days of purchase. If you would like your primary domain released and refunded as part of the rename process, please indicate this in your rename request.

&lt;/blockquote&gt;
&lt;b&gt;Keywords:&lt;/b&gt; Domain Registration Renewal Hosting Expired Renewing Redemption Auth Code ADDON DOMAINS EPP DNS NAME SERVERS RENAME NEW REPLACE&lt;/p&gt;</description><link>http://helpdesk.bluehost.com/index.php/kb/article/345</link><pubDate>Sun, 25 Oct 2009 17:01:46 GMT</pubDate><guid isPermaLink="false">4a5961966862414d499871d80c1582b8</guid></item><item><title>Canceling the Hosting Account</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt; How do I cancel my account? &lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;  Please contact the billing department via &lt;a href="http://bluehost.com/contact_us.html" style="color: rgb(255, 0, 0); font-weight: bold; text-decoration: underline;"&gt;Phone&lt;/a&gt; or by &lt;a href="http://helpdesk.bluehost.com/index.php/contact" style="color: rgb(255, 0, 0); font-weight: bold; text-decoration: underline;"&gt;Opening a Ticket&lt;/a&gt; to request the cancellation.
&lt;p&gt;We provide a 30-day money back guarantee.  If you cancel after this time period, we will credit you back the pro-rated amount of service left on your account.&lt;/p&gt;
&lt;span style="color: rgb(255, 0, 0);"&gt;Note:&lt;/span&gt;   If you received a free domain name from us during your signup and cancel anytime after the first three days, there will be a $10.00 charge for that domain registration, which will be your domain name to keep for 1 year. The remaining balance will be refunded to the current credit card on file. If you paid via Check or PayPal your funds will be refunded using that method.   &lt;/blockquote&gt;
&lt;p&gt;&lt;b&gt;Keywords:&lt;/b&gt;  cancel credit prorate pro-rate 30-day guarantee&lt;/p&gt;</description><link>http://helpdesk.bluehost.com/index.php/kb/article/122</link><pubDate>Sun, 25 Oct 2009 17:03:36 GMT</pubDate><guid isPermaLink="false">7421c04a7e99f2be064e2cc334a7d180</guid></item><item><title>Create an FTP Account</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;
  How do I create a FTP account
&lt;/blockquote&gt;

&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;

Follow these steps:
&lt;ol&gt;
  &lt;li&gt;Login to your control panel http://YourDomain.com/cpanel/&lt;/li&gt;
  &lt;li&gt;Choose 'FTP Accounts'&lt;/li&gt;
  &lt;li&gt;Enter a Login: username&lt;/li&gt;
  &lt;li&gt;Enter the Password as needed:&lt;/li&gt;
  &lt;li&gt;Choose the Directory you'd like them to have access to. &lt;/li&gt;
&lt;/ol&gt;
&lt;span style='color: rgb(255, 0, 0);'&gt;Note:&lt;/span&gt;  If you leave the directory blank or enter '/', this will give root access (/public_html) of all the hosting files.  Usually the path is public_html/ for the main/primary domain and public_html/addondomain for an addon domain.

&lt;/blockquote&gt;

&lt;strong&gt;Keywords:&lt;/strong&gt; FTP setup</description><link>http://helpdesk.bluehost.com/index.php/kb/article/7</link><pubDate>Tue, 06 Oct 2009 16:21:50 GMT</pubDate><guid isPermaLink="false">4259181462fce995f9b0e07a88cd7f8d</guid></item><item><title>SSH Commands</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;
  Here is a good list of basic SSH commands.
&lt;/blockquote&gt;

&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt;
&lt;strongCommon SSH Commands or Linux Shell Commands:&lt;/strong&gt;
&lt;p&gt;ls : &lt;em&gt;list files/directories in a directory, comparable to dir in windows/dos.&lt;/em&gt;&lt;br&gt;
  ls -al : &lt;em&gt;shows all files (including ones that start with a period), directories, and details attributes for each file.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;cd : &lt;em&gt;change directory&lt;/em&gt; &lt;br&gt;
cd /usr/local/apache : &lt;em&gt;go to /usr/local/apache/ directory&lt;/em&gt;&lt;br&gt;
  cd ~ : &lt;em&gt;go to your home directory&lt;/em&gt;&lt;br&gt;
  cd - : &lt;em&gt;go to the last directory you were in&lt;/em&gt;&lt;br&gt;
cd .. : &lt;em&gt;go up a directory&lt;/em&gt; &lt;/p&gt;
&lt;p&gt;cat : &lt;em&gt;print file contents to the screen&lt;/em&gt;&lt;br&gt;
  cat filename.txt : &lt;em&gt;cat the contents of filename.txt to your screen&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;tail : &lt;em&gt;like cat, but only reads the end of the file&lt;/em&gt;&lt;br&gt;
  tail /var/log/messages : &lt;em&gt;see the last 20 (by default) lines of /var/log/messages&lt;/em&gt;&lt;br&gt;
  tail -f /var/log/messages : &lt;em&gt;watch the file continuously, while it's being updated&lt;/em&gt;&lt;br&gt;
  tail -200 /var/log/messages : &lt;em&gt;print the last 200 lines of the file to the screen&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;more : &lt;em&gt;like cat, but opens the file one screen at a time rather than all at once&lt;/em&gt;&lt;br&gt;
  more /etc/userdomains : &lt;em&gt;browse through the userdomains file. &lt;br&gt;
  hit Space to go to the next page, q to quit&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;pico : &lt;em&gt;friendly, easy to use file editor&lt;/em&gt;&lt;br&gt;
  pico /home/burst/public_html/index.html : &lt;em&gt;edit the index page for the user's website.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;vi : &lt;em&gt;another editor, tons of features&lt;/em&gt;&lt;br&gt;
vi /home/burst/public_html/index.html : &lt;em&gt;edit the index page for the user's website.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;grep : &lt;em&gt;looks for patterns in files&lt;/em&gt;&lt;br&gt;
  grep root /etc/passwd : &lt;em&gt;shows all matches of root in /etc/passwd&lt;/em&gt;&lt;br&gt;
  grep -v root /etc/passwd : &lt;em&gt;shows all lines that do not match root&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;touch : &lt;em&gt;create an empty file&lt;/em&gt;&lt;br&gt;
  touch /home/burst/public_html/404.html : &lt;em&gt;create an empty file called 404.html in the directory /home/burst/public_html/&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;ln : &lt;em&gt;create's &amp;quot;links&amp;quot; between files and directories&lt;/em&gt;&lt;br&gt;
  ln -s /home/username/tmp/webalizer webstats: &lt;em&gt;Now you can display http://www.yourdomain.com/webstats to show your webalizer stats online.  You can delete the symlink (webstats) and it will not delete the original stats on the server.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;rm : &lt;em&gt;delete a file&lt;/em&gt;&lt;br&gt;
  rm filename.txt : &lt;em&gt;deletes filename.txt, will more than likely ask if you really want to delete it&lt;/em&gt;&lt;br&gt;
  rm -f filename.txt : &lt;em&gt;deletes filename.txt, will not ask for confirmation before deleting.&lt;/em&gt;&lt;br&gt;
  rm -rf tmp/ : &lt;em&gt;recursively deletes the directory tmp, and all files in it, including subdirectories. BE VERY CAREFULL WITH THIS COMMAND!!!&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;last : &lt;em&gt;shows who logged in and when&lt;/em&gt;&lt;br&gt;
  last -20 : &lt;em&gt;shows only the last 20 logins&lt;/em&gt;&lt;br&gt;
  last -20 -a : &lt;em&gt;shows last 20 logins, with the hostname in the last field&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;w : &lt;em&gt;shows who is currently logged in and where they are logged in from.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;netstat : &lt;em&gt;shows all current network connections.&lt;/em&gt;&lt;br&gt;
  netstat -an : &lt;em&gt;shows all connections to the server, the source and destination ips and ports.&lt;/em&gt;&lt;br&gt;
  netstat -rn : &lt;em&gt;shows routing table for all ips bound to the server.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;top : &lt;em&gt;shows live system processes in a nice table, memory information, uptime and other useful info. &lt;/em&gt;&lt;br&gt;
  This is excellent for managing your system processes, resources and ensure everything is working fine and your server isn't bogged down.&lt;br&gt;
top &lt;br&gt;
Shift + M to sort by memory usage&lt;br&gt;
Shift + P to sort by CPU usage&lt;/p&gt;
&lt;p&gt;ps: &lt;em&gt;ps is short for process status, which is similar to the top command. It's used to show currently running processes and their PID.&lt;/em&gt;&lt;br&gt;
  A process ID is a unique number that identifies a process, with that you can kill or terminate a running program on your server (see kill command).&lt;br&gt;
  ps U username : &lt;em&gt;shows processes for a certain user&lt;/em&gt;&lt;br&gt;
  ps aux : &lt;em&gt;shows all system processes&lt;/em&gt;&lt;br&gt;
ps aux --forest : &lt;em&gt;shows all system processes like the above but organizes in a hierarchy that's very useful!&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;file : &lt;em&gt;attempts to guess what type of file a file is by looking at it's content.&lt;/em&gt;&lt;br&gt;
  file * : &lt;em&gt;prints out a list of all files/directories in a directory&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;du : &lt;em&gt;shows disk usage.&lt;/em&gt;&lt;br&gt;
  du -sh : &lt;em&gt;shows a summary, in human-readble form, of total disk space used in the current directory, including subdirectories.&lt;/em&gt;&lt;br&gt;
  du -sh * : &lt;em&gt;same thing, but for each file and directory. helpful when finding large files taking up space.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;wc : &lt;em&gt;word count&lt;/em&gt;&lt;br&gt;
  wc -l filename.txt : &lt;em&gt;tells how many lines are in filename.txt&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;cp : &lt;em&gt;copy a file&lt;/em&gt;&lt;br&gt;
  cp filename filename.backup : &lt;em&gt;copies filename to filename.backup&lt;/em&gt;&lt;br&gt;
  cp -a /home/burst/new_design/* /home/burst/public_html/ : &lt;em&gt;copies all files, retaining permissions form one directory to another.&lt;/em&gt;&lt;br&gt;
  find * -type d|xargs -i cp --verbose php.ini {} : &lt;em&gt;copies your php.ini file into all directories recursively.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;kill: &lt;em&gt;terminate a system process&lt;/em&gt;&lt;br&gt;
  kill -9 PID EG: kill -9 431&lt;br&gt;
  kill PID EG: kill 10550&lt;br&gt;
  &lt;em&gt;Use top or ps ux to get system PIDs (Process IDs)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;EG:&lt;/p&gt;
&lt;p&gt;PID  TTY  TIME  COMMAND&lt;br&gt;
  10550  pts/3  0:01  /bin/csh&lt;br&gt;
  10574  pts/4  0:02  /bin/csh&lt;br&gt;
  10590  pts/4  0:09  APP&lt;/p&gt;
&lt;p&gt;Each line represents one process, with a process being loosely defined as a running instance of a program. The column headed PID (process ID) shows the assigned process numbers of the processes. The heading COMMAND shows the location of the executed process.&lt;/p&gt;
&lt;p&gt;Putting commands together&lt;br&gt;
  Often you will find you need to use different commands on the same line. Here are some examples. Note that the | character is called a pipe, it takes date from one program and pipes it to another.&lt;br&gt;
  &amp;gt; &lt;em&gt;means create a new file, overwriting any content already there.&lt;/em&gt;&lt;br&gt;
  &amp;gt;&amp;gt; &lt;em&gt;means tp append data to a file, creating a newone if it doesn not already exist.&lt;/em&gt;&lt;br&gt;
  &amp;lt; &lt;em&gt;send input from a file back into a command.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;grep User /usr/local/apache/conf/httpd.conf |more&lt;br&gt;
  &lt;em&gt;This will dump all lines that match User from the httpd.conf, then print the results to your screen one page at a time.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;last -a &amp;gt; /root/lastlogins.tmp&lt;br&gt;
  &lt;em&gt;This will print all the current login history to a file called lastlogins.tmp in /root/&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;tail -10000 /var/log/exim_mainlog |grep domain.com |more&lt;br&gt;
  &lt;em&gt;This will grab the last 10,000 lines from /var/log/exim_mainlog, find all occurances of domain.com &lt;br&gt;
  (the period represents 'anything', comment it out with a so it will be interpretted literally), then send it to your screen page by page.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;netstat -an |grep :80 |wc -l&lt;br&gt;
  &lt;em&gt;Show how many active connections there are to apache (httpd runs on port 80)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;mysqladmin processlist |wc -l&lt;br&gt;
  &lt;em&gt;Show how many current open connections there are to mysql&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;mysqldump -u username -p dbname &amp;gt; file.sql&lt;br&gt;
  &lt;em&gt;MySQL Dump&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;mysql -u username -p database_name &amp;lt;file.sql&lt;br&gt;
&lt;em&gt;Importing MySQL database&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;tar -zxvf file.tar.gz&lt;br&gt;
&lt;em&gt;UnTAR file&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;which [perl]&lt;br&gt;
  &lt;em&gt;Finding path to [perl]&lt;/em&gt;&lt;/p&gt;

&lt;/blockquote&gt;
&lt;b&gt;Keywords:&lt;/b&gt; SSH Commands</description><link>http://helpdesk.bluehost.com/index.php/kb/article/203</link><pubDate>Mon, 05 Oct 2009 17:00:41 GMT</pubDate><guid isPermaLink="false">374c854b38575a7ac7c01ad83f811601</guid></item><item><title>IonCube Installation</title><description>&lt;h2&gt;Problem:&lt;/h2&gt;
&lt;blockquote&gt;  How do I install Ioncube into a Bluehost hosting account?  &lt;/blockquote&gt;
&lt;h2&gt;Solution:&lt;/h2&gt;
&lt;blockquote&gt; Ioncube is already installed on all of our servers.  Before your scripts may use Ioncube, you will need to generate a new php.ini file with Ioncube already configured:

&lt;ol&gt;
	&lt;li&gt;Login to your control panel&lt;/li&gt;
	&lt;li&gt;Choose &amp;quot;PHP Config&amp;quot;&lt;/li&gt;
	&lt;li&gt;Check the box labeled &amp;quot;IonCube&amp;quot; under &amp;quot;Install Default php.ini&amp;quot;&lt;/li&gt;
	&lt;li&gt;Click &amp;quot;INSTALL PHP.INI FILE&amp;quot;
&lt;br&gt;This will a place php.ini file with the name of php.ini.default in your public_html folder.&lt;/li&gt;
	&lt;li&gt;Rename the file from &amp;quot;php.ini.default&amp;quot; to be &amp;quot;php.ini&amp;quot; and place into whichever folder you need IonCube installed.&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;b&gt;Keywords:&lt;/b&gt; Ioncube zend php extension encoder ion cube</description><link>http://helpdesk.bluehost.com/index.php/kb/article/149</link><pubDate>Thu, 08 Oct 2009 11:49:04 GMT</pubDate><guid isPermaLink="false">a0800d12fbd1947a335714632ab49d47</guid></item></channel></rss>
