Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Virtual host problem.

    Halo, I'm having a complex configuration issue. I have one host name. I have two different directory with different content. I require when user from internet access to virtual host ip, the will go to content1. and if user from local local network access example.comthey will go to content2 to virtual host ip will be I tried many ways but not having clue how to resolve the issue. Let me break the scenario below



  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    You have tried many ways but you did not state what you have tried.

    This could be done with
    HOST file

    So what have you tried already?


    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    sorry, I did not have tried that way, I've thought only httpd.conf file would do the trick. So i have studied apache server virtual host options. But none of those worked. I think that would not be possible only with server side configuration. Later i though i would do it by redirecting local traffic to with advance router and internet traffic will remain as it is.

  4. $spacer_open
  5. #4
    Did you figure it out. I never could get mine to work and just used the same ip on all the sites.

Posting Permissions

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