Types of Web Hosting

Take a tour of your Web hosting plan options. You will discover the difference between dedicated and shared hosting and find out which type of hosting plan fits your online needs.

Shared Servers:Simple Web sites run well on shared server plans, and the Web site owner doesn’t have to worry about server maintenance.It will be maintained by the hosting provider.

ColdFusion:ColdFusion lets you to develop Web sites with powerful features and advanced animations. Use it on your Web site by finding a Web hosting plan that supports ColdFusion.

Dedicated Servers:As your company grows, so do your Web site needs. When you’ve outgrown your shared hosting plan, you need to upgrade to a dedicated server plan.

Colocation:You have the knowledge and skills to manage your own server, but you don’t have the resources to create and maintain a secure data center. Colocation plans give you access to your server in a fully equipped data center.

Tags: , , ,

Linux Shared Hosting :You must have the following features

Private CGI-BIN
suEXEC security wrapper for Apache
PHP
MySQL
PHPMyAdmin for web based mySQL management
PERL and language support.

Server Side Includes the follwing things:-

Custom Error Pages
Password Protected Directories
Secure Shell Access
Seprate .htaccess for customizing your Apache behaviour
FTP server and as many FTP accounts as you may reasonably require
Subdomains
Access to RAW logs
Awstats Statistics Program
Webalizer Statistics Program
Domain Parking
POP3 and SMTP support for all email accounts
Complete Web based Email Management
Control panel to manage your hosting account
Unlimited forwards aliases and autoresponders
IMAP based Webmail
External POP3 retrieval, Calendar, AddressBook and SpellChecker in WebMail
Shopping Cart [available on request]
Dedicated IP [available on request]
Shared SSL

Tags: , , ,

How to edit /etc/password, shadow, and group files?

One of the easiest way to edit /etc/passwd, or shadow or group file is to use “vipw” command.If you use vi to edit /etc/passwd file and if at the same time a user try to change a password while root editing file, then the user’s change will not get entered into that file.Inorder to avoid this problem and to put a lock while editing file, use vipw and vigr command which will edit the files /etc/passwd and /etc/group accordingly. You pass -s option to these command, then they will edit the shadow versions of those files i.e. /etc/shadow and /etc/gshadow, respectively.

The major purpose of locks is to prevent file corruption. Don’t use vi or other text editor to edit password file. Syntax:

* vipw -s : Edit /etc/passwd file
* vigr -s : Edit /etc/group file

Where,

* -s : Secure file editing

An example

Login as a root user:

# vipw -s

On other terminal login as normal user (for example laurel) and issue command passwd to change Laurel’s password:

$ passwd

Old UNIX password:
Enter new UNIX password:
Retype new UNIX password:
passwd: Authentication token lock busy

As you see it returned with an error “passwd: Authentication token lock busy”

This will definetly avoid /etc/shadow file corruption.

Web Hosting Features Explained

Web hosting plans usually consist of a combination of features that make it easy to manage and maintain your Web site. Features vary from Web host to Web host and plan to plan. Below you will find an explanation of some of the standard features.
Web Space

Web space (also known as “disk space”) is the amount of space you’re entitled to on the Web host’s server. Web space is measured in megabytes and gigabytes. Images, media files and large databases require the most space.
Monthly Traffic

Monthly traffic is also called “data transfer”, which more accurately describes what it is. Every time the server sends a bit of your Web site data to a user’s browser or the user sends data to your server, it counts toward your monthly traffic allotment.
Hits per Month

One “hit” on your Web site equals one item retrieved from your server. An item can be a Web page or graphic. So, if someone visits a page on your Web site that has five images, six hits are recorded — one for each image and one for the page.
Email Accounts

Web hosts usually offer POP3 email accounts with their plans. POP stands for post office protocol. POP opens a temporary connection to the server and retrieves any email there before closing the connection. You can check these email accounts through a client such as Microsoft Outlook, Outlook Express, Eudora, Entourage or Thunderbird.  Some Web hosts also provide Web access to your account so you can check your email anywhere you have a browser and an Internet connection.
FTP

File transfer protocol (FTP) enables you to upload and download files between your computer and the server that hosts your Web site. Most Web hosting plans include an FTP tool that guides you through launching your Web site.
Traffic Analysis

Traffic reporting software tracks the number of visits to individual Web pages within a given timeframe. Most Web analytic tools let you choose monthly, weekly, daily or hourly reports. You can keep track of your most visited pages, your most active days, weeks and months and the amount of data transferred.
404 Page

When you type a URL into your browser, you may receive a 404 Not Found page instead of your intended target. This means that you’ve requested a page that does not exist, or you’ve misspelled the URL.

Web hosting plans may include a 404 page customization tool that allows you to use your own style, text, links and branding to help guide visitors to the information they need on your Web site.
Data Backup

It’s important to choose a Web host that backs up your Web site and server files at least daily. Data backup is essential for you to be able to easily restore your Web site without spending the time and money to recreate it if you accidentally delete or corrupt important files.
Technical Support

Technical support representatives can help you resolve issues you encounter when trying to get your Web site launched and running. Web hosts may offer telephone or email support. Some include 24/7/365 live telephone and email technical support in their plans at no extra cost.

Tags: , , ,

FreeBSD: How to restart inetd service/Daemon?

1) First login as root user

2)Once you made changes to inetd (internet super-server)configuration file (/etc/inetd.conf) you can use kill or killall as follows:

# killall -HUP inetd

OR

# kill -HUP inetd

3) This causes the inetd program to restart and examine its configuration files. This is especially useful if you have changed the configuration settings.

Tags: , ,

cPanel APP

Here are the Full Version of the Program which is not yet released.

Features are as follows:-

Add FTP Account
Create Full Backups
Change cPanel Theme
Add Database
Create Subdomain
.. and more as you can see an the Preview Image
This works for anyone Running cPanel 11

was coded an vb6.0 an Use Inet instead of Webbrowser Control

It is great for those who have mulit sites running cPanel

What is CentOS?

CentOS is an Enterprise class Linux Distribution. It is a rebuild of Redhat Enterprise Linux that conforms fully with Redhat’s redistribution policy and it’s aims to be hundred percent binary compatible. (CentOS mainly changes RHEL packages to remove RedHat branding .) CentOS is an open-source, but the developers appreciate donations for their work. For more information on centOS you can visit CentOS website.

Tags: ,

Automate login from ssh2 client to openssh host

To automate the login from a client with ssh2 to a host running openssh, do the following:

  • On ssh2 client: ssh-keygen -t rsa -b 1024, use an empty password (just hit enter)
  • Copy the file ~/.ssh2/id_rsa_1024_a.pub to the host
  • On ssh2 client, add file ~/.ssh2/identification, with the following single line in it:
    IdKey id_rsa_1024_a
  • On the host, do: ssh-keygen -i -f id_rsa_1024_a.pub >> ~/.ssh/authorized_keys
  • On the host, open ~/.ssh/authorized_keys with your favorite editor and append user@hostname to the last line (replace user with the username from the client and hostname with the hostname of the client :)
  • That’s it :)

How to build JSP

How to build JSP(Java Server Pages):-

If you have used Microsoft’s popular Active Server Pages (ASP) then you will have a good idea of what JSP is. It consists of HTML or XML markup into which special tags and code blocks are inserted. The code is executed on the server and the result is a dynamic page that is returned to the client browser. Although JSPs are simple to build they have at their disposal the full power of object-oriented Java and the Java Server API. JSPs make heavy use of Java Beans, which are classes that follow a standard pattern of a no-argument constructor (required in JSPs) and public GET and SET methods.

JSP is first parsed into a java source file which is then compiled into a servlet class. This occurs when the page is first requested, so there is a performance hit at that point. But if you design your JSP carefully the performance of the class, once compiled, should be equal to that of a purpose-built servlet. It is possible to view the servlet source code that is generated by the parser, but it’s not recommended that you make any changes in it.

JSPs are supported by a wide number of web servers through the use of plugins or modules. One of the best implementations till now is that developed for the Apache web server.The Sun Microsystems Java Server Web Development Kit (JSWDK) available from java.sun.com which contains all you need to start developing JSPs and servlets, including a JSP parser and a simple HTTP server.

Define JSP

What is JSP?

JSP stands for Java Server Pages.JSP is the normal HTML with Java code pieces embedded in them. JSP are a way to create dynamic Web content.JSP may also be used to generate and consume XML between n-tier servers or between servers and clients.It is a technology used for controlling the content or appearance of Web pages through the use of servlet s, small programs that are specified in the Web page and run on the Web server to modify the Web page before it is sent to the user who requested it. Sun Microsystems, the developer of Java, also refers to the JSP technology as the Servlet application program interface (API). JSP is comparable to Microsoft’s Active Server Page (ASP ) technology. Whereas a JSP calls a Java program that is executed by the Web server, an ASP contains a script that is interpreted by a script interpreter (such as VBScript or JScript) before the page is sent to the user. However, JSP technology provides a more convenient way to code a servlet. Translation occurs the first time the application is run. A JSP translator is triggered by the .jsp file name extension in a URL. JSPs are fully interoperable with servlets. You can include output from a servlet or forward the output to a servlet, and a servlet can include output from a JSP or forward output to a JSP.