View Website Internally (How To)

Discussion in 'General' started by Broady, Jun 8, 2007.

  1. Broady

    Broady New Member

    Hi All,
    I am fairly new to Linux and new to ISPConfig. I have just followed the ISPConfig documentation and created a website (

    I am not sure how to actually view the website. What I mean is that I am trying to view the site inside my network. So using always pops up the login box for my DLink DSL-604T router.

    My internal IP address for my Linux server is

    So I guess I have to view my site by going to[website]
    I am not sure what the rest of the url should be. This is the first site created in ISP.

    My current host file looks like this:
    Code:   localhost.localdomain localhost  server1  localhost.localdomain
    i hope this all makes sense. Mainly I want to know how to view my website and view it internally if possible.

    Any help is greatly appreciated
  2. chuckl

    chuckl New Member

    You need to add a line to the hosts file (on the machine from which you are trying to access the server).

    In your example above it would be below the 2 listed.
  3. Broady

    Broady New Member

    How exactly would I add the above to the hosts file?

    Like this: broadyswebdesign ?

  4. chuckl

    chuckl New Member

    Exactly as I wrote it, or your example is probably fine as well. Just make sure there is a space or 2 between the IP address and the name. If it is a Windows box, be very careful of Notepad, Wordpad etc as they love adding a 'hidden' .txt extension, which will break everything. A DOS commandline edit is safest.
    On a Windows system, the hosts file is hidden off the main Windows folder on C:

    e.g. C:\Windows\system32\drivers\etc\hosts
  5. Broady

    Broady New Member

    Thanks all for your help, I got it working. I changed the hosts file on Windoze and the Linux Box and now I can view the site by

Share This Page