Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2003
    New Jersey USA

    Advertise on your clients websites

    Anyone aware of any type of coding or script that you can add or change in a cPanel server so any website on or added to that server will display either text advertisements at the top of the website or a banner?

  2. #2
    I think you can do this in cpanel... in the themes maybe? Im not really good at cpanel but there is a way, i cant remeber.

  3. #3
    Join Date
    Dec 2002

    Try to look for mod_layout.

    mod_layout is an Apache module that provides both a Footer and Header directive to automagically include output from other URIs at the beginning and ending of a Web page. It can be used to wrap documents for a standard look and feel for a site (or to insert banners on any given document in a site).
    knowledge is Power , Spread it.
    [email protected]
    AIM:AhmedFouad0 , yahooID:xor2004

  4. #4
    Join Date
    Sep 2004
    Flint, Michigan
    You might have some better luck over at as well.

    I have never done it via CPanel but on directadmin there is a template used for the virtual host settings on every account created. Here are the basic steps I followed:

    1. Install mod_layout
    2. Install PhpAdsNew (makes handling ads easier IMHO).
    3. Create a html file wherever you want with the ad code in it.
    4. Write the directive to add the code from the html file to the head of each website and include layoutmerge as well.
    5. Add that directive to the template file for new accounts.
    6. Sit back and enjoy, just know there are several work-arounds people use.
    Mike from
    Professional web design and development services.
    In need of a fresh hosting design? See what premade designs we have in stock!
    Web design tips, tricks, and more at

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts