amorpheus
08-09-2003, 02:02 AM
im soo mad im very confused about how to set up my DNS ...i want to host my website...and i duno how to set up everything and get the dns names and ip from my comp....:-\ sorry if i cant explain very well.. THANKS
|
Click to See Complete Forum and Search --> : setting up DNS...confused amorpheus 08-09-2003, 02:02 AM im soo mad im very confused about how to set up my DNS ...i want to host my website...and i duno how to set up everything and get the dns names and ip from my comp....:-\ sorry if i cant explain very well.. THANKS Jo.Mo. 08-09-2003, 02:13 AM i do believe www.apache.org has decent documentation on what you need. amorpheus 08-09-2003, 02:17 AM okk ill check it out amorpheus 08-09-2003, 02:21 AM It doesnt have anything on how to set up a DNS server mdwatts 08-09-2003, 11:51 AM See if you have the How-to's installed on your system. Mine for DNS are in /usr/share/doc/HOWTO/en-html/DNS Check to see if you have bind/bind9 installed. rpm -qa | grep bind Mine is bind9, so I list the files installed by the bind9 rpm package and find the documentation. rpm -ql bind9 Searching www.google.com/linux for 'dns server' or 'bind dns' will find lots of tutorials/guides etc. to help. vrek 08-09-2003, 01:55 PM wait, are you hosting a website or making a DNS server? The are not the same and neither requires the other. Hayl 08-09-2003, 02:10 PM Originally posted by vrek wait, are you hosting a website or making a DNS server? The are not the same and neither requires the other. u beat me to it. i was about to say the exact same thing. amorpheus 08-09-2003, 08:15 PM Yeh i want to host my website.. so my friend told me to set up a DNS server... vrek 08-09-2003, 09:20 PM To host a website you do NOT need DNS. What you do need is a webserver. The most common and the one most say is the most powerful is apache (http://www.apache.org). There are plently of documentation on the site. If you need more check the library here or post a message. Do not worry about DNS. If you have a dynamic IP(probable if you have dial-up or some broadband) check out dyndns.org for a Domainname(you can get a free one like yourname.dyndns.org) or pay for a real one(yourname.com) amorpheus 08-10-2003, 12:39 AM okk.. i know about apache i got that installed... but how do i configure my domain?? like configure the DNS to my computer so that when people go to mysite.com they go to my HTTP server....??? u know what im saying? tanna 08-10-2003, 12:51 AM dnsalias.org gives you a alias for you ip. Apache, if you compiled it, can be started by: /usr/local/apache2/bin/apachectl start (make sure your root) and apache it up. Your adress is your ip. Your index.html and all your content you want to show will be in /usr/local/apache2/htdocs/ and to stop the server use /usr/local/apache2/bin/apachectl stop and make sure your root. If you installed by other than source, those directories for it maybe in /etc/httpd/. tanna 08-10-2003, 12:58 AM meh. vrek said dyndns.org. That's better than the one I mentioned. vrek 08-10-2003, 09:47 AM Originally posted by amorpheus okk.. i know about apache i got that installed... but how do i configure my domain?? like configure the DNS to my computer so that when people go to mysite.com they go to my HTTP server....??? u know what im saying? Also make sure to look in /etc/apache/httpd.conf it has a bunch of options you should atleast check and probaly change. It is well documented but long so it will probaly take 30-45 minutes to go through. Good luck roadorange 08-10-2003, 09:55 PM Originally posted by vrek To host a website you do NOT need DNS. What you do need is a webserver. The most common and the one most say is the most powerful is apache (http://www.apache.org). There are plently of documentation on the site. If you need more check the library here or post a message. Do not worry about DNS. If you have a dynamic IP(probable if you have dial-up or some broadband) check out dyndns.org for a Domainname(you can get a free one like yourname.dyndns.org) or pay for a real one(yourname.com) oh my god. if i know there's free DNS, i would just get one rather than purchase a real one. i just bought a real one before i read your article. >.<~~~~~~~~~~~~~~~~ sigh.......................... - . - amorpheus 08-17-2003, 11:43 PM THANK YOU GUYS! amorpheus 08-18-2003, 01:17 AM i went to DynDns.org and i got dynamic dns or whatever and i set up 1...it when i go to it it brings up my linksys setup... and not my apache htdocs...dont know what to do chort 08-18-2003, 02:51 AM That's not good, that means your Linksys router is listening on the default HTTP port (80). There should be a place in the router configuration to change the port it uses. I would suggest that you change it to something above 1023 and do it ASAP (just make sure to write down what port number you use). By the way, most proper network devices will not allow traffic on their external interface that comes from an internal network. If you're trying to connect to your Internet IP from inside your network, it most probably will not work (nor should it). You want to go to http://the internal IP of the box your website is on/ that should bring up the Apache default page. Maktos 12-29-2003, 11:09 PM dyndns.org (same as dynalias.org) charges you quite a bit if you want to use your own domain name. I only found zoneedit.com - but many things don't work with them. Does Apache work with Zoneedit? I heard (from Apache) that it causes hangups and crashes if Zoneedit is installed and running. I have a domain name, and a WinXP system. I'm getting a REAL machine in a few days which I will install XP on and use for everyday stuff. The machine I'm using now (AMD K6 350) will have RedHat 9.0 installed, and will become my web server. I have a Linksys Router - and that's another area I'm trying to figure out. What do I have to do, in order for incoming requests to go to the right place? I have an internal network of 4 PCs, and they all get their IP from the router (DHCP). Any advice or pointers would be most helpful. Matthew McDevitt j79zlr 12-29-2003, 11:53 PM Originally posted by chort That's not good, that means your Linksys router is listening on the default HTTP port (80). There should be a place in the router configuration to change the port it uses. I would suggest that you change it to something above 1023 and do it ASAP (just make sure to write down what port number you use). By the way, most proper network devices will not allow traffic on their external interface that comes from an internal network. If you're trying to connect to your Internet IP from inside your network, it most probably will not work (nor should it). You want to go to http://the internal IP of the box your website is on/ that should bring up the Apache default page. Your router is not listening to it, it is not configured properly. You can only access the router from inside your LAN. When you connect to your site from within your LAN, you only hit the router and back. To make it a little more clear, here is a tracert to my home based site from inside my LAN: traceroute to j79zlr.homeunix.com (66.167.69.217), 30 hops max, 38 byte packets 1 192.168.1.105 (192.168.1.105) 0.755 ms 0.727 ms 0.640 ms 192.168.1.105 is the address of my router. If you traceroute that address, you will get a different result. Just forward TCP port 80 to the LAN IP of the computer running apache and it will work. Maktos 12-30-2003, 12:08 AM Earlier today, I went to an empty web browser window, typed in my domain name, and hit enter - it brought me to my Linksys router configuration! It worked for a while, then it just took me to MSN search engine (like any non-existent website). Same thing must have happened... I need to open up port 80 and direct it to my server IP. j79zlr 12-30-2003, 12:37 AM I would set static IPs or else it would be a hassle to try and figure out what PC is assigned what IP address. justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved. |