Putting up 2 similiar sites (help with sourcing them)

Discussion in 'Site & Server Administration' started by HideIp, Dec 3, 2006.

  1. #1
    Hi,
    Okay I have 2 proxy sites that I want to put up. Both are php and are on the same server. The first one is already up. I figured I could take the code from the first one and change the banner around and colors and what not but basically the design is the same. Now when I go to put the 2nd one up on my server, the site displays but the proxy isnt functional. How do I go about fixing this problem? I named the first proxy index.php and the 2nd one myspaceproxy.html. Is there something wrong with this? Please help someone. Thanks
     
    HideIp, Dec 3, 2006 IP
  2. vbwiz

    vbwiz Peon

    Messages:
    184
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you own the server, you can put the other site on a subdomain. Or another option is to create a new account through WHM (Hopefully you have it) for each domain name.

    Let me know if it works. Should be easy to configure the WHM. Note that this is different from the standard CPanel.

    One more thing is, you can't have two index files, even with different names under the same dir. The internet will only load the one named index.php
     
    vbwiz, Dec 3, 2006 IP
  3. HideIp

    HideIp Active Member

    Messages:
    509
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Thank vbwiz. I actually just figured it out. I had my 2nd proxies script source labeled as /test.php instead of /index.php. I am so dumb :rolleyes: .
     
    HideIp, Dec 3, 2006 IP
  4. vbwiz

    vbwiz Peon

    Messages:
    184
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No problem, glad you did.
     
    vbwiz, Dec 3, 2006 IP