Apache and BIND configuration help
I am trying to set up a webserver for a site i want to make at www . carynet . itb . I have the page up (sort of) at 24.169.135.209 (i was going to have a link to it but i have less than 5 posts, sorry...) with the apache test page but i would like to be able to just type www . carynet .itb into the address field and go to the site. I heard that this was done through BIND, so i ran the service "named" and set it to run at startup along with "httpd". Does anyone know how i can set up the name? if you need to know anything else, please let me know. My email is Darkschneider55 @ yahoo. co m (no spaces) adn AIM sn is Darshu55. Thank you!
|
Actually if you plan to use it just for "yourself" (which I assume is the case, since there is no .itb domain) you can just add this line in your /etc/hosts file:
24.169.135.209 www.carynet.itb |
BIND has nothing to do with that (except the www-entry in the zone file), so in that case it will need to be added to the zone file by the zone-c of the domain.
Now you need to configure Apache to responsd to that virtual host (except you are running only 1 website on that particular ip). The apache documentation at httpd.apache.org contains all required information on that aspect. |
Thanks for the replies, i added the line from Azmeens post. I can get to my site through my (webserver) computer with www.c a rynet. itb but not from other computers around the house.
Markus, i searched apache.org and im looking through their documentation now. I heard that you have to register domain names with InterNIC, is this true for all or is it just for the top level domain names? Thanks again for your help! |
All times are GMT -5. The time now is 07:19 PM. |