Split site apps in two servers

Discussion in 'Site & Server Administration' started by serkom, Nov 7, 2010.

  1. #1
    I have a php forum and an asp blog, and i want to host the two apps in different servers.
    I will install the asp blog in the root of the domain, and the php forum in a subcategory.

    So, it will be like this:
    http://www.domain.com - asp blog
    http://www.domain.com/forum/ - php forum

    What is the best way to do this ?
    How can i do this as far as dns related-stuff ?
    Should i install the php forum in a category in the php server, like all domains are, or in a subcategory inside it ?

    Am i going to have problems with the forum script (or addons) because of this situation ?

    Never done this before and i'm completely lost.
     
    serkom, Nov 7, 2010 IP
  2. RonBrown

    RonBrown Well-Known Member

    Messages:
    934
    Likes Received:
    55
    Best Answers:
    4
    Trophy Points:
    105
    #2
    You can't do that in the way you want to i.e. over 2 different servers - at least not without a lot of mucking about and it would never allow the same domain to operate on both servers.

    Why not set them up as

    http://blog.domain.com, and
    http://forum.domain.com

    and then it would be simple and wouldn't require any trickery or strange set-up.

    If it was me, I'd just put them on the same server, save myself some worry, and then you could set them up exactly as you propose.
     
    RonBrown, Nov 7, 2010 IP
  3. CreativeArmory

    CreativeArmory Peon

    Messages:
    44
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Look into load balancing for your server if you need more than one due to heavy load. Otherwise just keep them on the same server or use a subdomain.
     
    CreativeArmory, Nov 9, 2010 IP
  4. TheHostGenie

    TheHostGenie Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It would be easy if you were to name the forum something like forum.domain.com and host it on a separate server, and point an A record to that server's IP with your registrar.
     
    TheHostGenie, Nov 10, 2010 IP