I have two pc, both are connect at one router/modem (192.168.1.1) pc 1 is a server (ubuntu 12.04 + ispconfig 3) pc2 is a desktop pc (with win xp) pc1 in /etc/hosts I have 127.0.0.1 localhost 192.168.1.100 hostub in /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 dns-nameservers 127.0.0.1 8.8.8.8 8.8.4.4 from pc2 for connect at ispconfg I use https://192.168.1.100:8080 see that I use the server only for test and not must be visible externally, how can create sites with ispconfig and what write in the url of the 2nd pc for to see the sites?
You can use "fake" domain names for your sites like a domain ending .int for internal so you create sites with names like mywebsite.int in ispconfig. Then edit the hosts file on your windows xp computer (a file wh that name exists on all major operating systems like all windows versions, mac os and linux and add records like: 192.168.1.100 mywebsite.int in that file. You can access the sites then from your xp desktop by entering mydomain.int in the browser url field.
<quote>You can access the sites then from your xp desktop by entering mydomain.int in the browser url field. </quote> you want said mywebsite.int ? I does so, in the xp's file hosts, add 192.168.1.100 site.int and can see the site if write site.int; I not add nothing in the ispconfig site because this is the default server's domain name setting (etc/hostname) but if I add a site with ispconfig, example site1.int, for to see I must add in the xp's hosts file also this site ? 192.168.1.100 site1.int so work so for every site that I add with ispconfig I must change the file hosts under xp? or is there a tips?
Yes, unless you set up a local DNS server and configure your client PCs to use this DNS server as the primary one.
in my pc win xp in the file host now I have 127.0.0.1 localhost 192.168.1.100 site.int when I write in the url site.int ok I see the site of 2nd pc (server) if I create 2 subsites example: x1.site.int x2.site.int which is the solution for not add 192.168.1.100 x1.site.int 192.168.1.100 x2.site.int in the pc client? is always this or can do all directly with ispconfig? <QUOTE> Yes, unless you set up a local DNS server and configure your client PCs to use this DNS server as the primary one. </QUOTE> and exactly how can create a local dns and after configure my client pcs for to use?