Apache Server configuration support - serveralias *.mydomain.com

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > August 2007 > serveralias *.mydomain.com





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author serveralias *.mydomain.com
Séverin Richard

2007-08-24, 7:25 am

Hi,
I want to redirect every under-domains (*).mydomain.com to mydomain.com

On debian gentoo (ovh).


I try to add "* IN A myip " in mydomain.com.hosts. This was working at
the begining and don't work anymore.

Then i try " server alias mydomain.com *.mydoman.com" in the main
virtualhost. This was also working at the begining and don't work anymore.


I try to restart apache and bind... I don't know where is the bug.

Can anybody help. Thx for suggestions.

Davide Bianchi

2007-08-24, 7:25 am

On 2007-08-24, Séverin Richard <severin.richard@free.fr> wrote:
> I try to add "* IN A myip " in mydomain.com.hosts. This was working at
> the begining and don't work anymore.


I assume that 'mydomain.com.hosts' is the DNS configuration file, the
correct syntax would be '@ IN A ...'

> Then i try " server alias mydomain.com *.mydoman.com" in the main
> virtualhost. This was also working at the begining and don't work anymore.


So between the 'begining' and now what happened?

Davide

--
I'm an apatheist. The question is no longer interesting, and the
answer no longer matters.
-- from alt.sysadmin.recovery
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com