Open website locally

Discussion in 'General' started by statiic, Jan 8, 2011.

  1. statiic

    statiic New Member

    I would like to be able to open the websites on the server locally.
    The server is a development server and will not be made available on the internet, but I cant seem to figure out how to display a website.

    I tried the following

    http://ipadres/~domain.com
    http://ipadres:8080/~domain.com

    doesnt seem to work. Any suggestions?
     
  2. statiic

    statiic New Member

    With locally I actually mean from within the network.
     
  3. autogun

    autogun New Member

    This will do the trick - http://www.howtoforge.com/forums/showpost.php?p=228137&postcount=1

    I have this working on a production server. This gives me the option give my customers access to their website without editing hosts file or purchasing domain/pointing domain to the server.

    Domain ends up to be: www.<domain>.com/net/org.virt.<server domain>.com
     
  4. Toucan

    Toucan Member

    If you're only interested in viewing the site from one or two machines, it would be much simpler to open the hosts file on the local machine and add a line.

    Hosts files is in a directory similar to
    /system32/drivers/etc

    On a windoze machine.

    Add the name of the site you want to see followed by the ip address of the machine it is hosted on. There are example lines in that file hashed out.
     

Share This Page