1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How do i install my script on sub domains???

Discussion in 'PHP' started by Ckrismoney, Jul 25, 2007.

Thread Status:
Not open for further replies.
  1. #1
    I need to install my script on subdomains how is it done, and will the categories that i have put on my script work the same on sub domains???:confused:
     
    Ckrismoney, Jul 25, 2007 IP
  2. ecentricNick

    ecentricNick Peon

    Messages:
    351
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It depends on how your server is set up. If you're running linux, you can host virtual subdomains, providing your DNS is set up.

    What this would mean is that...

    www.yourdomain.com
    abc.yourdomain.com
    123.456.yourdomain.com

    ....all go to the same place (ie run exactly the same scripts).

    You can then determine which host the user is visiting by parsing the HTTP_HOST server variable.

    Your DNS entry should be set up as *.yourdomain.com = <your ip>
     
    ecentricNick, Jul 25, 2007 IP
    Ckrismoney likes this.
Thread Status:
Not open for further replies.