Choose Skin

DNHat Lander - Domain Sales Landing Page Scripts
Documentation

Overview

DNHat Lander is a very simple domain sales landing page scripts. The scripts enable you to direct (forward) all your domains to a single page (website), from where potential buyers can send to you their offers using a contact form. There is no limit to the number of domains you can direct (forward) to the lander.

DNHat Lander does not use database or excessive plugins to perform - unlike the advanced versions of the scripts

DNHat Lander comes with 3 responsive templates (skins). By simply indicating your preferred template ID in the configuration file, you can switch between the templates (see scrennshots below, click to enlarge). You can also change the styling by editing the css files.

DNHat Domain Sales Landing Page - Template 1 (background image, without overlay) screenshot
DNHat Domain Sales Landing Page - Template 1 (background image, with overlay) screenshot
DNHat Domain Sales Landing Page - Template 3 (without background image) screenshot. Click to enlarge


System Requirements

DNHat Lander can be hosted on any type of Linux hosting (shared, VPS, Dedicated Server etc.)
Your web hosting server must support:
  • PHP 5.0.5 or higher
  • Required PHP extensions:
  • mbstring, iconv for proper utf-8 encoding handling
  • dom (doxml), simplexml, for parsing XML files
  • These are standard requirements and most web hosting servers have them in place. If in doubt, consult with your ISP.

    Configuration/Settings

    Configution and Installation is very simple and takes less than 5 minuites.
    Before you can use DNHat Lander on your website server, you will need to enter your data in the configuration file and save it.
    • 1. Unzip the package to a folder on your computer
    • 2. Using a plan-text editor (e.g. NotePad), edit the settings.php file located at:
      • \includes\settings.php

        Enter necessary information within the single quotes. Examples are given.

        /*** GENERAL. SITE-RELATED INFO ***/
         /* location of the scripts on your website, without trailing slahes*/
        $site_url = 'http://dnhat.com'; 
        /* max. 100 char. */
        $site_title = 'Domain Is Availble For Sale'; 
         /* max. 150 char. */
        $site_desription = 'unique, easy to spell and remember, brandable, premium domain you can purchase now and use for your website'; 
         /*max. 100 char.*/
        $site_keywords = 'buy domains, online branding, premium names, name finder, domain for my business, domainmarket, domain for sale'; 
         /*  language code. 2-letter ISO abbrevation. en - english, fr - french, ru - russian etc. Up to 15 languages. script is multi-lingual capable.*/
        $lang = 'en'; 
        $lang_code = 'en'; 
         /*  language display name */
        $lang_name = 'English'; 
        /*  your telephone number (optional). Format according to your need, will be displayed on the landing page*/
        $mytel = '1-303-893-0552';  
        
        /* MAIL SETTINGS FOR CONTACT FORM ***/
        /*  your name or company name*/
        $myhandlename = 'John Doe'; 
        /*  your email address*/
        $myemail = 'support@josytal.com'; 
        $mail_subject = 'New Offer for your Domain'; 
        /*  mailer function. mail or smtp . mail - system  mail function. if you opt for  smtp, PHPMailer will be used, then the next four data must be supplied */
        $send_mail_method = "mail"; //mail or smtp 
        $smtp_server = 'mail.mydomain.com'; 
        $smtp_port = '25'; 
        $smtp_username = 'sales@mydomain.com'; 
        $smtp_password = '4_#2[x5}hcp[H3'; 
        /*  secure SSL connection to server. true or false */
        $smtp_ssl = false; 
        /* indiate the value below if $smtp_ssl = true */
        $smtp_ssl_value = ''; 
        
        /*** DOMAIN PRICES ***/
        /* prices.  currency code for domain price */
        $price_currency = 'USD'; 
        /* minimum offer price a bidder can enter / minimum acceptable price to send to you */
        $price_min = '100'; 
        
        /*** TEMPLATES ***/
        /*DNHat Lander comes with 3 responsive templates (skins). 
        By simply indicating your preferred template ID , you can switch between the templates*/
        /* you can select from two templates. 1 or 2 */
        $template = '1'; 
        /* applicable if template = 1. additional style for background image. 0 - do not use, 1 - use. */
        $useoverlay = '1';  
        
        /*** SPAM AND anti-ROBOTS CONTROL ***/
         /*flood control, anti-robot. contact form submit attempts -  after which the system will block spammer. flud time in seconds/before re-sending/submit button disabled */
        $submittempts = '3'; 
         /*flood control, anti-robot. time in seconds before allowing next attempt after blocking*/
        $sleeptime = '120'; 
        
      Save the file and upload everything to your website server.

    Installation

    You can install the scripts in the home directory or into a folder (sub-directory) of your website.
    After you have edited and saved the configuration file \includes\settings.php,
  • 1. Upload the package to the home directory or into a folder (sub-directory) of your website
  • 2. Make sure you observer the directory structure of the scripts in the package

  • Testing your installation

    It is recommended that you test your installation and be sure you have done everything correctly.
    Again, note that you can upload the scripts to the main directory (http://mydomain.com ) OR into a sub-directory (folder) on your hosting server.
    For example, I've uploaded the scripts into a folder (sub-directory) /spglander on the server.

  • 1. Launch your browser
  • 2. Enter the URL, where the scripts have been installed, e.g. http://mydomain.com OR http://dnhat.com/spglander
  • 3. Click GO or hit the Enter on your keyboard
  • If you have done everything correctly, you should land on the home page: http://mydomain.com OR http://dnhat.com/spglander

    Adding your domains to point (redirect, resolve, forward) to the landing (for sale) page - overview

    DNHat can handle any number of domains as long as they are all parked on the same domain where the scripts have been installed on.
    The next step is parking the domains you're putting up for sale to point/resolve/forward to DNHat Lander scripts website. The process may be refered to as Domain Parking or URL Forwarding.

    There is no single way of parking domains. Domain parking/forwarding varies, depending on registrar, hosting organization and/or control panels. You may also come accross terms such as Domain Pointers, Domain Aliases, Addon Domains, URL/Domain Forwarding etc.

    For references to most popular control panels, you may watch the video materials below.

    cPanel: http://cpanel.net/media/tutorials/parked.htm
    Plex: http://vimeo.com/38542495
    DirectAdmin: http://youtube.com/watch?v=ECiIaNXh514

    There are at least 4 ways of forwarding multiple domain names to a single website.

    Domain Aliases - At the Hosting Level
    Domain Alias is a domain that is masked to forward to a PRIMARY/MAIN domain of the cPanel account. Domain aliases are domains that you own, but which do not contain any content. Instead, they point to the contents of another domain or subdomain on your account. This is useful, for example, to hold a domain that you will later sell, or to redirect traffic to another domain.

    Domain Alias forwards automatically to your main website, in this case - to where you have installed DNHat Lander.

    Domain Aliases are recommended if you have installed DNHat Lander on the PRIMARY/MAIN domain of your hosting account.

    Here are necessary steps to create Domain Alias:
  • 1. If your domain registrar differs from your hosting company, then set/edit the DNS of the domains (with your registrar) to your hosting account DNS or DNS of your hosting company
  • 2. Log in to your hosting account
  • 3. DOMAINS -> Aliases
  • 4. Create a New Alias
  • 5. Domain: Enter the domain name
  • 6. Click Add Domain

  • IMPORTANT!
    Even if you have many domains in your hosting account, Domain Aliases will forward only to the PRIMARY/MAIN domain. This is one of the major differences between Domain Alias and Addon Domains (see below).

    Select Domain Aliases
    Domain Aliases screenshot

    Addon Domains - At the Hosting Level
    An Addon Domain is an additional domain that can be used for stand-alone website, even though the system stores it as a subdomain of your primary/main domain.

    Unlike Domain Aliases (see above), Addon Domain can be used for a website and can be Parked not only on the Main/Primary domain, but also on another Addon Domain under your hosting account.

    1. If your domain registrar differs from your hosting company, then set/edit the DNS of the domains (with your registrar) to your hosting account DNS or DNS of your hosting company
    2. In your hosting account, add the domain names to your account. This is same as creating Addon Domains.

    Addon Domains are recommended if you have installed DNHat Lander in a folder/directory of PRIMARY/MAIN domain or on another Addon Domain.

    To create Addon Domains, do the following:
  • Log in to your hosting account
  • DOMAINS -> Addon Domains
  • Create an Addon Domain
  • New Domain Name : enter name of the new domain
  • Document Root: enter the document root of the domain (where you've installed DNHat Lander) - without trailing slash
  • Click Add Domain
  • Done!

    Addon Domains item screenshot
    Create Addon Domains

    Using .htaccess file to redirect domains - At the Hosting Level
    301 (Permanent) Redirect: Point an entire site to a different URL on a permanent basis. This is the most common type of redirect and is useful in most situations. In this example, we are redirecting to the "mydomain.com" domain.

    302 (Temporary) Redirect: Point an entire site to a different temporary URL. This is useful for SEO purposes when you have a temporary landing page and plan to switch back to your main landing page at a later date.

  • 1. Create an empty text file using a text editor such as notepad, and save it as htaccess.txt
  • 2. Edit the contents of the file, using the following examples:

    # This allows you to redirect your entire website to any other domain
    Redirect 301 / http://mydomain.com/

  • 3. Save the file (htaccess.txt) and Upload it to your server
  • 4. Re-name the file to .htaccess
  • Domain Forwarding - At the Registrar Level
    Depending on your domain registar, you can do URL forwarding (URL forwarding is in fact a fancy name for a 301 redirect). In this case you don't need a hosting account to hold the domains you are selling.

    A domain name registrar is an organization that manages the reservation of Internet domain names. A registrar company is designed to provide domain registration service to other companies or individuals that would like to own a particular web address. In a nutshell, Registrars are orgnizations with whom you register your domains. Examples: GoDadaddy, NameSilo, Domain.Com, etc.

    In most cases, when you register a domain, the registrar automatically assigns to your domain its (registrar's) domain name server (DNS). Meaning your domain can be accessible as a website using the registrar's hosting services.

    NOTES:
    1. Registration of a domain does not automatically imply the provision of DNS services for the registered domain. Yet, most registrars (over 90%) do it, because they have the opportunity of placing Ads on the domain.
    2. DNHat Lander does not support Domain Forwarding at the Registrar Level.
    DNHat Standard and DNHat Professional do.

    So now, what you need to do is redirect the domain(s) to the address of the website, where you have installed DNHat.
    A redirect automatically sends your website's visitors to a chosen destination, either a different location within the same site or a new site entirely. In all cases, use 301 redirect.

    SOME EXAMPLES

    GoDaddy
    • Log in to your GoDaddy account
    • Manage domains
    • Select the necessary domains
    • To Select ALL the domains, click/check/mark the topmost checkbox (HeaderColumn)
    • Forward -> Forwarding domains
    • Under Forward to, select http:// or https://
    • Enter the URL you want to forward your domain or subdomain to
    • Select your Forward type: Permanent (301)
    • Select Forward only: Forwards the domain or subdomain without masking
    • To automatically update your nameservers to accommodate your forwarding changes, check Update my DNS setting to support this change.
    • Click Save

    Godaddy example: select necessary domains to forward page screenshot
    Godaddy example: edit necessary settings for domains to forward
    Godaddy example: edit/save settings for domains to forward

    NameSilo
    • Log in to your account
    • Manage my domains
    • Select the necessary domains
    • To Select ALL the domains, click/check/mark the topmost checkbox (HeaderColumn)
    • Click the menu item Forward domains
    • Forwarding Address: select http:// or https://
    • Enter the URL you want to forward your domain or subdomain to
    • Forwarding Method: Permanent Forward (301)
    • Click Submit

    NameSilo example: select necessary domains to forward page screenshot
    NameSilo example: edit necessary settings for domains to forward
    NameSilo example: edit/save settings for domains to forward

    NOTES:
    NameSilo has simplified the task of dynamically forwarding multiple domains. You can enter "%%DOMAIN%%" in the Forwarding Address field.
    Anywhere "%%DOMAIN%%" appears will be automatically replaced with the domain name(s) you are forwarding.

    Miscellaneous

    • DNHat Lander is a commercial software. You must purchase a license in order to install it on your domain
    • One license is valid for one domain only. Each domain needs a separate license
    • Illegal distribution of the scripts is prohibited