How To Configure Apache Virtual Hosts In Ubuntu 18.04 LTS

Configure Apache Virtual Hosts In Ubuntu

6 Responses

  1. Sean says:

    Hope you cover enabling ssl via virtual hosts. I have 6 websites and all but one is working right. One works on port 80 but when I try https it goes to a different site. Any pointers?

  2. Bruce says:

    I would leave the default.conf enabled for when someone just enters the bare ip address and have it handle that case.

  3. Ruben says:

    I saw this on a few sites but what do you do with the DNS now?
    Just point 2 domains to one ip? That did not work for me.

  4. Leon says:

    I’ve been creating my VH folders in www and naming them for example, ostechnix.lan
    I’ve also been adding my $USER to www-data and then doing sudo chown -R $USER:www-data …
    Is this bad?

  5. I’m using Ubuntu 18.04 and have followed your direction but I can only get lrobin1.lan. I have gone over and over everything I still can not find out why I only get one.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.