Hello, I am running a blog platform. My users have their own subdomains (pseudo.domain.com). I'd like to give them the opportunity to use their own domain (as proposed by blogger or wordpress.com) via a CNAME record (www CNAME domaine.com) My current VirtualHost looks like this: <VirtualHost xx.xx.xx.xx:80> DocumentRoot /xx/xx/xx ServerName domaine.com ServerAlias *.domaine.com CustomLog /xxxxxxx/xxx/log ErrorLog /xxxxxxx/xxx/log php_admin_value [...] </VirtualHost> Code (markup): How can I change this VirtualHost to accept all the CNAME users? Or do I create a new VirtualHost, but how do I go about it? And if I have to create a new one, it must be placed before or after it? Thank you! Excuse me for my English very approximate
Are you sure you need to do mapping? Couldn't they just transfer dns to your host, you install wordpress, addon their domain, and redirect it to their URL? The idea is to have their domain name pointed at your host, right?
Thank you ! I think this is essential. I did a test with a domain name to me. On the domain I set up a CNAME to the main domain name (domain.com). The problem is that when I go to this new address, the content displayed is not the main domain but it is the home page of the server (Welcome to your new server! [...] Debian Linux [. ..] Power by apache .... like when I go directly to the server IP address or I specify the server name in my browser). I would like these domain names (CNAME) is taken to my virtualhost and point to the path indicated by the virtualhost (with the same path and same php_admin_value log). I do not know how.