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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a linux server that I set up to do a specific task. It's running and working. Now, I am unsure of how to bind the domain name to my IP address. I am using Fedora 8. Can anyone tell me how I would do this or point me in the right direction??
So what I mean is lets say that I have a registered domain name(www.blah.com). How do I map that domain name(www.blah.com) to my computer at home? I changed the /etc/httpd/conf/httpd.conf file so that it reads ServerName www.blah.com:80. I'm assuming I will need to do some other things as well. Just wondering if someone can point me in the right direction. Thanks!
Well, lets start off with something simple.
billymayday was right, you do need an external NS servers.
I also suggest ZoneEdit, It might be a bit aggressive towards new users but can be mastered in minutes actually.
Go to your registar (where you bought the domain) and after setting up your domain on ZoneEdit.com enter in the register domain info the nameservers that ZoneEdit has allocated for you.
After you have completed this step I recommend you go back to ZoneEdit and check what is your IP, and in there (ZoneEdit that is), look for the name servers, enter your IP as the NS servers and wait, it might take 24-48 hours to update at first, but once the NS appear to forward to ZoneEdit.com nameservers, each change you will make there will be instant.
Meaning: If you change your IP because you disconnected, and you go to ZoneEdit and change to your new IP there, the change will become LIVE instantly.
I hope it helped, feel free to ask any thing else if you need more help
First action: check that you can ping your box by domain name. Actually, unless you do want something complicated with virtual hosts, that should be enough.. Your web server can completely lack any information about domain it is running on, and still serve pages (check that it does that when you put IP in the browser address bar). ServerName allows it to give saner error messages in some situations, but even that is optional. Usage of VirtualHosts etc is well described in Apache manual on httpd.apache.org , but you should only do that after your server works via both IP and domain name.
O I forgot to mention that I bought a domain name(www.blah.com) on yahoo and they provided me with DNS nameservers. So I am assuming that I don't need Zoneedit. I have a static IP address from my ISP and would like my domain name to link to my static IP. So when I click on www.blah.com I want it to point to my /var/www/html/index.html page on my home fedora 8 server. Just unsure how to do this?
Ok, so I got my server running for a little bit. I had to forward port 80 on my router to my server's private IP address. Since I bought the domain name on yahoo, I had to go into my account and do a mask forward of my domain to my IP address. I then changed my httpd.conf by adding..
Also for the Virtual Host part...
<VirtualHost 192.168.1.21 126.96.36.199>
Where 192.168.1.21 is my private ip address behind my router, and 188.8.131.52 is my public ip address. So it was working for me and then I forgot that I have a dynamic IP address. It seems like what I did earlier won't work now since I don't have a static IP address. I was looking at billymayday's link that he added on his post and it gave an example using dyndns. So if I were to use dyndns do I have to configure the VirtualHosting part on the httpd.conf file or do I just comment it out? Also, when I configure my yahoo account, since I have a dynamic IP address what would I configure on there to have them forward traffic from domain to my IP address at home. Lil confused so any help would be greatly appreciated .
As for dynamic IP, I would go to dyndns/freedns.afraid.org/no-ip.com and register some randomly generated (ecology reasons: nobody will see it, so leave better names to those who have better use for them; and your intermediate domain name will be unguessable, which is sometimes good) domain name and setup dynamic IP autoupdate. Then I would make Yahoo! control panel make your own domain have only CNAME record to the autoupdated domain.
Disclaimer: it may be so that Yahoo! has dynamic IP autoupdate feature and even sane documentation for it, so check that first.
Ok, I signed up for Dyndns.org and received a user/password and set up a domain name blah.homelinux.com. Now I've been reading that I have to edit my Linux /etc/ddclient.conf file. This is what I changed in my ddclient.conf file. Can anyone tell me if this is right?
Ok, it looks like everything worked. I did a mask forward on my yahoo domain control center to my dyndns.org hostname(niner710.hostlinux.com) and then changed the CNAME record to niner710.hostlinux.com).
Seems like I configured the ddclient.conf file correctly, which I posted in my previous post.
Anyways, appreciate the help from everyone. Thanks!