GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

VPS v2: iwhois: Check Domain Name Availability

bullet Introduction

Offering clients a way to check domain name availability is an essential part of a web hosting company's web site. However, checking the availability of only the common top level domain names (.com, .net, and .org) is not adequate. A utility to check the availability for any top level domain name is necessary. This ability can be easily provided with a small form and CGI script. The lookup form and CGI source are presented in two sections below.

 

bullet Installation

To install the lookup CGI on your Virtual Private Server you will need to do the following:

  1. Install the Lookup Form

    You will need to download the Domain Name Availability form HTML source and store it in the appropriate www directory. Feel free to customize the form, add graphics, etc. But be sure that the variable name for the input field is not altered.

  2. Copy the iwhois directory

    As the root user, copy the iwhois directory from the /usr/local/share/contrib/ directory on your VPS v2 to the appropriate cgi-bin for the domain that will be using the script. Make sure to change the file ownership to the correct user.

  3. Customize the Appearance of the CGI

    Two subroutines in the util.pl file are used to print out header and footer information. These functions are print_header_info and print_footer_info. Feel free to modify these functions such that the CGI outputs pages that are in synch with the motifs of the rest of your site.


Toll Free 1-866-GSP-4400 • 1-301-464-9363 • service@gsp.com
Copyright © 1994-2016 GSP Services, Inc.