‘.jsp’ is widely used format for webpages but sometimes your web hosting server does not support it and as a result a .jsp page is unable to produce a proper appearance of webpage and it shows some sort of coding, So following are some changes you need to perform so that your website an display .jsp pages as normal webpages.
root@server[~]#vi /etc/httpd/conf/httpd.conf
Now search domain name and remove comment attribute from the following line.
Include “/usr/local/apache/conf/userdata/std/1/username/domainname/*.conf”
Make sure your save before exit
root@server[~]# cd /usr/local/apache/conf/userdata/std/1/
root@server[~]# mkdir username
root@server[~]# cd username
root@server[~]# mkdir domainname
root@server[~]# cd domainname
root@server[~]# vi cp_jkmount.conf
Now find the file ‘cp_jkmount.conf.’ in which you need to insert the following code.
<IfModule mod_jk.c>
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /servlets/* ajp13
JkMount /*.do ajp13
</IfModule>
Now you need to verify the entry in tomcat configuration file.
root@server[~]# vi /usr/local/jakarta/tomcat/conf/server.xml
After checking the entry you need to insert the following code in the same file.
<Host name=”domainname” appBase=”/home/username/public_html”>
<Alias>www.domainname</Alias>
<Context path=”" reloadable=”true” docBase=”/home/username/public_html” debug=”1″/>
<Context path=”/manager” debug=”0″ privileged=”true”
docBase=”/usr/local/jakarta/tomcat/server/webapps/manager”>
</Context>
</Host>
Make sure you Save the file before you exit and now restart the tomcat.
root@server[~]# /usr/local/jakarta/tomcat/bin/./shutdown.sh
root@server[~]# /usr/local/jakarta/tomcat/bin/./startup.sh
root@server[~]# /scripts/restartsrv tomcat
And now restart the httpd service
root@server[~]# /etc/init.d/httpd stop
root@server[~]# /etc/init.d/httpd startssl
There are certain key elements which should be taken in to consideration while your move your website from current web hosting services provider to another.
- Unlock you Authorization Code. (What is Authorization Code?)
- Take backup of all files, emails, databases.
- Remember all the settings you have on your old hosting account to keep them unchanged at the new web hosting services provider.
- Checkout for all operations after you uploaded it at your new web hosting account.
- Newly set up all your previous email accounts on your domain and make sure they all are sending and receiving email as usual.
- After uploading your backed up data safely and checking all the operations successfully you can update your nameserver from your domain to point to ns1, ns2, ns3 and ns4.yourdomain.com
Generally your website and your emails are expected start resolving in the next 24 hours, if it happens then you need not worry and you have successfully transferred your website successfully from your old web hosting provider to new.
When you transfer your website to a new web hosting services provider they ask you for ‘Authorization Code’. It’s a Unique 6 to 32 character lone code which is specially created to prevent any unsecured or unauthorized transfers of website. This ‘Authorization Code’ provides a security feature as it works as an unique Pin for your website (domain name) and it certifies that person who is demanding the transfer of domain is the real owner of that particular website. This code can be found in the control panel of that website. With the help of the ‘Authorization Code’ you can also lock your website and prevent any attempt of transformation without your authority. When you want to transfer it they you can unlock it.
On a Reseller Web Hosting server the Reseller has to create multiple accounts of his own web hosting clients and WHM is a utility which makes it easy to create these accounts. Following is the procedure to creat an account through WHM with any new domain name.
Login to your WHM
- Click Create a New Account under Account Functions
- Here you will find the window with various text boxes which are to be filled by you
- Enter the Domain Name, Username, Passwords(in both fields) and E-mail in prior text-boxes.
- As there are various packages and plans of hosting services may exists so you also need to select the proper web hosting plan demanded by that particular client.
- After filling all the required field carefully click on ‘Create’
- It will take short time to process the account, after getting created it will be displayed on your screen.
Note :- Nameservers of your domain should be pointing to your reseller account name servers and then within few hours, your hosting account will be enabled.
After you received the email which contains download link of SSL certificate, you need to download it by clicking that link and follow the following steps to configure and activate it in your web hosting account.
Configuration of SSL certificate
• Login to the Control Panel
• Click on SSL / TLS Manager
• Click “Generate, view, upload, or delete SSL certificates” option
• Paste the CSR supplied by the Certificate Authority in the “Certificate Signing Request (CSR)” section
• After the page is loaded, click the “Browse” button and locate the CRT file which is created by the SSL provider. Or if you have highlighted and copied the contents of the CRT file, paste it in the
• Click on the Upload button
• Click the “Go Back” link to return to SSL/TLS Manger
Activation of SSL certificate
• Click on SSL/TLS Manager > Setup a SSL certificate to work with your site. Contact your ISP, if this option is not available.
• From the Domain drop down menu select the domain that uses the Cheap SSL Certificate. The SSL Certificate and the related private key will be fetched by the system.
• Open the Intermediate CA certificate in any plain text editor copy all the certificate content and paste it into the CA Bundle (CABUNDLE) box.
• Click on “Install Certificate.” Keep watch on a message that the certificate was successfully installed.
Verification
After installation, configuration and activation of the SSL certificate it is recommended to verify the processes are carried correctly, you can do this by using online SSL Certificate Checker available on the internet.
Due to some errors you can face few occasions when you become unable to login in to your wordpress account, so it becomes difficult to handle the plugins installed on it. Following is the procedure which allow you to handle your plugins without logging into wordpress dashboard.
Login to your website hosting server via FTP and change the names of folders of all plugins, for making things simple you can just add single character of your choice to these names. If the error is more critical and deactivating your plugins is not enough then its recommended to switch to the default theme. You can do this by changing the name of your currently installed theme as this will activate the default theme automatically.
As most of us know the importance of .htaccess file for a web hosting account, here you can know one of the most useful utility of this file. It’s possible to block users or website which are causing for any malicious activities on your website. This utility not only make your website more secured but also saves your money which is needed to install any third party security software within your web hosting account.
The Apache module ‘mod_rewrite’ is needed when you want to block the access of your website by referrer in .htaccess. In most of hosting plans of Web Hosting India, this module comes as inbuild with any particular web hosting package. This module help you to deny access to all the traffic which is coming from a particular domain (IP)
Following is the way to Block traffic from a single referrer
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} suspecteddomain\.com [NC]
RewriteRule .* – [F]
Following is the way to block traffic from multiple referrers
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} suspecteddomain\.com [NC,OR]
RewriteCond %{HTTP_REFERER} anothersuspecteddomain\.com
RewriteRule .* – [F]
SSH keys are the great utility for cPanel shared hosting clients. These SSH keys play important role while allowing a specific computer system to access your website’s information through a SSH session.
Find the ‘Generate a new Key and Import Key links and follow the following the steps.
- Click the ‘Generate a new key icon.
- Fill all the required information properly. This is to be done by keeping in mind your requirements as RSA keys creates a faster confirmation of identity and DSA keys are known for fast key generation and signing times.
- Choose a key size using the pull-down menu. While doing this you should know that a bigger key size provides more security but will take more time for authentication. So you need to decided the proper combination of security level and time consumed for authentication.
- Click on Generate Key for the generation of new SSH key and it will get automatically installed on the web server.
Following post is aimed to provide security to web directories through password protection, which are on Unix or Linux web hosting server. You can restrict the access of any particular directory, following process will create a username and password entry whenever someone would try to access the protected directory. This utility is totally free of cost and just take about 15 minutes for its configuration.
Configuration of .htaccess file.
At the start you need to create .htaccess authentication file which is important for granting access and other rights about the files in the directory. This short tutorial is about restriction unauthorised person to view (GET) and upload (POST) files in the directory.
Approach your favorite editor i.e. Notepad or you can also go for telnet on your web hosting server and choose Unix editor (vi) creat a text file using the following code and make sure to to keep the path (/var/www/html/private/) of the directory to the exact location where you want to store the usernames and passwords which are to be authenticated. In following code ‘Protected Directory’ is used as example name of your authentication window.
AuthUserFile /var/www/html/private/.htpasswd
AuthGroupFile /dev/null
AuthName “My Private Directory”
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
Save the file created with the above code with the name ‘.htaccess’. Place this .htaccess file in to the directory which you want to be protected. If the file is created on a local system then you can use ftp to get the file into the directory and if you have used a Unix editor (vi) then you can use ‘mv’ command to move the file to your desired directory.
Important Note :- exact path of .htpasswd file is very important, if you are confused about it then you should contact your web hosting provider. When a .htaccess file is placed in to a particular directory then it also restrict access to the subdirectories placed in that particular directory.
Following are few reasons for getting a web server down because of getting overload.
- When heavy legitimate traffic hits within the short time interval may cause to get a web hosting server overloaded.
- Interrupted Denial of service attacks.
- There are few computer worms which may cause for infinate traffic, as they makes larger number of computer infected hence can not coordinate among network.
- XSS viruses are the type of viruses which infect browsers and server on a very large scale.
- Unfiltered traffic and uncontrolled bots from search engines and other websites to the websites which are using very limited resources, also causes to Server functionality.
- Server limits are also reached because of slow internet connections which causes for slow service to client’s requests the result of which multiple connection and requests are saturated in short time-span.
- Unplanned immediate maintenance or upgrades of a server need to shift the current load on another server which may make it overloaded.
As Magento is one of the most demanding CMS by Web Hosting India clients today, knowing the category management process is very essential for webmasters. Following are the steps for managing categories with Magento.
- First Login to the ‘Admin Panel as ‘Root /(theme name)/admin’
- In the top menu bar you will find ‘Catalog’ under it click on the second option which is ‘Manage Categories’.
- You can find a sidebar at the left, there you need to click on the ‘Default Category’ and select the ‘Add Subcategory’
- You are at the window having multiple tabs ‘General Information’, ‘Display setting’, ‘Custom Design’, and ‘Category Products’. At ‘General Information’ in the text-box next to ‘Name’ you need to enter the name for category you are adding.
- In the drop-down list next to ‘Is Active’ select the value ‘Yes’
- Now switch to ‘Display Settings’ Tab and in the drop down list next to ‘Is Anchor’ select ‘Yes’
- Click on the ‘Save Category’ and you will be able to see the added category under ‘Default Category’
Different types of requirements according to their convenience, different industries caused for the born of different hosting packages and different types of hosting. The resources requirements are different as the business size and type matters a lot for it. The most demanded features by business oriented websites are maximum uptime, e-commerce and ability to perform secured online transactions through their websites.
Though anyone can not claim a exact definition of ‘Enterprise Hosting’ as people find for other types like cPanel shared hosting, reseller web hosting, dedicated server hosting, windows web hosting. In enterprise hosting there are different types demands from different clients but only sure thing is they are definitely looking for the features and resources like security levels, Uptime guarantees, Scalability and reliability with different priorities. Most of the time big organization approached this type of hosting service because they need to deal with people’s sensitive details like ‘Bank a/c numbers, credit card numbers, telephone numbers etc. Few web hosting India companies claim the provision special support staff which will work for only enterprise hosting clients to provide services up to the mark.