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 7182055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:41:19+00:00 2026-05-28T17:41:19+00:00

My development environment details: Ubuntu 11.10 Rails 2.3.11 Ruby 1.8.7 To use third party

  • 0

My development environment details:

Ubuntu 11.10
Rails 2.3.11
Ruby 1.8.7

To use third party tools such as google-analytics I need to give valid domain name.So is there any way to point my rails server port to a dummy domain so that I can use those tools in development mode?

  • 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-28T17:41:20+00:00Added an answer on May 28, 2026 at 5:41 pm

    One way to do this would be to set up your application to use Passenger. You could then give it a domain name like http://dummy.com and edit the /etc/hosts file to set up domain like this:

    # /etc/hosts
    127.0.0.1 dummy.com 
    

    Another good solution is offered by Tim Pope on his blog. He has bought the domain name smackaho.st and made it a localhost wildcard. One of the people who commented on that blog posting has some something similar with a shorter domain name, lvh.me, and you can use that instead.

    If we go to http://lvh.me:3000/ you’ll see the homepage of your application because lvh.me resolves to the IP address 127.0.0.1.

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

Sidebar

Related Questions

My development environment: Ubuntu 9 Ruby 1.9.1/1.8.7 (rvm) Rails 2.3.5 Mysql 5.0 Apache Passenger
we have a mixed development environment using ASP.NET MVC and Ruby on Rails. We
I run my development environment in a VM and need to test the delivery
I have a need to integrate a third-party Java applet into a custom web
I have Eclipse with PyDev and JavaScript Development Tools (JSDT). I'm using this environment
In the software development environment where I work we have a group of developers
I'm in a development environment and we're using basic .htaccess/.htpasswd authentication to keep lurkers
In my development environment, my SQL Server is PHILIP\SQLEXPRESS . In testing, it's ANNIE
Our CF 9 development environment is on a common development server (DEVWEB). We're looking
I am trying to setup a development environment for Linux C++ application. Because I'm

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.