Search:

Type: Posts; User: MJN; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    8,436

    [ubuntu] Re: serveralias not working in apache2

    The ServerName directive takes care of that - there is no need to duplicate it in the ServerAlias.

    Not that it matters (assuming the OP wants all sub-domain matching, not just www.) - I was just...
  2. Replies
    9
    Views
    8,436

    [ubuntu] Re: serveralias not working in apache2

    Unless sub-domain matching is required, ServerAlias example.com will match example.com as it stands.

    Mathew
  3. Replies
    9
    Views
    8,436

    [ubuntu] Re: serveralias not working in apache2

    Have you turned name-based virtual hosting on?

    i.e. NameVirtualHost *

    (it needs to go outside of any <Virtualhost> container, e.g. the line above in your posed config)

    Mathew
Results 1 to 3 of 3