I have a requirement where a user can configure there own domain.
We will provide a subdomain to every user who will get registered to our
For e.g xyz.example.com
But if the user already have a domain for example xyz.com he can point
subdomain to xyz.example.com.
So when someone access xyz.com internally he should redirect to
Please help me to configure the system
Maybe use awesome plugin:
Letâ€™s say my domain is â€˜intridea.comâ€™. Here are some examples of the use
the :subdomain option:
url_for(:controller => “my_controller”,
:action => "my_action",
:subdomain => "awesome") # =>
2009/11/3 Abhishek shukla [email protected]
Thanks for your reply, But I guess I should be more detail with my
We are providing a service where a user can sign up and have there blog
by default we will provide a separate subdomain to ever user
myblog.blogexample.com but if user wants they can replace with there
myblog.com which will be actually a pointiing to myblog.blogexample.com
thanks for any help.