Hello everybody

Sorry for this kind of OT.. my question is not really mandrake-specific,
but may be related (or not) to the mdk 9.0 apache package.

I encounter difficulties with virtual host settings. In fact, I'm trying
to host a domain at home, with a DSL line and a dynamic IP.
So, I have a redirector which is quite always up-to-date:
mysystem.dyndns.org
I have set up what I think is a correct DNS with CNAMEs, like:
www.mydomain.com IN CNAME mysystem.dyndns.org.
mydomain.com IN MX mysystem.dyndns.org.
The mail server works all right with this - I can receive mails sent to
[EMAIL PROTECTED]

My problem is that I want Apache to serve different contents if it is
called with www.mydomain.com, mysub.mydomain.com, or
my.internal.ip.adress.
I have set up a firewall (Smoothwall), with a normal LAN and a DMZ
(where the web server is).

I tryed allmost everything I can with directives like NameVirtualHost, I
even tryed mod_rewrite as suggested on apache.org: nothing.
Every way I call the server, I allways get the same content (the default
one). I think it may be related to the dyndns cname, but at this time
I'm quite lost with this.

If somebody has an idea of what I should do, it will be very welcomed !

TIA

Francois


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to