On Tue, Mar 29, 2011 at 4:13 AM, swimwithabhra <[email protected]> wrote: > Hi! > Can anybody tell me what does it takes to get a website with "wildcard > dns" configured and properly functional. > > I read about wildcard DNS and the following are my findings -: > > 1. Need to add a A type record [as my hosting company is godaddy and > they doesn't support CNAME] > 2. Add ServerAlias in VirtualHost of httpd.conf > 3. Upload .htaccess with necessary modifications. > > I am using CakePHP and i have tried performing all the three steps. > But whenever I type something like > xyz.domain.com [say domain.com is my domain] in the URL I get a "404 > Error-Page not found".
Make sure debug is set to 2. If it's 0, any error in your code will throw a 404, which can lead one to think there's a routing problem. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
