Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6934669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:59:26+00:00 2026-05-27T11:59:26+00:00

I created a launchrock page as a subdomain, signup.mysite.com, and I would like to

  • 0

I created a launchrock page as a subdomain, signup.mysite.com, and I would like to redirect people from mysite.com to the the launchrock subdomain. How would I set this up in the routes.rb file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:59:26+00:00Added an answer on May 27, 2026 at 11:59 am

    Since you are using Rails 3, you can set a redirect for your root path:

    # config/routes.rb
    root :to => redirect("http://signup.mysite.com") 
    

    This will only affect traffic coming in to the root of the app (“http://mysite.com”), but not any links or URIs hitting the apps controllers (like “http://mysite.com/users/”). This may or may not be beneficial, depending on your intentions.

    If you want all routes be redirected to LaunchRock, or for Rails 2, you can set a small before filter:

    # app/controllers/application_controller.rb
    
    before_filter :redirect_everyone_away_from_rails
    
    def :redirect_everyone_away_from_rails
      redirect_to("http://signup.mysite.com")
    end
    

    Does that cover it?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a HTML page with a number of tables with headers like this:
I created a constraint on my tsql table like this: alter table disabledqualities add
Created a group of related providers using the provider pattern. Now would like to
I created a batch to run specific commands, the code looks like this: cd
Created a custom validation attribute and I would like to get it to work
Created .NET WCF service, tested it - works. Generated schemas from Data and service
I created a JButton which has an image set as an icon representing the
I created a PHP Drop Down which is populated from a MySql Database and
Created a simple Webapp using maven: mvn archetype:generate -DgroupId=com.kids -DartifactId=kidsMaven -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false My POM
Created a UITextField for Postal Code/ZIP field with a keyboardType of UIKeyboardTypeDefault. I would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.