Quick question..
I have 2 domain names, using 2 VirtualHost.
Everything works fine, unless you do not explicitly request the exact ServerName.. e.i.
" directs properly.
"domain1.com" directs properly.
" directs properly.
"domain2.com" DIRECTS to domain1...
I tried to use a wildcard, like
ServerName *domain2.com
But this does not work..
So I have to set up a VirtualHost for each domain with and without the "
And what about domain that you want to direct to the same directory, such as a ".net or .org", do you have to set up all of these as VirtualHost??
Help!
I have 2 domain names, using 2 VirtualHost.
Everything works fine, unless you do not explicitly request the exact ServerName.. e.i.
" directs properly.
"domain1.com" directs properly.
" directs properly.
"domain2.com" DIRECTS to domain1...
I tried to use a wildcard, like
ServerName *domain2.com
But this does not work..
So I have to set up a VirtualHost for each domain with and without the "
And what about domain that you want to direct to the same directory, such as a ".net or .org", do you have to set up all of these as VirtualHost??
Help!