Welcome Guest, Not a member yet? Register   Sign In
Client subdomains and custom domains
#2

[eluser]vitoco[/eluser]
First....try to lose the "www." in the url, and just use "http://client.myproduct.com", second, the way that i handle subdomains it's using a single installation of CI, and pointing all sudomains to that path, then either on pre_controller or post_controller_constructor, you can validate and set all client specific ( according to the subdomain ) variables including reseting the base_url parameter.

About using the client domain, i suggest you to use a sudomain ( there's a way to redirect a subdomain to a specific ip ) so your url will be http://myproduct.clientdomain.com, then you don't have to manage anything on their end, just on yours, delimiting responsabilities and focusing your time on your app.

Hope it helps.

Slds


Messages In This Thread
Client subdomains and custom domains - by El Forum - 12-28-2012, 10:08 PM
Client subdomains and custom domains - by El Forum - 12-28-2012, 11:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB