Can anyone please help me out on building a DNS and web Server on my machine FC2
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.
Can anyone please help me out on building a DNS and web Server on my machine FC2
Right now I have registered a Domain at domainatcost.ca. and in order to fix my dynamic ip address, i have also registered at dyndns.org. I am trying to build a DNS server on my Fedora core 2 in order to make a connection between domainatcost.ca and dyndns.org.
I don't even know why I am building the DNS server because a friend told me to do so? However, right now he is not around me anymore.
What do I need to do? I know that my description of my problem is not clear. However, if anyone has any experience on this type of problem, he might know what I am asking exactly.
Basically, I am not quite sure how to write my /etc/named.conf file and zone file. I already read up a lot from the Fedora Core 2 bible, LDTP, and faq. However, I am still not heading to anywhere. Please, can anyone use very simple language to help me walk through this? Thank you any one can help me.
u can get enough help here provided ur problem is lined properly.. so explain your problem correctly.. and what webserver (most probably apache) you want to set up..
most of the distribuions already have apache with them and all you need to do is start the server.. particular configurations depend on particular needs..
as fedora is an off-shoot of red hat linux.. i am assuming that it has apache and you can check if /etc/httpd exists.. then something can start...
I have:
1. A dynamic IP address
2. a dynamic dns account at dyndns.org, ( for the sake of simiplicity of the following explanation, allow me to use bbb.dyndns.info to be the address i register at dyndns.org. The reason that I registered this because it helps me to resolve dynamic ip address problem.)
3. a domain at domainatcost.ca (for the sake of simplicity for the following explanation, allow me to use aaaaa.ca to be the domain i register at domainatcost.ca
4. My own http webserver that has Fedora Core 2 on it (having not much problem on setting up this webserver)
Please take a look of the following which I think how it should work:
When a client input aaaaa.ca to the address bar on his/her browser, his request will somehow be directed to bbb.dyndns.info because from there, the client is able to obtain the updated ip information of my web server. And from there, the client's request will reach my own http webserver, and my http webserver will respond to the client's request.
I do not really know if a DNS server is necessary. If it is, I have to setup on my webserver because none of the account from either domainatcost.ca or dyndns.org provides a DNS for me.
Loosly speaking: When someone types aaaaa.ca into their browser address bar, this is sent to the DNS name server that their ISP uses. This talks to other name servers - particularily the nearest root name server. This gets passed around until a server which knows your domain name and your IP addr is found. Then the IP is sent back to the ISP of the user who originally made the request. A request is then sent to your http server - and it sends the web page requested.
You have a domain name and an IP address registered. Presumably the nameservers already know about you?
So - is the trouble that you "own" an IP addr and you "own" a domain name - but they are not listed in any public name server?
WOW yeah~~~~ I am heading to somewhere right now.
I kind of get what is going on now. I am using redirecting method.
Saying that I mean, when a client input my domain name aaaaa.ca to their address bar, my domain name will direct the client's request to bbb.dyndns.info and bbb.dyndns.info will direct the client's request to my webserver. (I am doing this because I have a dynamic ip address on my webserver, and dyndns.org's dynamic DNS service can automatically update my webserver's new ip address regularly) By that, when a client put aaaaa.ca to their addreess bar, the address bar will change to bbb.dyndns.info.
Right now, I set another task for myself, I would like to find out how to let a client goes to my webserver directly from aaaaa.ca without going to bbb.dyndns.info and at the same time my dynamic ip address won't be a trouble.
Please any help will be appreciated. Thank you for anyone helps me out. I really appreciate.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.