Forum Moderators: phranque
Now, we try to accept different domains from our clients(they configure their Nameservers to us). Is there any way to make all client domains, client-1.com, client-2.com, client-n.com to /home/user as well?
We search the solution for long time and do not have a conclusion. It seems it just make all domains and subdomains to /home/user/. However, it dosen't work by editing .htaccess mod_write....
Thanks in advance : )
You can see the documentation here:
[httpd.apache.org...]
We visited the apache offical website which suggest "multiple aliases (CNAMES) point to this machine in DNS". What we think is clients type their domain names in browser and point to the same server name. So clients request the same content when visit different domain on the same server. Besides, different subdomains of different domains request the same content as well.
We are building a PHP/MySQL website where visitors will be able to register and have a CP to build/manage their own subsite online and choose one subdomain on our the main domain (for example, mydomain.com, they have client-1.mydomain.com, client-N.mydomain.com...) by wildcard DNS. Every content is generated by /home/user/index.php.
Sometimes, visitors have their own domain name. They just simply change their nameservers to our : ns1.mydomain.com and ns2.mydomain.com. They will get content from /home/user/index.php as well, dynamic generated by the url.
How to edit DNS, httpd.conf or something related files in server?
Jim