Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
just set up a little home web dev server.... is ther anyway i can get a domain working with it? i heard i would have to use bind... then use my IP address as the dns server in the domains config. would this work? and are there any tutorials on it?
no they don't have to be involved, just any machine that you want to be able to translate one of your personalized DNS names will have to be told. However if its just your PC and you want to be able to type in 'www.jimmysmachine.com' and have it point back to your localhost's webserver then you don't even need DNS, you can just edit either your /etc/hosts or your /etc/resolv files.
Your machine will (depending on its config) check these files for hostnames->IPs first before going to DNS.
u mean if i just had 'www.digitalerrorsmachine.com' pointed to my ip '12.34.56.78', it would just go to the webserver ( port 80 already done on network )??
would that work with ftp.digitalerrorsmachine.com and mail.digit..... etc? or would i need dns for that?
Yes it'll work for all.
An example. To add a fake web address for my machine I did the following:
Edit /etc/hosts
It contained the line
127.0.0.1 localhost.localdomain localhost
I added the line
192.168.0.131 www.testresolve.com metatron
Where the IP is my network IP, the URL is something I made up, and metatron is my machine's hostname. Same thing should work for ftp.pickaname.org, etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.