Friday, October 30, 2015

How to Generate a Full Backup in cPanel ?

                 How to Generate a Full Backup in cPanel, And then Download it to your Local Machine ? A full cPanel backup makes a copy of all of your files, email, databases, etc. Once initiated, you must allow the backup time to perform. The server can send you an email to an address you specify once the backup is ready to download. The steps for generating, downloading and restoring a full backup are explained in detail below.

How to generate a full backup in cPanel ?

1. Log into cPanel.
2. In the Files section, click on the Backups icon.
3. Under Full Backup, click Generate/ Download a Full Website Backup.
4. On the next page, select the Home Directory option from the Backup Destination drop-down menu.
5. For Email Address, select whether or not you wish to receive an email notification once the backup is complete. (You may also change the notification email address in the provided field if you wish.)
6. Click Generate Backup.

This will generate the back up for you and place the tar.gz file inside of your home directory. You can then download the backup via cPanel, FTP or SSH.

How to download the backup from cPanel ?

1. Log into cPanel.
2. In the Files section, click on the Backups icon.
3. Under Full Backup, click Generate/ Download a Full Website Backup.
4. Under Backups Available for Download, click the link for the backup file you wish to download.
5. Select a destination on your PC where you would like to save the backup.

How to Restore a Full Backup ?
A full backup must be restored by the root user for the server. Please contact hosting provider if you have shared hosting.

Tuesday, October 27, 2015

What is HOT Linking ! How to use Hotlink Protection ?



                Hoy Link protection prevents other websites from directly linking to files and pictures on our website. Other sites will only be able to link to file types that we do not specify.

An example of hot linking. Say I like the image on your website, and I want that image on my site. If I use the full URL of your image on my site, then the image is downloading from your site every time someone looks at my site. This means I am using your bandwidth for the image. When you enable Hot Link Protection, then I cannot steal your bandwidth any more.

To enable OR disable hot link protection, please do the following:
1> Login to cPanel and click HotLink Protection.
2> Make sure the domain name you wish to protect is in the box called "URLs to allow access".
3> In the box called "Block direct access for these extensions", provide the extensions for which you would like to block.
4> We suggest you check the box for "Allow direct requests".
5> Skip the "Redirect request to this URL" box and hit Submit.

Now we have protected our images from being hot-linked. Just be sure that all of our additional domains are in the Hot Link list.

Managing currencies in OS commerce

Thursday, October 22, 2015

Configuring osCommerce store options from Admin Panel.



Configuring Os Commerce store options. Os Commerce is popular CMS using for Online store to sale your produce.

Wednesday, October 21, 2015

How to Install phpList in to webserver and Manually setup in website.

                 
vijendrasikhwal.blogspot.com
phpList is Open Source software for sending email newsletters, marketing campaigns and announcements: you can send to millions or just to a few hundred. phpList is used for easy web based email marketing, and allows you to do direct email marketing to your users.


phpList lives in its own folder called "lists." Manual installation follows these steps:
Overview of phpList installation:-
  • Download phpList
  • Unzip phpList 
  • Upload to your server using FTP
  • Create a database
  • Add the database details to the config.php file
  • Configure using web interface. 

Download phpListFirst download the latest version of phpList from http://www.phplist.com/download by clicking either Download ZIP or Download TGZ

download phpList 

The link will take you to SourceForge, where your download will begin after a few seconds. Depending on which browser you use, you may be asked to click Save before the download starts.

Unzip phpList: Once you have downloaded phpList to your computer, unpack it to a temporary folder. You can usually do this by right clicking and choosing Extract Here (Linux, as in screenshot), double clicking the folder (mac) or right click "extract all" (Windows).

extracting phpList install using geddit on Linux

Upload to your server using ftpStart your favourite FTP program, in this case we are using FileZilla.Browse though to your temporary folder in the FTP program, then open the public_html folder to find the lists folder.

public_html folder phpList 
Upload this /lists folder into your public_html file on your server. This folder may have lots of files in it already. In the image below you can see the public_html folder on the server contains folders for a WordPress site. 
using filezilla to install phpList

Grab a Coffee!

This upload may take some time, you may even have to split it over a number of partial uploads depending on your connection speed, time outs and upload limits. 
uploading phpList via ftp 

Create a database using your control panel 

Once you have uploaded the /lists directory, go to your hosting control panel and create a database. If you need help, your web hosting company can help you with this.
Whatever the process, you will always end up with three things:
  • A database name, for example cl52-phplist
  • A database username, for example phplist
  • A password for your database, for example T!LcDaM/4

An example of creating a database 

These screenshots provide an example. This may or may not be similar to the way you can create a new database on your server. That depends entirely on which software your hosting company uses. 
First click MySQL Databases
cpanel MySQL Databases phpList install 
Then type in the new database name (we used the name phpList) and enter or generate a strong password. Make sure you keep a copy of these details!
chosing database username and password during phpList install
This system creates a user automatically, where the username is the same as the database name (a common preference). In other software you may need to add a new user separately and you may also need to allocate this user to your database.
Your database is now ready. Copy down the details because you will need them in a moment. 
creating a new database during phpList install 

Edit the phpList config.php file


Next, you need to put the details of your new database into your configuration file. 
Browse your temp folder on your computer and go to lists config > config.php. Load and edit this file in a text editor, such as Notepad (windows) TextEdit (mac) or Geany/Kate/Geddit/etc (linux). 
open phpList config.php in a text editor
Never use a word processor program (like Microsoft Word), it will only generate formatting and disruption.

Your freshly downloaded config.php should look something like this:
edit phpList config.php in a text editor
There are four places where you need to replace the word in "quotes" at the end of a line of code with something specific to your server: 

# what is your Mysql database server hostname
$database_host = "localhost";

If you do not know what to enter here, you will either need to use trial and error, or ask your hosting provider what to put here. If you want to keep things simple, ask your hosting provider.

Trial and error:

You may be lucky in that your server allows "localhost" for your $database_host entry,  in which case you don't need to make a change (this was true in our example below). The second option to try is "127.0.0.1".
If these fail you will receive an error towards the end of installation. If both of these fail then this entry must be something specific to your server. GoDaddy and 1&1 servers are pretty specific, for example.

# what is the name of the database we are using
$database_name = "phplistdb";

Replace the phplistdb with the name of your database that you set up earlier. In our example below this is cl52-phplist

# what user has access to this database
$database_user = "phplist";

Replace the phplist with the name of your databse user you set up earlier (this may be the same name as your database). In our example below this is also cl52-phplist.

# and what is the password to login to control the database
$database_password = 'phplist';

Replace the phplist with the password you created. The password in the example below is obscured.how to edit phpList config.php

Test mode in phpList: ("TEST",0)

One other thing you will need to do, either now or at some point in the future, is to change the value of TEST in this file. Until you do this, your install is essentially in "sandbox" mode, and will not fully function.
By default test is defined ("TEST",1). Change this to define ("TEST",0) to be able to send messages out.
This is done automatically in the auto installers.

Config_extended.php

You may need to add some extra lines to your config.php. These extra lines are ready made for you in config_extended.php, which is in the same directory as config.php. Simply copy the lines you need and paste them below the others in config.php 

Save and upload

Once you have edited the config.php file you need to save it and upload this new version to your server. This can be done in the same way as your initial upload: open your ftp client, find the lists/config/config.php file on your pc and then upload it to lists/config/config.php on your server.

Go to your installation

Open your web browser and go to your installation. This is located at http://mywebsite.co.uk/lists/admin.
If you get an error saying that the database has not connected, then check your config.php file again: a tiny error such as a space before/after your database name/password will stop this from working.
When you see the grey and black interface with the phpList logo at the top, you are in the right place.
phpList initialise database after install

The final steps

Click Initialise Database and fill out the form.
phpList initialise database name and password
Click Continue
phpList install complete sign up to announcements list
  • If you would like to email phpList to let us know you are using the software, click Tell us about it
  • We recommend that you sign up to receive email announcements about new versions of phpList. You can enter your email and click Subscribe. If you do not want to sign up, for example because you are already on the list, then click Do not subscribe.
Finally click to continue with phpList seutp.

phpList install complete continue with setup

You're done!

    You have now finished installation, and the next step is configuration.
    phpList installation complete

Installing osCommerce manually in Admin Panel



How to install Os Commerce in Linux server using CPanel. 

Saturday, October 10, 2015

What is an addon domain and how to create addon on main domain ?

What is an addon domain?

          An addon domain is a fully functional domain that will work out of a folder in your main sites ftp.
How do I create an addon domain?
          It says as a subdomain by creating the folder within your main sites ftp. Please ignore this! It is a fully functional domain name. It is only called a subdomain when in fact it is an addon domain.
Be carefully before doing this !
       
how to create addon ?
           You cannot create an addon domain if your DNS hasn't proprograted to the server already. So after you change the sites DNS you are trying to add you will need to wait 24-48 hours before attempting to create your addon domain. There are three fields cPanel asks for when creating an addon domain.
1. "New Domain Name:" You will put in the newdomain.com do not put www in the name!
2. "Username/directory/subdomain Name:" This will be the folder cPanel creates in your main accounts ftp. Be Sure that the name you give it doesn't already have a folder.
For Example... If you want to give it the username Vijendra. You cannot have a folder in your account named Vijendra already. If you do and still try creating the username for the addon domain to be Vijendra you will mess a lot of things up!!!
3. "Password:" fill in any password you want here.

Sunday, October 4, 2015

Why website should need XML sitemap and HTML sitemap for good seo ranking?

               An HTML sitemap allows site visitors to easily navigate a website, It is a bulleted outline text version of the site navigation. The anchor text displayed in the outline is linked to the page it references. A Site visitors can go to the Sitemap to locate a topic they are unable to find by searching the site or navigating through the site menus.

 This Sitemap can also be created in XML format and submitted to search engines so they can crawl the website in a more effective manner.
 Using the Sitemap, search engines become aware of every page on the site, including any URL that are not discovered through the normal crawling process used by the engine. 
 The Sitemaps are helpful if a website has dynamic content. Newely content does not have many links to navigate, or lot of archived content that is not well-linked there then Sitemaps became very helpful. 

Editing admin settings in Photo Gallery.

Managing album permissions in Gallery.

Manage user in Photo Gallery

Editing your account information in Gallery.

Editing photos in Gallery.

Editing album properties in Photo Gallery.

Creating albums in Gallery.

Changing password i photo Gallery.

Adding Photos in Photo Gallery.