Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
Subdomain to controller
Jacinto
April 2012
I have a my site set up when you go to
localhost/test1 it routes to home/page is there a way I can change it so if you go to the subdomain it does the same thing? like: test1.localhost to go to home/page
Harro
April 2012
Not within FuelPHP. I suggest you have both hostnames point to the same virtual host, and use a rewrite rule to route the request.
Jacinto
April 2012
Thanks for the feedback, got it working by doing what you suggested.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
April 2012
Jacinto
April 2012