![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello Friends, I have a requirement where a user can configure there own domain. For example We will provide a subdomain to every user who will get registered to our site. For e.g xyz.example.com But if the user already have a domain for example xyz.com he can point that subdomain to xyz.example.com. So when someone access xyz.com internally he should redirect to xyz.example.com. Please help me to configure the system Thanks Abhis |
#3
| |||
| |||
|
|
Maybe use awesome plugin: http://github.com/mbleigh/subdomain-fu Let’s say my domain is ‘intridea.com’. Here are some examples of the use of the :subdomain option: url_for(:controller => "my_controller", :action => "my_action", :subdomain => "awesome") # => http://awesome.intridea.com/my_controller/my_action 2009/11/3 Abhishek shukla <betterabhi (AT) gmail (DOT) com Hello Friends, I have a requirement where a user can configure there own domain. For example We will provide a subdomain to every user who will get registered to our site. For e.g xyz.example.com But if the user already have a domain for example xyz.com he can point that subdomain to xyz.example.com. So when someone access xyz.com internally he should redirect to xyz.example.com. Please help me to configure the system Thanks Abhis -- tommy xiao E-mail: xiaods(AT)gmail.com |
![]() |
| Thread Tools | |
| Display Modes | |
| |