Date: Sat, 24 Jul 1999 09:23:25 -0700 From: Doug <Doug@gorean.org> To: "Michael P. Neuman" <neubyneu@twcny.rr.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: More DNS stuff Message-ID: <3799E87D.E567174D@gorean.org> References: <000501bed609$64c16c00$04c809c0@kramer.cmsnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
"Michael P. Neuman" wrote: > > Currently in my DNS records, I have set up CNAMEs for www, ftp, and a > few others. You probably should not do this. You should definitely not do this if any of the names you have CNAME's for are on the right hand side of a NS or MX record. In general CNAME's are for temporary measures only, and unless you have a very good understanding of DNS that's all you should use them for. > I want www to strictly be used for the http protocol and ftp > for ftp protocols. For example, I don't want people to be able to type in > http://ftp.cmsnet.net and have it take them to my web site. I want them to > be able to get to the site only by http://www.cmsnet.net . How would I go > about doing this?? From what I can see, you have everything pointed to the same IP address, so it's not possible to do this with DNS. There are some configuration things that you can do with apache to pop up a message if someone goes to http://ftp.cmsnet.net, check out how vhost's work. Also, you should get a copy of "DNS and BIND, 3rd Edition" and read it cover to cover. You're headed for deep water here. You might also be interested to know that neither of your name servers are currently answering for cmsnet.net. Good luck, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3799E87D.E567174D>