View Full Version : dns for websites
kasemodz
January 21st, 2006, 12:57 PM
I have a couple of websites running in my lan. They are just ftp and my media server. Right now I have to enter the ip address and the port to connect to. I don't mind doing this, but is there any program or something out there that would mask this ip and have words/numbers as address?
dbee
January 21st, 2006, 01:16 PM
try your /etc/hosts file
kasemodz
January 21st, 2006, 01:35 PM
i tried that already, however it doesn't work it takes me to some random site. This is what I put. 192.168.15.101 tightvnc.ondemand.org I also checked /etc/host.conf and it did have host before bind. I don't know how to configure this.
kasemodz
January 21st, 2006, 02:13 PM
One thing is that when I add these hosts, it works fine from my server just not anything else in my lan.
Horndog
January 22nd, 2006, 06:02 PM
I have a couple of websites running in my lan. They are just ftp and my media server. Right now I have to enter the ip address and the port to connect to. I don't mind doing this, but is there any program or something out there that would mask this ip and have words/numbers as address?
Just get yourself a Domain Name and to access your ftp just inter ftp://yourDomain.com/ and people will connect to the right port (If you use a standard ftp port)
BTW, there are sites that offer free Domain Names but not very elegant.
MJN
January 22nd, 2006, 06:05 PM
One thing is that when I add these hosts, it works fine from my server just not anything else in my lan.
Ah, well that nugget is the key - /etc/hosts is only applicable to the machine it's on.
Configure the /etc/hosts file (or whatever similar file their OSs may use) on your other PCs with the same entries as you've done on your server.
Mathew
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.