linux poison RSS
linux poison Email

Virtual Hosting using Apache

If you want to maintain multiple domains/hostnames on your machine you can setup VirtualHost containers for them.
Please see the documentation at URL: for further details before you try to setup virtual hosts.


FQDN Document Root
Host Name
Virtual Host Name

BIND Setup

  • Add an Alias Name into BIND DB file
    www             IN      A
    server IN CNAME www

    Apache Setup

  • httpd.conf
    DocumentRoot /var/www/html/ ServerName _default_

    DocumentRoot /var/www/server/ ServerName


    Post a Comment

    Related Posts with Thumbnails