WWW failover me DNS

Symeonidis Alexandros admin at yourmail.gr
Mon Jul 25 05:38:31 EEST 2005


egw protino mia poly pio apli lisi...

stinis sto box1 bind, ke to setaris na exi:
ns1.1234.gr -> 1.2.3.4

stinis sto box2 bind, ke to setaris na exi:
ns2.1234.gr -> 5.6.7.8

ta dilonis stin eteria filoksenias domain,
ke stinis ton apache gia to domain,
me NameVirtualHost entry, ws:
10.0.0.1 sto site afto, ena lan ip pu tha
ine binded ke sta dio box...

etsi, ke oi dio apahce dexonte to site sto 10.0.0.1
pragma pu diefkolini to dns setup ke apla kanis
copy ta zones....

telos, kanis ena firewall rule to eksoteriko ip na ginete routed stin port
80 tu internal ip, efoson thes dedicated ip gia to site afto, alios ke sketo
etsi pezi!

Thats all!


efkoloteri lisi:

pernis ena hosting plan, akomi ke me ena dolario ise ok,
arki na exi php!

ke kanis to eksis:

ena php script pu kani connect ke sta dio box na di an ine up...

ke kani redirect se opio ine up...

i oli diadikasia redirect ktlp ap to hosting plan sto real box su tha ine to
poli 1 sec...

Regards,
Alexandros Symeonidis
Pc-Center.gr Support


"Spiros Bolis" <sbolis at freemail.gr> wrote in message
news:mailman.764.1121154281.5702.linux-greek-users at lists.hellug.gr...
> To problhma exei ws e3hs:
>
> ena mhxanhma me IP px. 1.2.3.4 peftei gia agnwsto logo kai exei epanw
> toy to
> http://www.1-2-3-4.gr
> borei na yparxei ena deytero mhxanhma kapou alloy p.x. me IP 5.6.7.8
> wste otan peftei to 1.2.3.4, na to katalabainei to DNS kai na gyrnaei to
> entry www.1-2-3-4.gr sthn IP 5.6.7.8
>
> To sigoyro einai pws tha prepei na katebei apelpistika xamhla to TTL ths
> zwnhs 1-2-3-4.gr
>
> Dieykrinhsh: DEN einai balatzarisma fortioy (load balancing) ayto poy
> thelw, einai ayto poy dinei to
>
> http://www.simplefailover.com/?source=gaw
>
> (me ena grhgoro psa3imo sto google)
>
> aaa, to kyriotero.. an ginetai me BIND kai oxi me PowerDNS
>
> Eyxaristw,
>





More information about the Linux-greek-users mailing list