Close unnecessary ports of server.

Unnecessary open ports can create problem for your server and such servers are more prone to get attack by hackers. Hackers always search for open ports on any server and if they manage to get one, they can get into your server and can do anything they want. Even they can prevent your access to your server. thus as precautionary measure you should check if by mistake you have kept any port open. Following commands will help you to get all details about your server.

First of all you need to check which services are running on your server, you can use :
chkconfig –list | grep on
Now you should disable certain services which you don’t want and can be harmful for you. Use chkconfig service name off.
You need to stop such unwanted services using following command : /etc/init.d/service stop
You can also close certain ports using iptables and firewall setting.

Posted under Fantastico Hosting, Reseller Hosting, WHM cpanel Hosting, cPanel account Hosting

This post was written by on November 28, 2008

Tags: , ,

Important communication ports

On any dedicated server or computer system you have number of ports which are used for communicating with other computer over a network. Each port have its specific function and is unique. You have Port numbers ranging from 0 to 65535. Ports 0 to 1024 are reserved which are used for certain privileged services. Such as you have port 80 which is defined for HTTP service as a default, you don’t have to specify this port number while accessing any domain name or url.

80 WebServer Port 80
When a user types in your IP address or Host Name in the browser, the browser will search for the IP address on port 80 by default for the web pages.

81  WebServer Alternate Port 81
Whenever a user types in your IP address or Host Name in the browser, the browser will look at the IP address on port 80 which is default port and if this Port is blocked, port 81 is used as an alternate port for hosting a website.

21  FTP Server Port 21 
When someone try to connect to your FTP Server, the FTP client will try to establish  connection on Port 21 by default. Thus Port 21 must be open for standard FTP clients to log in and connect to your server.

22 
SSH Secure Shell Port 22
If you want to run a SSH Secure Shell then you should keep open port 22 as this port is required for the SSH Client to connect to your server.

23  Telnet Server Port 23
If you run a Telnet server, this port is required for the Telnet Client so that they can connect to your server. In order to use telnet for remote admin and login, port 23 must be open.

25   SMTP Server Port 25
When someone sends a mail message to your SMTP Server, the mail will attempt to come in to your server on Port 25. This is the standard SMTP (Simple Mail Transport protocol) port.

2525  SMTP Alternate Server Port 2525
When someone sends a mail message to your SMTP Server, the mail will attempt to come in to your server on Port 25. Port 2525 is an alternate port used by TZO for the Store and forward services. This is a non-standard port, but useful if the standard SMTP (Simple Mail Transport protocol) port is blocked

110  POP Server Port 110
When you run a mail server, users will typically log into that machine via POP3 (Post Office Protocol) or IMAP4 (Internet Message Access Protocol) to retrieve their mail. POP3 is the most popular protocol for accessing mailboxes.

119   News (NNTP) Server Port 119
When you run a News server, typically News Clients wanting to connect to your news server will connect on port 119. This port needs to be open to run your own news server.

3389   Remote Desktop port 3389
Port 3389 is used for Windows Remote Desktop. If you want to remotely connect to your computer for remote control, using the free XP Remote desktop requires port 3389 to be open.

389  LDAP Server Port 389
LDAP or Lightweight Directory Access Protocol is becoming popular for Directory access, or Name, Telephone, Address directories. For Example LDAP://LDAP.Bigfoot.Com is a LDAP directory server.

143   IMAP4 Server Port 143
IMAP4 or Internet Message Access Protocol is becoming more popular and is used to retrieve Internet Mail from a remote server. It is more disk intensive, since all messages are stored on the server, but it allows for easy online, offline and disconnected use.

443   Secure Sockets Layer (SSL) Server Port 443
When you run a secure server, SSL Clients wanting to connect to your Secure server will connect on port 443. This port needs to be open to run your own Secure Transaction server.

1503 &1720   Microsoft NetMeeting and VOIP Ports 1503 and 1720
MS NetMeeting and other VOIP allows you to host an Internet call or VideoConference with other NetMeeting or VOIP users. NetMeeting is a free product that can be found on the Microsoft Website at http://www.microsoft.com
5631  PCAnywhere Port 5631
When a PCAnywhere server is set up to receive remote requests, it listens on TCP port 5631. This allow you to run a PCAnywhere host and use the Internet to connect back and remotely control your PC.

5900  Virtual Network Computing (VNC) Port 5900
When you run an VNC server to remotely control your PC, it uses port 5900. VNC is very useful if you want to control your server remotely.

Posted under Fantastico Hosting, Uncategorized, WHM cpanel Hosting, cPanel account Hosting

This post was written by on November 26, 2008

Tags: , ,

Block IP addresses using .htaccess file

Blocking IP addresses using .htaccess file
Manytime you need to block certain IP which is threatening your website/server or is trying to attack your server by creating load on it [ DDOS attack] then you can easily block such IPs using .htaccess file. Once you manage to get the IP address which is playing with your server then you just need to add it in deny list of htaccess file. All IPs which are listed in this list cant access your site anymore and thus you can protect your server from such attacks. All you have to do is to add IP in your htaccess file which is located at root directory by using following code.
<Limit GET>
order deny,allow
deny from IP address
</Limit>

You can add as many IP address as you want in this list. One thing to be noted that spammers/hackers can change their IP addresses very easily as most spammers work from their home PCs which are not static and may update very often. Thus is may be very difficult for you to get exact IP address which you need to block. So its always better to get a good firewall for your server or a webhost who will manage your dedicated server for such security issues and will monitor it round the clock.

Posted under Fantastico Hosting, Reseller Hosting, WHM cpanel Hosting, cPanel account Hosting

This post was written by on November 25, 2008

Tags: , , ,

cPanel-Plesk Webhosting Control Panel

When it comes to host your website you need to consider what hosting platform you would be choosing, if you are using any Microsoft owned application for developing your website then you will have to consider Windows Plesk hosting plans else Linux would be good option for your hosting needs. One of the important tool you would be using for managing your website is control panel which would be offered by your webhosting service provider. If you are hosting your site on Linux shared hosting plans then you may get cPanel as your control panel which is usually offered for free and you would be getting Plesk as hosting control panel if you are hosting website on Windows Shared Hosting package. Both cPanel and Plesk control panels are widely used control panel using which you can easily managed your website hosting account. Plesk can also be offered on linux hosting packages thus plesk control panel can be used with Linux as well as Windows Hosting packages. If you are hosting your website on higher hosting plans such as VPS or Dedicated server then you may have to pay extra for getting control panel with your hosting accounts it all depends on the policies led down by your webhosting service provider.  You may think is it necessary to get a webhosting control panel ? yes, its is always recommended to get a control panel with your webhosting account. Following are the most important features which you would get from your control panel.
cpanel%20logo cPanel Plesk Webhosting Control Panel cPanel Plesk Webhosting Control Panel

Webhosting control panel cPanel and Plesk both offer similar basic features. You can easily create, or edit, or delete e-mail accounts thus you can easily manage all email accounts, as well as can perform all domains or sub-domains maintenance using both control panel. Both control panels allows you to upload all your files/directories and thus can manage your web files and directory from the control panel itself. There are many other useful features which you will have with your control panel. Thus control panel will ease your website hosting environment.

Posted under Fantastico Hosting, Reseller Hosting, WHM cpanel Hosting, cPanel account Hosting

This post was written by on November 15, 2008

Tags: , ,

PHP MySQL Hosting

MySQL Hosting MySQL is a database type which is works on SQL or Structured Query Language, its widely used in website hosting industry where all databases required for your website is stored and can be accessed online. Using SQL commands/statements or queries you can easily retrieves and updates data in your databases. In the webhosting world PHP –MySQL is best combination and is widely used for developing websites. The combination of PHP scripting and MySQL database creates a very flexible environment for all websites. Thus if you are looking for hosting PHP-MySQL based website then you should look for a webhost who will support MySQL on their servers. Most webhosting service provider offers you hosting packages which are perfect for hosting PHP-MySQL based websites. MySQL runs on both Linux and Windows OS, so if you want MySQL database web hosting, you can use either opt for Windows Hosting packages or linux Hosting packages. As Linux hosting is more stable and cheaper option, PHP-MySQL database hosting is preferred on Linux hosting packages. MySQL database hosting can handle heavy traffic and many concurrent connections to the database easily.You have many versions of MySQL for website hosting. However, if you are using MySQL for the first time, it is better to opt for version 4.1 as it is offered as default version with most webhosting service provider. If you are looking for getting MySQL hosting, you have to check if they can offer you MySQL on Windows Hosting too, also check out the restrictions for remote access. Is there any limitation on number of databases you can create on your hosting account, what is the maximum size for your databases. Make sure your website hosting service provider have package bundled with PHP as this will help you to create dynamic websites easily.

Posted under Fantastico Hosting, Reseller Hosting, WHM cpanel Hosting, cPanel account Hosting

This post was written by on November 12, 2008

Tags: , ,

Securing CGI scripts

The Common Gateway Interface (CGI) is a standard protocol which is used for interfacing external applications/softwares with an information servers like HTTP or Web servers.
If you are using any CGI program within your website then it will be executed in real-time, giving web user dynamic information, you will have to use custom CGI scripts or free scripts for getting such type of dynamic data.
All CGI scripts are executable files which will allow any webuser to run this program on your system/server thus its not safe to play with them and should be used only if required, therefore you should take utmost precautions while dealing with them. Its always better to keep all your CGI scripts in a special directory called “cgi-bin” so that the Webserver would know to execute script rather then just display it into your webbrowser. Mostly this directory is under direct control of webmaster, thus none other then you can create cgi scripts for your server and can put then into cgi-bin directory. Thus you can keep hackers away from installing cgi-scripts for your hosting account.
You should put all your CGI scripts which you want to execute into your cgi-bin directory, you can use .cgi or .pl file extensions for all your cgi scripts. cgi-bin directory have 755 permission so you just need to upload your required scripts into this directory so that they can be executed in real-time.

cgi scripts Securing CGI scripts

If you want you can put cgi scripts in any directory your want, but for security reasons its always suggested to put them in cgi-bin directory as they have potentially large security holes. If all your cgi scripts are kept al central location within cgi-bin directory then it would be easier to keep track of all your scripts which you have installed on your server so that you can manage them efficiently.

Posted under Fantastico Hosting, Reseller Hosting, WHM cpanel Hosting, cPanel account Hosting

This post was written by on November 7, 2008

Tags: ,

Blogging Tips

Blogging is growing at lightning speed and every other webmaster is looking for getting his blog famous, now you have setup your blog and want to update it so as to attract more visitors for your blog. As a blogger you should try to add new content every day, some blog lover try to update it very frequently even try to add new content more then once a day so that his blog will have latest content and that would boost traffic for his blog. It all depends on you, how you can manage your blog and how much you LOVE it.
bloggg Blogging TipsIf you are full time blogger and just love blogging then it would not take much time for you to add content for your blog else you can update your blog as you get free time. While writing blog content you should not have any other worries or workload before you this may affect your writing skill which will adversely affect your content. So prepare yourself before you start for blogging. Its always better to write about the filed/industry you have good knowledge and is of your interest else you cant create readable attractive content for your blog, you may have to spend time on research for writing an irrelevant content for your blog. You should come up with different idea of interest for your blog so that you can have enough readable material on your blog for catching attention of your blog visitor. You should try to update your blog with unique post frequently else your blog reader may distract from your blog, making blog reader to visit your blog again and again is very difficult task so make your blog attractive by having useful, interesting content, you can also embed few relevant graphics/images for creating attractive post. Pictures can explain more then words so try to add as many images as possible, don’t overload your blog with huge number of images else it may slowdown yoru blog loading time on poor internet connection. You can visit forums, message boards of your blog theme and can pick up latest happenings and can add them into your blog. Try to visit few social bookmarking sites such as StumbleUpon, Facebook, or Digg and get few blogging ideas. Technorati.com is also a place for you to visit where you can get top popular searches, news stories, blogs, and topics which you can rewrite for your blog. You can also get latest information for your subject through TV shows, radios and talks shows try to get most out of it. You can even join few chat rooms where you can get your targeted audiences. Most important try to invite guest bloggers and get your blog huge popularity and at top position in search engines.

Posted under Uncategorized

This post was written by on November 6, 2008

Tags: , ,