jleaman Posted January 26, 2004 Report Share Posted January 26, 2004 Can any one please help me with snf i have it running. but that is not my problem. I want to know what i have to change so i can view my server from the internal ip's but from the http:// address... what do i change : O) Please help.. J' Quote Link to comment Share on other sites More sharing options...
paul Posted January 26, 2004 Report Share Posted January 26, 2004 ok I've read a post previously about from you right? in a browser (from thew outside world) you type in www.MY-DOMAIN.com and see your website ? and from inside your network you type in www.MY-DOMAIN.com and see nothing ... is that right ??? if that is the poroblem, then you need a local DNS running from a termional type dig www.MY-DOMAIN.com I bet it returns a public IP address (203.96.x.x) or something right ? from the outside world this is good, it SHOULD return a public IP address. But from inside it should return a private IP address. if this is your problem then you need a local dns, or to run "views" in bind I'll show you the resultd from my DNS server from outside: paul@firewall paul $ dig @ns1.loudas.com loudas.com ; <<>> DiG 9.2.2 <<>> @ns1.loudas.com loudas.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8676 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;loudas.com. IN A ;; ANSWER SECTION: loudas.com. 86400 IN A 203.96.212.68 ;; AUTHORITY SECTION: loudas.com. 43200 IN NS ns1.loudas.com. loudas.com. 43200 IN NS ns2.loudas.com. ;; ADDITIONAL SECTION: ns1.loudas.com. 43200 IN A 203.96.212.68 ns2.loudas.com. 43200 IN A 203.96.212.79 ;; Query time: 26 msec ;; SERVER: 203.96.212.68#53(ns1.loudas.com) ;; WHEN: Tue Jan 27 07:50:55 2004 ;; MSG SIZE rcvd: 112 paul@firewall paul $ it returns a PUBLIC IPO address :D 203.96.212.68 from inside: paul@trinity paul $ dig @ns1.loudas.com loudas.com ; <<>> DiG 9.2.2 <<>> @ns1.loudas.com loudas.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61281 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;loudas.com. IN A ;; ANSWER SECTION: loudas.com. 43200 IN A 192.168.1.2 ;; AUTHORITY SECTION: loudas.com. 43200 IN NS ns1.loudas.com. loudas.com. 43200 IN NS ns2.loudas.com. ;; ADDITIONAL SECTION: ns1.loudas.com. 43200 IN A 192.168.1.2 ns2.loudas.com. 43200 IN A 203.96.212.79 ;; Query time: 0 msec ;; SERVER: 192.168.1.2#53(ns1.loudas.com) ;; WHEN: Tue Jan 27 08:54:07 2004 ;; MSG SIZE rcvd: 112 paul@trinity paul $ it returns a a private IP address :D 192.168.1.2 thats coz I use views with bind Quote Link to comment Share on other sites More sharing options...
jleaman Posted January 26, 2004 Author Report Share Posted January 26, 2004 so here is what i got.. Last login: Sun Jan 25 18:44:12 on ttyp1 Welcome to Darwin! jason-leamans-Computer:~ jason$ ssh -l ***** 192.168.1.30 Warning: Permanently added '192.168.1.30' (RSA) to the list of known hosts. root@192.168.1.30's password: Last login: Sun Jan 25 15:36:14 2004 [*******]# dig http://diy-audio.curtek.com ;; Got SERVFAIL reply from 127.0.0.1, trying next server ; <<>> DiG 9.2.3rc2 <<>> http://diy-audio.curtek.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 50337 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;http://diy-audio.curtek.com. IN A ;; AUTHORITY SECTION: curtek.com. 1800 IN SOA ns1.mydyndns.org. zone-admin.dyndns.org. 2003110704 10800 1800 604800 1800 ;; Query time: 318 msec ;; SERVER: 24.67.253.212#53(24.67.253.212) ;; WHEN: Mon Jan 26 07:05:55 2004 ;; MSG SIZE rcvd: 125 so now what do i need to change so this will work.. Quote Link to comment Share on other sites More sharing options...
paul Posted January 26, 2004 Report Share Posted January 26, 2004 install bind, and run a local DNS server on your network, or go through all the computers on your network, and add to /etc/hosts 192.168.1.30 diy-audio.curtek.com Quote Link to comment Share on other sites More sharing options...
jleaman Posted January 26, 2004 Author Report Share Posted January 26, 2004 i added you to my aim. are you on.. ? here is my passdiy i don't know what you mean add all this to my computer's.. I run mac and linux Or do you mean run this on my mandrake snf Box.. Quote Link to comment Share on other sites More sharing options...
paul Posted January 26, 2004 Report Share Posted January 26, 2004 on your linux machines you can edit /etc/hosts as root su - password: ****** {insert favorite text editor here} /etc/hosts --> Add a line like this 192.168.1.30 diy-audio.curtek.com in Mac OSX you can do exactly the same thing as root. if you don't have root access run Hard Drive-->Applications-->Utilities-->net Info Manager under net info manager in one the menus is "enable root access" then open a terminal, su - root, then edit /etc/hosts ... vi is installed on macOSX ;) if your are running OS9.x or earlier I can't help ... I don't JACK about OS 9 or earlier ... but ezroller probably does ;) Quote Link to comment Share on other sites More sharing options...
jleaman Posted January 26, 2004 Author Report Share Posted January 26, 2004 Thanks man that is so wicked... ok... my next question.. i dont know if i should start a new thred.. how do i back up mysql. i have a few things on my server that are important. the copper-mine and gallery and blog.. Blog and copper-mine use mysql.. id like to know what is the best way to back my server up incase a falure or problem. i like backing it up then copying the file to my powerbook because it has a dvd-r burner in it.. what is the best way.. to back up msql so i dont loose all the data base info.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.