using ISPConfig as a local dev server

Discussion in 'General' started by electronico_nc, Dec 5, 2012.

  1. Hi all,

    Well, I would like to use an ISPConfig installation as a local (LAN) web site dev server.

    There is another server (running ISPConfig3) that is the real one with clients/websites all OK and running.

    This local server would be a test server, to dev sites, test them and upload sites from this one to the real one once a site is OK.

    LAN PCs (running Win7) are IP/DNS addressed from an ADSL router.

    wan real server : domain.tld
    wan test server : local.domain.tld
    lan test server : 10.10.10.6

    Real server has domains :
    domain1.tld
    domain2.tld
    domain3.tld

    I would like the test server to have this ones :
    local.domain1.tld
    local.domain2.tld
    local.domein3.tld
    Not especially accessibles from WAN, a LAN access would be enough.

    I can edit the %systemroot%\system32\drivers\etc\hosts file on the develloper's PC to point to the ISPConfig3 test server, but I'm confused on how to setup the DNS zones on this test server.

    Thanks in advance for your time.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You don't need to set up any DNS zones if you modify the hosts file.
     
  3. Hello Falko,

    Thanks for the answer.

    Let's say test sites are :
    local.domain1.tld
    local.domain2.tld

    Which URL syntax should I use to access the wanted sites from the developper PC ?
    something like :
    http://10.10.10.6/local.domain1.tld
    ?

    Thanks again.
     
  4. :eek:
    I had to install a local ispconfig3 server to test...
    So as Falko answered, once the hosts file is setup with local domain, typing in broswer :
    http://local.domain1.tld
    is OK, once the website is setup in ispconfig :)

    Thanks again for the answer.
     

Share This Page