Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
here's the deal: i'm running red hat 9, with an apache web server [php support for postgres and mysql, blah blah blah], i recently registered a domain name, and had a friend set up my name servers [i needed two]
everything was working fine, but i wanted to change the name of my red hat machine from "localhost.loacaldomain" to something else, and have an alias in my dns so i can just telnet to it directly via the name [not the ip]. the way i did this was in the networking window, in the dns tab, i changed the name, i also put the name in my dns [revers and forward, oh, im running BIND DNS server btw], and now when i boot up, i get an invalid "mydomain" and "myhostname" AND httpd can't find the server name
is there a way so that i can telnet into my linux box [on my network] using just the name of the machine? if so, how would i go about setting that up?
It is most likely that apache tries to do a nslookup on it's ip (the ip of the machine it is running on) and it unable to determine it's own host name.
You can add a line in the hosts file for your machine, add a host entery in your DNS server for this machine. Or in the httpd.conf file there is a option called ServerName .... adding a value here should solve the problem.
ok, i have added a line into my hosts file, and into my DNS server, but i still can not access my linux machine with just the name of the computer [which is what i want to be able to do], any help with this?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.