Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2002
    Posts
    281

    pointing 1 domain to 2 ip addresses

    please do not blame me....

    is it possible to configure something like this inside bind and/or apache?

    xxx.xxx.xxx.xxx -> points to www.THEDOMAIN.com
    yyy.yyy.yyy.yyy -> points to www.THEDOMAIN/subdirectory

    I know it sounds crazy, but I'm trying to find a solution to a really strange situation. Should this be possible, could you pls tell me how I have to configure the second virtualhost?

    thanks indeed,
    a real alien
    Real name: Tar Mkdir, consort of Dir Rar
    Working for: Imperial Klingon Vine Impex
    Note: No, we do not beam vine! Don't offend the Empire with such requests!

  2. #2
    Join Date
    Jan 2002
    Location
    Midlands, UK
    Posts
    114
    Make another virtual host using the 2nd IP and set the document root in Apache to your subdirectory.

  3. #3
    Join Date
    Oct 2002
    Posts
    281
    sounds good... will this also work when resolved?

    f.eg. I have physically the files inside: /www.THEDOMAIN.com/subdirectory/user

    when somebody types www.THEDOMAIN.com/user will this automatically point to the second virtual host and therefore... work?

    thanks for taking time with this tricky stuff
    Real name: Tar Mkdir, consort of Dir Rar
    Working for: Imperial Klingon Vine Impex
    Note: No, we do not beam vine! Don't offend the Empire with such requests!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •