On 1:19:14 pm 11/19/04 Bit Takeshi <[EMAIL PROTECTED]> wrote: > > Cha`o ca'c ba'c > > > > Em du`ng ADSL, dda(ng ki' 1 ca'c dynamic DNS la` > > myhostname.ath.cx cha(?ng ha.n. Tu+` router em no^'i to+'i > > 2 ma'y, 1 windows( ip = 192.168.1.11), 2 la` linux( ip = > > 192.168.1.22). web server dda(.t o+? .22, port 80 cu?a > > router fwd dde^'n ma'y .22 > > > > Ba^y gio+` ne^'u tu+` ngoa`i connect to+'i > > myhostname.ath.cx thi` OK. Nhu+ng ne^'u tu+` ma'y Windows, > > hay chi'nh ma'y linux ma` connect to+'i myhostname.ath.cx > > thi` la.i kho^ng dduo+.c. > > > > DDie^`u na`y pha't sinh ra va^'n dde^` khi em test > > softwares tre^n .22 khi em ngo^`i o+? .11 vi` tu+` 11 em > > chi? access duo+.c .22 web server qua > > > > http://192.168.1.22/ > > > > ma` kho^ng the^? qua http://myhostname.ath.cx/ > > > > -> Path, URL settings bi. cha^.t he^'t ne^'u mi`nh connect > > tu+` ngoa`i. > > > > Ca'c ba'c co' gia?i pha'p gi` kho^ng nhi?
Theo em thi` the^' na`y: Vi` khi trong LAN, ba'c du`ng http://myhostname.ath.cx, dns se~ pha^n gia?i tha`nh 1 ip thu+.c na`o ddo', dda^y la` ip tre^n ca'i ADSL router. Vi` va^.y khi ba'c browse o+? trong vo+'i address la`: http://myhostname.ath.cx thi` thu+.c su+. la` ba'c ddang browse webserver cu?a router. Co`n khi o+? be^n ngoa`i browse http://myhostname\.ath.cx thi` la.i ddu+o+.c la` vi` lu'c na`y router nha^.n ddu+o+.c 1 request tu+` external interface thi` no' mo+'i forward va`o ma'y .22 trong internal interface Ca'i na`y em chi? mo+'i nghi~ ra tho^i chu+' chu+a kie^?m tra chu+a ne^n kho^ng sure. Ma` ne^'u ddu'ng va^.y thi` ba'c la`m theo ca'ch cu?a ba'c Larry cha('c la` OK. Trong Winbloze thi` ba'c su+?a file: hosts trong \windows\system32\drivers\etc Tua^'n ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ VietLUG-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/vietlug-users
