Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Does anyone know how to create a subdomain with cakephp? For example:

www.domain.com/subdomainname like this without any additional characters attached to the subdomainname.

share|improve this question

closed as off topic by KronoS, akira, Nifle, random Jun 25 '12 at 21:36

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer

A subdomain is like this: subdomain.domain.com
You can't do that with CapePHP, you will have to configure your web server with something like cPanel If you mean www.domain.com/view/12 instead of www.domain.com/view.php?id=12 that is called mod rewriting and is done with a combination of webserver configuration and setting up a routes.php file in CakePHP

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.