HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   using ISPConfig as a local dev server (http://www.howtoforge.com/forums/showthread.php?t=59877)

electronico_nc 5th December 2012 08:27

using ISPConfig as a local dev server
 
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.

falko 5th December 2012 14:23

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

electronico_nc 5th December 2012 21:59

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.

electronico_nc 7th December 2012 04:09

:o
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.


All times are GMT +2. The time now is 11:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.