How to upload to my host other people sites?

Discussion in 'Site & Server Administration' started by KNEB, Mar 31, 2007.

Thread Status:
Not open for further replies.
  1. #1
    I mean, I want to host in my own host another site I am affiliate with.

    Example:

    Original site: www.anothersite.com/?=myaffiliatelink

    My site: www.mydomain.com/anothersite

    I want to mask my affiliate link and host the other site in my own host..

    How to do that?

    Thank a lot
     
    KNEB, Mar 31, 2007 IP
  2. ccb056

    ccb056 Peon

    Messages:
    169
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't really understand the question
     
    ccb056, Mar 31, 2007 IP
  3. KNEB

    KNEB Peon

    Messages:
    931
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I guess that is something like this:

    - Create an empty folder.

    - Inside that folder create a file and name it index.php

    - The file should contain these lines:

    <?php
    header("Location: http://www.otherpeoplesite.com/aff=myaffiliatelink");
    ?>


    But I don´t knoe exactly how to proceed: ie, how to create the file, etc
     
    KNEB, Mar 31, 2007 IP
  4. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What do you mean? you cant follow these simple instructions?
     
    agnivo007, Mar 31, 2007 IP
  5. Neptune

    Neptune Well-Known Member

    Messages:
    1,465
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    108
    #5
    Open notepad and insert the code above and replace it with your information. Save that file as index.php. Now go to your sites root directory and create a new folder in there or directory. Upload the index.php file you previously created into that folder. You are done.
     
    Neptune, Mar 31, 2007 IP
Thread Status:
Not open for further replies.