Question

Hi there!

I'm trying to set up (two) Domains on a root server.

The problem I got is, that a subdomain with www in it, doesn't work.

So:

  • www.domain.de
  • name.bla.bla.domain.de
  • domain.de

work.

But:

  • name.www.domain.de

doesn't work.

My domain.de DNS-Zone is also set to *.domain.de, so this should work.

Here is my vHost for this:

<VirtualHost *:80>
    ServerName name.www.domain.de
    ServerAlias name.domain.de
    #ServerAlias name.bla.bla.domain.de
    DocumentRoot /var/www/some/folder/here
    ServerAdmin me@domain.de
</VirtualHost>

Apache doesn't throw any errors when reloading.

Can you help me?

Was it helpful?

Solution

I think I got the answer.

Sometimes it isn't enough just to reload Apache, instead of restarting it.

Thank you very much for your help!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top