ispconfig 3 in a small lan (localhost) only two pc
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)
in /etc/hosts I have
# 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
iface lo inet loopback
# The primary network interface
iface eth0 inet static
dns-nameservers 127.0.0.1 220.127.116.11 18.104.22.168
from pc2 for connect at ispconfg I use
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:
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
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 ?
so for every site that I add with ispconfig I must change the file hosts under xp? or is there a tips?
in my pc win xp in the file host now I have
when I write in the url site.int ok I see the site of 2nd pc (server)
if I create 2 subsites example:
which is the solution for not add
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.
and exactly how can create a local dns and after configure my client pcs
for to use?
|All times are GMT +2. The time now is 08:45.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.