Results 1 to 2 of 2

Thread: HOSTS File

  1. #1
    Join Date
    Aug 2005
    Hello All

    I have had some good experience with the HOSTS file in the past, I can direct to and test my IIS system.

    I am trying to develop a site not on my PC, so I was thinking:

    Can I direct to my free site, lets say ,,, using the HOSTS file ? It would help me do some tests.
    If I cant do that, Can I find the IP address of and then put it in ? bear in mind might not be on a dedicated server.

  2. #2
    I don't think it would work.

    It looks like you want to put a HOSTS entry for that matches the IP address for so that the webserver on gives you the content of preloaded files.

    This would require you to configure the web server software to have a virtual host entry that matches and points to the contents located in

    Can your hosting provider do this for you? If not, you could be in for some trouble. You could add the domain to your account. Maybe that would do the configuration automatically, but then you may have to spend a few more $$$ to your hosting service.

Similar Threads

  1. help for etc/hosts
    By bongkietwins in forum Redhat / Fedora
    Replies: 3
    Last Post: 10-07-2007, 04:05 AM
  2. updatation of hosts file in windows xp
    By mikdadhussain in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 06-01-2007, 07:53 AM
  3. squid doesn't read local hosts file, why?
    By soulhealer in forum Linux - General Topics
    Replies: 3
    Last Post: 03-30-2006, 06:57 AM
  4. How to allow only specific hosts to log on via SSH
    By Compunuts in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 08-25-2003, 07:35 AM
  5. hosts file
    By elovkoff in forum Linux - Hardware, Networking & Security
    Replies: 7
    Last Post: 05-16-2002, 06:15 PM


Posting Permissions

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