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 am fairly new to Linux and have Fedora Core 3 installed on my PC. My intention was to set up the Apache Web Server to host a small website. Will probably only be using one cgi script, and not many html pages. I have a DSL connection but no static IP address (I called my ISP and they said they don't provide static for residential), so I will have to use dynamic IP addresses. I really don't know where to start to get the server up and running. I have started the server and accessed it locally, including a cgi script, and everything seems to work fine. Now, I just want it available to the public. I have already registered my domain name. How do I get my domain name to point to my server? Do I also have to set up the DNS service on my Linux PC also? Is that even possible? I have heard of DNS service providers like DynDNS. But it seems that with them my domain name would look like mydomain.homelinux.com, instead of mydomain.com. Any help would be greatly appreciated.
Do I also have to set up the DNS service on my Linux PC also? Is that even possible?
If you have domain name but no DNS service than you would have to run a dns server. BIND comes with almost all linux distro but if you don't have it on your machine...it's pretty easy to get it through yum.
You would have to run a dynamic IP updater to update your ip address to continuosly point to your domain name. DDClient is an excellent ip updater and I use it all the time...its available at http://ddclient.sourceforge.net
With DynDNS you can also have custom DNS...where they give you a domain name and also the DNS service if you choose.
If you registered a domain name with a registrar they normally have web based tools you can log in to and set the IP Address to point to your server / router depending on how you are setup.
Since most broadband services don't force ip changes on DHCP addresses very frequently you can go for months without
having to update the DNS entry.
Secondly you can use dynamic dns services that can automatically update the ip address of your server with client programs that run locally on the server as "heartbeats". When the ip changes they will automatically update the DNS entry for you. Each dynamic dns service has their own heartbeat programs - so check that out before signing up to anything whether it is free or not. Crawl the open source regular places for other tools that work in a similar fashion.
Google 2y.net dyndns for more info (also lovingly refered to as STFW) :-)
PS the dyndns type sites allow you to park your domain name and use it instead of somefree.something.org. You will have to pay a small fee for the privilege.