HighDots Forums  

Domain to sub domain pointer.

Ruby On Rails Talk Ruby On Rails programming language mailing list


Discuss Domain to sub domain pointer. in the Ruby On Rails Talk forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Abhishek shukla
 
Posts: n/a

Default Domain to sub domain pointer. - 11-03-2009 , 06:02 AM






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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #2  
Old   
tommy xiao
 
Posts: n/a

Default Re: Domain to sub domain pointer. - 11-03-2009 , 10:05 AM






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>

Quote:
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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
  #3  
Old   
Abhishek shukla
 
Posts: n/a

Default Re: Domain to sub domain pointer. - 11-05-2009 , 05:03 AM



hello tommy

Thanks for your reply, But I guess I should be more detail with my
requirement.

We are providing a service where a user can sign up and have there blog and
by default we will provide a separate subdomain to ever user
myblog.blogexample.com but if user wants they can replace with there domain

for e.g.
myblog.com which will be actually a pointiing to myblog.blogexample.com

thanks for any help.

Thanks
Abhishek Shukla




On Tue, Nov 3, 2009 at 8:35 PM, tommy xiao <xiaods (AT) gmail (DOT) com> wrote:

Quote:
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



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.