Handling dynamic subdomains in Google App Engine (Java) -
say have www.foo.com domain setup load app on foo.appspot.com
how set things site can accessed sub-domain (such user.foo.com)? , how understand in app request has sub-domain value of user?
i'm not sure modifications need make in dns, , modifications need make in code read subdomain.
maybe there's easier way, user.foo.com requests load (not redirect) foo.appspot.com/user, in case straightforward handle in code.
i'm not sure how make these modifications - i'm trying achieve each of users gets own subdomain.
you need wildcard cname, there info in app engine docs, if recall correctly not dns providers support that.
also can't (without redirect) map {user}.domain.com www.domain.com/{user}.
Comments
Post a Comment