I have 1700 domains and I need a simple way to advertise on the index pages

Discussion in 'Site & Server Administration' started by threehundred, Jun 30, 2007.

  1. #1
    I have 1700 domains that I need to have pointing to one single Index.php so that I can redirect them to different CPA offers. I need to know what is the simplest way for me to set this up. I do not think I will have a ton of traffic, as it will just be random type in traffic. I need to be able to update the index.php whenever I want to change the offer.

    domain1.com and
    domain2.com

    both show the same index.php

    What is the best way for me to go about setting this up?
     
    threehundred, Jun 30, 2007 IP
  2. bouncer69

    bouncer69 Peon

    Messages:
    978
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just use a simple PHP include function it will solve your problem.
     
    bouncer69, Jun 30, 2007 IP
  3. cleaning72

    cleaning72 Peon

    Messages:
    611
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    use SSEC system.
     
    cleaning72, Jun 30, 2007 IP
  4. threehundred

    threehundred Member

    Messages:
    88
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #4
    I could do that, but I'd have to set up each and every domain on the server, then drag the index.php into each of the domain folders. I'm working with someone now that is going to help me set this up. Thank you for your help.


    What is SSEC?
     
    threehundred, Jul 1, 2007 IP
  5. daryo

    daryo Well-Known Member

    Messages:
    1,343
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    110
    #5
    i have about 20 domains that i don't use, and I did this :
    if you have cpanel, go to addon domains, in New domain name: enter domain.com, and in Username/directory/subdomain Name: enter domain
    for every new domain you add using addon domains, for Username/directory/subdomain Name: enter the same : domain. Understand ? that's how they will all point to same folder. And then, in that folder, insert index.php and it's done ;) Hope this helps. + rep would be appriciated.
     
    daryo, Jul 1, 2007 IP
  6. Estevan

    Estevan Peon

    Messages:
    120
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    0
    #6
    hello
    all domains are locate in same server ? if yes i believed this help you The ServerAlias directive sets the alternate names for a host, for use with name-based virtual hosts.
    httpd.apache.org/docs/2.0/mod/core.html#serveralias

    example <VirtualHost *>
    ServerName server.domain.com
    ServerAlias server server2.domain.com server2
    # ...
    </VirtualHost>

    all domain use the same directory
     
    Estevan, Jul 1, 2007 IP