Welcome Guest, Not a member yet? Register   Sign In
Need help on Subdomains
#1

[eluser]abhigudi[/eluser]
Dear All

I have a problem with redirecting and assigning subdomain value,require community help.

Ex : I have a domain “sample.com”, now i have a CI application runs perfectly fine, need to get “london.sample.com” and “paris.sample.com” both subdomains would have same operations but only difference being it loads the respective City data.

How should i go about with it

Should i create subdomains and load full CI app onto it or is there a way to work on the routes.php and combination of .htaccess where it allows me to have One CI application but a level of .htaccess to control my subdomains through and controller with CI.

In simple terms : i have same View/Model/Controller only difference being the city data loaded from DB, how could this be solved?

Pretty confused here, would need some help


Messages In This Thread
Need help on Subdomains - by El Forum - 09-06-2008, 08:34 AM
Need help on Subdomains - by El Forum - 09-06-2008, 09:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB