Setting up Vitrual Host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • somaskarthic
    New Member
    • Aug 2006
    • 60

    Setting up Vitrual Host

    Hi

    I need to set up a virtual host . Let me know the steps involved to set up a virtual host. So that , though the internet connection is not available , i could access my intranet pages as www.example.com .

    Please shower ur inputs.

    Thanks in advance.

    Somaskarthic
  • sashi
    Recognized Expert Top Contributor
    • Jun 2006
    • 1749

    #2
    Originally posted by somaskarthic
    Hi

    I need to set up a virtual host . Let me know the steps involved to set up a virtual host. So that , though the internet connection is not available , i could access my intranet pages as www.example.com.

    Please shower ur inputs.

    Thanks in advance.

    Somaskarthic
    Hi there,

    Firstly you need to insert <www.example.co m> to the <hosts> file, kindly refer to below.

    C:\WINNT\system 32\drivers\etc
    Code:
    <your_ip_address> www.example.com
    Secondly follow the steps as outlined in below attached link, hope it helps. Good luck & Take care.

    Virtual Host examples for common setups

    Comment

    • sashi
      Recognized Expert Top Contributor
      • Jun 2006
      • 1749

      #3
      Hi there,

      Hope you are working on Windows machine, if you are on Linux box the hosts file can be found in "/etc/hosts". Good luck & Take care.

      Comment

      Working...