cPanel Tutorials

Where to upload files for an add-on domain

Monday, May 14th, 2007

Once you have added the domain name in the Addon Domains section inside your cpanel. A directory will automatically be created inside of your /public_html directory.

Ex. The Addon domain is test123.com.
When you add it, it will show up as /public_html/test123. Everything should now be uploaded inside this directory for that addon domain name that was created.

Note: In order for this to function correctly and for the site to be viewed, the DNS must match as the primary domain names DNS.

Share this site! Click on the a link below: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Slashdot
  • De.lirio.us
  • Technorati
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • blogmarks
  • YahooMyWeb
  • BlogMemes
  • Book.mark.hu
  • Bumpzee
  • Fleck
  • Furl
  • IndianPad
  • Netscape
  • Reddit
  • Spurl
  • blogtercimlap
  • Gwar
  • connotea
  • DotNetKicks
  • Fark
  • SphereIt

How to change permissions for files in cpanel

Monday, May 14th, 2007

How do I change permissions on folders and files?
1. Login in to “cPanel” at http://your-domain/cpanel
2. Click on File Manager
3. Select the file name to be changed
4. Look at the list of options on the top right side of the page
5. Choose ‘Change Permissions’
6. You’ll see options to either change the read-write-execute settings, or to edit the chmod numerical setting directly.
7. Make changes
8. Click Change

Share this site! Click on the a link below: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Slashdot
  • De.lirio.us
  • Technorati
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • blogmarks
  • YahooMyWeb
  • BlogMemes
  • Book.mark.hu
  • Bumpzee
  • Fleck
  • Furl
  • IndianPad
  • Netscape
  • Reddit
  • Spurl
  • blogtercimlap
  • Gwar
  • connotea
  • DotNetKicks
  • Fark
  • SphereIt

What comes in fantastico?

Monday, May 14th, 2007
This page contains all of the current scripts provided in fantastico.  Customers can access fantastico by logging into cpanel and click the fantastico icon at the bottom of the page.
http://netenberg.com/fantastico_scripts.php
Share this site! Click on the a link below: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Slashdot
  • De.lirio.us
  • Technorati
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • blogmarks
  • YahooMyWeb
  • BlogMemes
  • Book.mark.hu
  • Bumpzee
  • Fleck
  • Furl
  • IndianPad
  • Netscape
  • Reddit
  • Spurl
  • blogtercimlap
  • Gwar
  • connotea
  • DotNetKicks
  • Fark
  • SphereIt

What is a cron job

Monday, May 14th, 2007
A linux command for scheduling jobs to be executed sometime in the future. A cron is normally used to schedule a job that is executed periodically - for example, to send out a notice every morning.

What you need to know

1. To setup a cron goto Cpanel>click cron jobs>choose basic

2. Customers are not allowed to run a cron job in less than 15 minute intervals

3. If the customer is getting errors about the get command they need to email support requesting access

The most common uses I’ve seen cron jobs since I’ve been at hostgator is to update their RSS feed daily or a billing software that tries to suspend account at a certain time each night.

http://en.wikipedia.org/wiki/Crontab

http://www.unixgeeks.org/security/newbie/unix/cron-1.html

Share this site! Click on the a link below: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Slashdot
  • De.lirio.us
  • Technorati
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • blogmarks
  • YahooMyWeb
  • BlogMemes
  • Book.mark.hu
  • Bumpzee
  • Fleck
  • Furl
  • IndianPad
  • Netscape
  • Reddit
  • Spurl
  • blogtercimlap
  • Gwar
  • connotea
  • DotNetKicks
  • Fark
  • SphereIt

Password protect a web site directory using .htaccess

Sunday, May 6th, 2007

1. Login to your server via SSH and “su -” to root (do not forget the - after su).

2. Create the .htpasswd file. We are going to create it above your web root to make sure noone has the ability to download it from the web.

**note: only use -c for adding the first user**

# htpasswd -c /home/testuser/.htpasswd testuser
New password:
Re-type new password:
Adding password for user testuser

3. Open /etc/httpd/conf/httpd.conf in your favorite editor and find the VirtualHost section for your domain. You will need to add the following lines to your VirtualHost section:


AuthType Basic
AuthName ” Protected Area ”
AuthUserFile /home/testuser/.htpasswd
require valid-user

4. Restart Apache with:

# service httpd restart

Share this site! Click on the a link below: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Slashdot
  • De.lirio.us
  • Technorati
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • blogmarks
  • YahooMyWeb
  • BlogMemes
  • Book.mark.hu
  • Bumpzee
  • Fleck
  • Furl
  • IndianPad
  • Netscape
  • Reddit
  • Spurl
  • blogtercimlap
  • Gwar
  • connotea
  • DotNetKicks
  • Fark
  • SphereIt