Archive for the ‘Reseller Web Hosting’ Category

db4 error

Saturday, November 26th, 2011

 

Error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch

Solution:  Remove the corrupted db file by ,

rm -f /var/lib/rpm/__db*

Then rebuild rpm database by command,

rpm –rebuilddb -v -v

That’s it. icon smile db4 error

 

 

Related Posts:

  • No Related Posts

Change php version through .htaccess

Thursday, November 24th, 2011

If there are two php versions compiled on server and you wish to use php version for your domain other than the default one then make the  use .htaccess for this.

For example default php version on server is set to php 4 then all domains by default will use php4.  But certain applications installed on a domain runs only under php5 then in that case it is necessary that domain should use php5

Open .htaccess by any suitable editor like vi, pico etc. Put the following code into it.

Server without suphp enabled

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

Server with suphp enabled

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

Same way you can enable php4 if the default php version is php5. Just put the php4 instead php5 in above code.

 

 

Related Posts:

  • No Related Posts

Activate cPanel license from shell

Thursday, November 24th, 2011
Limited Offer – FREE Hosting for Life!

Order any hosting package for a period of two years and get it FREE for life!

Many users experience the following error while accessing WHM/cPanel

License could not be activated.

Following are some reasons due to which this error can be occurred.

1)If server hostname has been changed

2)If primary IP of cPanel server for which cPanel license was activated, has been changed.

3)Server firewall.

Here are some basic steps to fix this error.

Verify that cPanel license is activated at http://verify.cpanel.net.

If link shows that WHM is licensed then verify server hostname , primary IP just to ensure if it hasn’t been changed. Correct the primary IP address , hostname if it found to be changed.  Stop/start server firewall.

If server IP, hostname is correct then check if server’s primary IP address match with the IP address of license. For that type the following command from shell.

curl http://www.cPanel.net/showip.cgi

If output gives other IP address then you need to license that IP.

If everything appears to be corrected then just activate cPanel license from command line.

[email protected] [~]# /usr/local/cpanel/cpkeyclt

Hope you shouldn’t see any error at this time.

 

 

 

 

Related Posts:

  • No Related Posts

Password protected directrories

Thursday, November 24th, 2011

Password protection restricts access to particular folder. Only authenticate users can access password protected folder.

 

Here are few steps with which you can enable password protection

 

1)Login to cPanel.

2)Click on icon Password Protect Directories. Directory Selection window will appear. 3)Click on radio button of web root and then click on Go button.

4)Click on folder name for which you wish to enable password protection.

5)Enable checkbox Password protect this directory.

6)Put proper name in the field Password protect this directory and click on save button.

 

Here you done with the password protection.

 

Now you need to add user with the password to access protected folder.

 

7)In the field username put username

8′) Then put the password in New password field, repeat the password  in Password (Again) field and then click on button Add/modify authorized user

Now try the URL just to confirm that password protection is working for desired folder. If you see username / password prompt then it indicate that password protection is enabled.

 

Quick steps to enable password protection from shell.

 

Create .htaccess file in folder which you wish to make it password protected and put the following content

 

AuthName “Restricted Area”
AuthType Basic
AuthUserFile /home/username/.htpasswd
<Limit GET POST PUT>
Require valid-user
</Limit>

 

Username should be cPanel user of the domain.

 

Now type the following command in shell to add username and password

 

htpasswd -c /home/username/.htpasswd testuser.

 

In apache 2.2 you may need to use absolute path of htpasswd, /usr/local/apache/bin/htpasswd

That will be prompted for new password. Put the desired password.

The newly username and password will be saved in /home/username/.htpasswd

Now open browser to access secure part of the webite just to ensure that you are prompted for username and password.

 

 

 

Related Posts:

  • No Related Posts

Wildcard DNS and Wildcard SSL

Wednesday, November 23rd, 2011

Wildcard SSL

A wildcard ssl use to secure not only primary domain but also multiple subdomains added on it. SSL certificates are usually issued to fully qualified domain names (FQDN), so if you want to access your domain at secure link with www and without www then you would need two separate SSL Certificates.
There is no need of separate ssl certificate for www.domain.com and domain.com if you purchase wildcard ssl.

You can access a domain with www or without www with the wildcard SSL.
Any subdomain added on it can be accessible at secure link with the same wild card ssl installed at primary domain.

Wildcard DNS

A wildcard DNS record redirects requests for non-existent domain names (Usually subdomains that are not exists) to primary domain name.
For example if you type xyz.domain.com it will redirects the requets to domain.com.

A wildcard DNS record is specified by using a *  as the leftmost part of a domain name, e.g. *.domain.com.

For wildcard ssl, domain should have wildcard dns enabled on it. Follow the few steps here and you will be able to enable wildcard dns for domain on cPanel server.

A typical dns zone file of any domain on cPanel server,

; cPanel 11.28.60-RELEASE_50962
; Zone file for domain.com
$TTL 600
@      600      IN      SOA     ns9.dns.com. admin.domain.com. (
2011020102      ; serial, todays date+todays
86400           ; refresh, seconds
7200            ; retry, seconds
3600000         ; expire, seconds
86400 )         ; minimum, seconds

domain.com. 600 IN NS ns9.dns.com.
domain.com. 600 IN NS ns10.dns.com.

domain.com. IN A x.x.x.x

localhost.domain.com. IN A 127.0.0.1

domain.com. IN MX 0 domain.com.

mail IN CNAME domain.com.
www IN CNAME domain.com.
ftp IN A x.x.x.x
cpanel IN A x.x.x.x
whm IN A x.x.x.x
webmail IN A x.x.x.x
webdisk IN A x.x.x.x

Open the dns zone file of domain by vi editir or from WHM >  Main >> DNS Functions >> Edit DNS Zone and simply add the entry

*.domain.com IN A x.x.x.x

Save the file and restart the named sevice.

Now one more change need to done in apache.conf but here you need to add one more entry in serveralias.

Open apache configuration file on server by vi editor as vi /usr/local/apache/conf/httpd.conf. Add serveralias for domain as
*.domain.com

<VirtualHost x.x.x.x:80>
ServerName domain.com
ServerAlias www.domain.com *.domain.com
DocumentRoot /home/cpanel_user/public_html
ServerAdmin [email protected]

Save the changes and restart apace server.  Once this done you are free to install wildcard ssl on domain

Related Posts:

  • No Related Posts

Reseller Hosting Plan

Tuesday, August 9th, 2011

A reseller web hosting plan is the ideal companion for a website designer that wishes to offer web hosting services alongside their initial product offerings, or those who wish to start their own web hosting businesses. As reseller web hosting is a form of shared web hosting, you can pick up reseller web hosting plans for a fairly low price meaning that if you do wish to start a web hosting company using a reseller web hosting plan then it will be fairly easy to make a quick profit. The only downside to using reseller web hosting is that the reliability of your web hosting account can’t always be guaranteed, but when you aren’t paying much for a web hosting plan it is important that you don’t come to expect too much of your chosen web hosting plan. Many web hosting companies are able to offer you the choice between Windows reseller hosting and Linux reseller hosting, allowing you to choose the platform that is most fitting to your needs with ease; however, you should note the price difference between Windows web hosting plans and Linux web hosting plans as this may affect your choice of platform. You should also review the different web hosting plans that are offered by different web hosting companies because different web hosting companies will be able to offer you additional features with their reseller hosting plans to enhance your web hosting experience; the additional extras will differ between web hosting companies so it is recommended that you have an idea of what is available.

Why should I choose a reseller hosting plan?

A reseller web hosting plan will be able to provide you with a number of different benefits if you find that it is the most suitable form of web hosting for your needs. Some of these benefits include:

  • Multiple client accounts – the main benefit of choosing a reseller web hosting plan is that if you are going to be hosting websites for other people, you can provide them with access to their own client control panel through which they will be able to manage their own website without the need for any assistance from yourself – most web hosting control panels that are able to offer reseller capabilities will include this function meaning that the client web hosting accounts created under your reseller hosting account will have complete isolation from one another and will allow you to assign each website its own resources to ensure that one of your web hosting accounts isn’t able to affect the operation of any of the others
  • Resource assignments – the resources provided with a reseller web hosting plan will far outweigh those that are offered with standard shared web hosting plans, making reseller hosting the best option for someone looking to host multiple websites under separate accounts – with a reseller web hosting account you will be able to apportion your resources amongst individual websites as you wish so that the resources provided to each website will reflect their demand – if you find that you eventually run out of resources with your reseller account then you can easily purchase additional disk space, bandwidth and other resources from your web hosting provider for use as you wish
  • Custom web hosting plans – most web hosting control panels will allow resellers to create custom web hosting plans based on the resources that they have available to use – when starting a web hosting business, it is important for you to be able to offer a range of web hosting plans to meet the needs of different businesses and individuals as well as the different price points that will affect these differentiating target audiences – once you have defined your custom web hosting plans you can then begin to provision web hosting accounts as you wish as you can create web hosting accounts that are going to be based on the same web hosting plan in bulk.

What are the disadvantages to using reseller web hosting plans?

There can be some disadvantages to using reseller web hosting plans, but the extent to which these will affect you is going to depend on what exactly you expect from your reseller web hosting account. Some of the possible disadvantages include:

  • Reliability – when you are using shared hosting it is important for you to never put too much weight on the uptime guarantee that has been provided to you by your web hosting provider because for the most part it is hard for web hosting companies to offer reliable shared web hosting services – when there are many websites hosted in a single hosting environment, it is almost impossible for web hosting companies to monitor the performance of each individual website meaning that sometimes one website may in fact use up more resources than it should be allowed to and this could cause issues with server performance
  • Security – as is the case with reliability, it is almost impossible for web hosting providers to guarantee the security of every individual website hosted in a shared web hosting environment because of the number of factors that could affect an individual website, including how well the website itself has been developed and coded – however, most web hosting companies will still take all the security measures they see as appropriate with their shared web hosting servers so that they can create the most secure web hosting environment possible given the circumstances.

In conclusion, a reseller web hosting plan is the ideal starting point for someone who wishes to start their own web hosting business or to host websites for others to any extent. Most web hosting providers are highly generous with the resources that they offer their reseller web hosting clients meaning that you needn’t worry about running out of disk space or bandwidth; even if you do run out of particular resources, you can easily purchase additional resources from your web hosting provider as you see fit so that you don’t have to upgrade your web hosting plan immediately.

Related Posts:

Why should I choose reseller web hosting?

Wednesday, May 25th, 2011

Reseller web hosting provides you with the services required to start your own web hosting business within a shared web hosting environment, removing the need to spend large sums of money on VPS servers and dedicated servers that you will also have the inconvenience of having to maintain. A reseller web hosting package will allow you to host multiple websites under separate accounts that can be managed by your reseller hosting account, allowing you to host a large number of individual clients under your reseller hosting plan with the only limitation being the resources that you have available to use with your web hosting account. When compared to VPS server hosting, a reseller web hosting plan may not be able to offer you as much when you consider the lack of a dedicated web hosting environment; however, for some a shared web hosting environment may be more desirable because for example, you may be a web designer that has no prior technical knowledge or any idea of how to manage a server environment properly. Although there isn’t that much difference in the price of a high-end reseller web hosting plan and a low-end VPS server, the resources of the VPS server are likely to be insufficient to host a large number of websites; however, the reseller web hosting plan is likely to provide more resources and will be able to host a large number of individual host accounts.

Custom Hosting Plans

As a reseller, it is important for you to be able to develop your own web hosting plans so that you are able to offer your own web hosting clients something different as this will allow for a more personalized service. If you choose to develop your own web hosting plans then these will dictate how many websites you are able to host under your reseller hosting account, unless you opt to enable overselling as this will allow you to sell more space than you have available.

Any good reseller web hosting plan will provide you with unlimited allocations of certain resources such as email accounts and FTP accounts as large numbers of these won’t have a massive impact on server performance. This will enable you to pass unlimited assignments on to your own web hosting clients, however you will need to be cautious with the resources that you provide with each web hosting plan so that you don’t end up over-estimating what clients are going to want for the price, but at the same time you will need to pitch them at levels that will provide your clients with good value for money.

Multiple Client Accounts

Reseller web hosting will provide you with the facility to create client accounts for the individual websites that you are going to be hosting under your reseller hosting account, removing the need for you to be in charge of managing multiple websites that you don’t own directly. This feature should be available with your reseller web hosting plan regardless of the web hosting control panel that you are using because it is a common feature with any reseller hosting account. The web hosting client accounts that you create can be created with individual specifications to meet the needs of each of your clients, or alternatively you can create client accounts based on pre-determined web hosting plans, if you are able to create individual plans as part of your reseller hosting account.

Most reseller web hosting accounts won’t have limits as to the number of client accounts that you can create, nor will the number of domains that you can host limit you. The only limit that you will have as a reseller is the resources, such as the amount of disk space and bandwidth that are at your disposal.

Cross Platform Hosting

Reseller web hosting packages are available hosted on both Windows servers and Linux servers, providing resellers with the opportunity to offer their own web hosting plans on both platforms. Web hosting customers like to have variety and it is for this reason that it is important for web hosting businesses of all sizes to embrace the two major platforms, as this will allow them to offer a wider array of services whilst increasing their customer base.

Although the web hosting control panels that are used by web hosting providers will differ on Linux and Windows, the principle of web hosting control panels remains the same meaning that it shouldn’t take too much effort to adjust from using one control panel to using another. Windows and Linux both have different features to offer, some of which are unique to the individual platforms; it is important for web hosting providers to realize that there will be a long-term need for both Windows and Linux hosting as all businesses and individuals will have different requirements.

Save Money

When compared to how much you will have to pay to receive a VPS server hosting service that will meet your needs to the same degree, reseller web hosting plans are fairly cheap and can provide excellent value for money. As well as being unmanaged, VPS servers are often unstable and unsecure when you first receive access to them and so you have to spend time securing your server and ensuring that the stable versions of the software that you are looking to use are installed; whereas with a reseller web hosting plan you won’t have to worry about any of this as it is all part and parcel of the web hosting service.

In conclusion, you should choose reseller web hosting if you are looking to offer your own web hosting services to others because it represents a solution that not only provides good value for money, but also is also better in the long run for those who lack technical knowledge. Most reseller web hosting packages are provided fully managed meaning that you will be able to rely on your web hosting provider’s support team to fix any issues that may arise with your web hosting service.

Related Posts:

Using Linux Hosting

Saturday, November 27th, 2010

Linux web hosting is the cheaper alternative to Windows web hosting and is the most basic entry-level form of web hosting you can consider if you wish to receive the best value for money from your chosen web hosting package. Linux shared hosting will offer you the cheapest web hosting packages available because it is an open source operating system meaning that web hosting companies don’t have to factor any operating system license fees into the prices of their Linux hosting services; it is also important to remember that the lower costs don’t mean that web hosting companies will skimp on either the resources available to you or the level of service that you are provided with. If you are after a low cost way into web hosting then Linux is the correct route for you as Windows hosting services are generally targeted at small and medium sized businesses that have a distinct need for the use of some of the Microsoft products that there are available. As well as Linux shared hosting, you can also choose from Linux dedicated web hosting if you are after a more distinct form of reliability and a level of security that will provide you with a sound hosting environment in which you won’t have to worry about hackers gaining access.

Linux Shared Hosting

For cost effective web hosting anyone will tell you to use Linux shared web hosting if you are a beginner and have never considered using web hosting before. As well as being easy to manage, you can expect to receive resource allocations that will constitute good value for money and will provide you with the web space you require to host your website and then expand it over time without having to upgrade your entire web hosting service. Most web hosting companies choose to use the cPanel control panel to allow them to offer their Linux shared hosting packages as this is a tried and tested solution that offers end-users the most stable platform going without compromising the low-cost of Linux shared hosting; as well as offering access to all of the resources that you need, cPanel will provide you with a comprehensive guide on how you can get the most out of your web hosting package using the control panel. The variety of web hosting companies offering Linux shared hosting guarantees that you’ll find the hosting package that it will suit your needs exactly, although if you require additional assistance or resources then you can always choose a hosting service with which you can custom-configure your hosting resources.

Linux Reseller Hosting

A Linux reseller hosting package will be hosted on the same server as Linux shared hosting accounts meaning that by using Linux reseller hosting, you won’t be provided with any greater uptime guarantees than you would receive if you were to use Linux shared hosting. A reseller web hosting package will allow you to offer your own web hosting plans to your own web hosting clients through the means of multiple domain hosting; this can be highly cost effective for those who wish to start their own web hosting company, although you are going to be limited as to how much you can customize your own web hosting plans.

Linux VPS Hosting

A Linux VPS server can offer you a Linux dedicated hosting environment at a fraction of the cost of a Linux dedicated server, providing you with the most cost-effective solution for Linux dedicated hosting. Although you aren’t provided with your own dedicated CPU when using a Linux VPS server, you can expect to have your own guaranteed assignments of disk space and RAM that will also influence the performance of your hosting environment. As is the case with shared hosting, you can choose to upgrade the amount of RAM and disk space that you have available to use as you wish – the same can be said for bandwidth, although this will affect who can visit your website and not necessarily the performance of your server. Virtuozzo is usually the virtualization daemon of choice by most mainstream web hosting companies, helping to ensure a steady stream of reliable VPS hosting packages; this will enable you to manage the state of your Linux VPS server using the Virtuozzo Power Panel rather than having to slave away at SSH every time you wish to complete a task with your server.

Linux Dedicated Server Hosting

For power users and businesses with extended budgets for their web hosting services, dedicated servers can offer you reliability that is incomparable to other web hosting services. The dedicated nature of Linux dedicated server hosting is achieved by providing you with your own physical server, allowing you to make full use of the resources that are included with your server because you are going to be the only one using them. The physical nature of dedicated server hosting means that you will be able to upgrade the hardware of your server as you see appropriate; during the order process you can opt for an upgraded CPU based on what your web hosting company can offer – you can also choose from various RAM and hard drive configurations depending on what you expect to achieve from using Linux dedicated servers. The high cost of dedicated server hosting is justifiable under most circumstances because the users of dedicated servers generally require a higher level of security and support than your normal user would need, and web hosting providers need to account for these added costs somehow.

In conclusion, using Linux web hosting isn’t a mission as it may appear to be at first. Although server management can be slightly complicated when using a Linux VPS server or Linux dedicated server due to the fact that you have to use SSH if you wish to manage your server properly; this can be made slightly easier with the use of a control panel such as Webmin or cPanel. Linux shared hosting services are designed to be as intuitive and easy to use as possible because they are aimed at beginners rather than more experienced users.

Related Posts: