Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    how to config virtual hosting

    I created a local dns and setup as my domain.

    Now, I want to setup I created virtual hosting in my apache

    Here is my apache config


    ServerAdmin root@localhost
    DocumentRoot /var/www/html/mrtg
    ErrorLog logs/foo-error_log
    CustomLog logs/foo_com-access_log common

    Here is my zone file in my dns IN A
    www IN A
    mrtg IN A

    The problem is the site and display the same. Is there a problem in my apache and dns config file?

  2. #2
    Have you tried adding a VIP (virtual IP) and binding the virtual host to said VIP?

    What distro are you using?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts