Linux – Install Configure HTTP DNS BIND Server CentOS 6.3 – Config httpd.conf – Step 3
In this video we download and install the http daemon, by using yum install httpd. Once this has finished installing, we make sure that the service starts everytime the system reboots or restart, by using the chkconfig httpd on. Next we edit the httpd.conf, to listen on port 80, use NameVirtualHosts and set our default VirtualHost. As we have already configured our named server, we know that the Host name of home.local will resolve to this one server. Once wehave finished configuring the httpd.conf, we have created the /var/www/html/home.local/httpdocs folder using mkdir and the -p switch. Next we make a user of homeuser and give it the home directory of /var/www/html/home.local and add it to the group homegroup, next we make the homegroup by giving the command, groupadd homegroup. Next we change the ownership of the home.local and contents to homeuser:homegroup, and install make a index.php file, download and install php, and then finally test that the server is working, by running the home.local in the browser….look forward to the next tutorial!!!!
by Davids Videos
linux dns server