How to add a range of IPs on a BSD box.

FreeBSD is a popular free Unix like open source operating system that is based on the Berkeley Software Distribution (BSD) version of the Unix operating system. FreeBSD runs only on the Intel PC platform (i386 and higher) having atleast Pentium processor and also on amd64, Alpha/AXP, IA-64, PC-98 and UltraSPARC processors. You can consider FreeBSD as an alternative to Linux which will run Linux applications. Its said that its fast, stable, and is appropriate for Internet server or as a file server. FreeBSD supports all major X Window desktops, such as KDE and GNOME.

If you want to add Dedicated IPs on server having FreeBSD you need to follow following instructions.
First login to your FreeBSD server as a ‘non-root’ user. You should have an account in the ‘wheel’ group. Once you logged in your server just run the following commands to switch users to ‘root’

su -
Password:
server#

you will get command prompt as ‘#’ which indicates that you are operating server as ‘root’ user. Now run following commands as root :
ee /etc/rc.conf

now for example, if we want to add 4 IPs for your server [ 192.168.1.3 - 192.168.1.6 ] you need to implement following :
Code:
ifconfig_fxp0=”inet 192.168.1.2 netmask 255.255.255.248″
ifconfig_fxp0_alias0=”inet 192.168.1.3 netmask 255.255.255.255?
ifconfig_fxp0_alias1=”inet 192.168.1.4 netmask 255.255.255.255?
ifconfig_fxp0_alias2=”inet 192.168.1.5 netmask 255.255.255.255?
ifconfig_fxp0_alias3=”inet 192.168.1.6 netmask 255.255.255.255?

Note that changes to the _aliasNN and also the netmask changes to 255.255.255.255 from 255.255.255.248. The IP’s will not work unless you use a 255.255.255.255 netmask for the alias IP’s.

Once you added the entries to your file you need to press ‘ESC’ and have to save this file. You need to reboot the server so that all new IP’s would get bounded with your server and you can use them.
You have other option too, you can also use ifconfig command for adding IP’s on your server, in this case you don’t have to reboot your server. You can also add extra Dedicated IPs if you have WHM/cPanel control panel with your server. just login to your WHM account and add new Dedicated IP using WHM >> Add a new IP.

Posted under Linux cPanel Hosting, Shared cpanel Hosting, Uncategorized, cPanel Hosting, cPanel hosting accounts

This post was written by on November 25, 2008

Fantastico error : Fantastico is not installed at the default location


Many webmaster having cPanel server may get following error when you try to install/upgrade fantastico on your cPanel server. You may get few complaints from your customers stating that when they try to access fantastico they get below error code.
” I got this error when I click on the fantastico button in Cpanel.  Fantastico is not installed at the default location “
/usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico
directory from it’s current location to
/usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM ->
Tweak settings “


For this error you will have to update your cpanel version to latest version.  You can also set your server for auto cpanel update using following settings :

  • Login to your WHM > Choose “Update Config” > Tick “Automatic (Stable Tree)”you need to check if ioncube is installed on server and it should be enable in WHM -> Tweak settings.
  • you can update fantastico manually using following command cd /usr/local/cpanel/whostmgr/docroot/cgi/fantastico/scripts/ ; /usr/local/cpanel/3rdparty/bin/php cron.php
  • You can also rebuild cpanel’s php using /scripts/makecpphp
  • You can also force cpanel update using following command /scripts/upcp –force

Once your server is updated, you may be able to install Fantastico again and can use it easily without any problem.

Posted under Uncategorized

This post was written by on November 20, 2008

Tags:

EPP code : Domain transfer

EPP code stands for Extensible Provisioning Protocol (Authorization code) is responsible for protecting your domain name against unauthorized transfers of domain name registrations thus is can be considered as a security code for your domain name. When you register any new domain an EPP code is generated for it and is saved at the global registry.

Whenever a domain transfer request is initiated by anyone he will have to provide EPP code [ Authorization key ] so that domain transfer request can be process. The EPP key is required for all .com, .net, .org, .biz, .info and .us domain names for transferring under some other domain registry. If you don’t have EPP code for above domain extensions then you can initiate transfer request. Your domain registrar will provide you EPP code [ Auth code ] once you register your domain with any domain registrar. You will have to provide this key code to your new domain registrar for whom you want to transfer your domain. ICANN regulations, a verification email or fax transfer authorization is also required. Main intention for using EPP code while transferring domains was to safeguard any domain transfer request so that unauthorized domain transfer request wont be entertained. Thus EPP code plays an important role while transferring domain names between two registrars. Following domain extensions requires EPP code for initiating domain transfer request.  :  .org, .info, .biz, .us, .com.cn, .net.cn, .org.cn, .cn, .tw, .jp, .in etc…..
Please note that EPP codes are case sensitive.

Posted under Uncategorized

This post was written by on November 13, 2008

Tags: