how to test a site on local network

Discussion in 'Installation/Configuration' started by fuchsbox, Dec 4, 2005.

  1. fuchsbox

    fuchsbox New Member

    I installed ispconfig on debian sarge, a great tool!

    I prepare my new server on my local network, and going to replace my live production server if all went ok.
    The ip address for the server is, and I want to test my sites from another machine on the network.

    - What should I set for "Hostname" and "Domain" on the site definition page?
    - I assume, the "Create DNS" and "create DNS MX" fields must be left blank, right?
    - What url should I enter on the testing machine in order to reach the site?

    I have read a lot of forum threads, but can't figure out, sorry.:confused:
  2. misterm

    misterm Member HowtoForge Supporter

    Hello rob

    Locally, that never goes, believe me, I have make the experiment, you must see it on Internet with the DNS.

    Well with you

  3. falko

    falko Super Moderator Howtoforge Staff

    The hostname and domain of the web site you want to create, e.g. "www" and "" for the web site

    It depends. As you want to test in your local network only, there's two ways to reach your new site under the hostname and domain you specified (e.g.
    1) You can modify the hosts file on the machine that you want to use to access the web site (put into it and let it point to Also have a look here:

    2) You set up a DNS server only for your local network where you create records for the web sites created on your ISPConfig system, and tell your client machine to use this DNS server as first name server.
    You can either set up a totally new machine, or you can simly use your ISPConfig system as name server, using the ISPConfig web interface to create the records. Then you can check "Create DNS" and "Create MX", or you manually create your records under "DNS-Manager" in ISPconfig.

    If you do as I've told you above, you can use :)
  4. fuchsbox

    fuchsbox New Member

    I choosed this option, it works, thanks.

    Is there a solution for testing the mail server (postfix) on my local network as well? I mean can I send/receive emails on my testing machine to/from the Ispconfig users, if both machines are placed on local 192.168.0.x ip-addresses.

  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes. Create a new account in your email client and use the IP of your server as SMTP and POP3 server in your mailclient.

Share This Page