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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T09:39:00+00:00 2026-05-21T09:39:00+00:00

(This is a follow up to rails app fast on server, but slow when

  • 0

(This is a follow up to rails app fast on server, but slow when accessed from another machine.)

I have a Rails web app that’s incredibly slow when I access via its hostname, but runs at normal speeds when I access via its IP address (or via localhost, if I access it on the same server machine it’s running on). This makes me think the problem is with the DNS. (Also, all these machines are running on the same corporate intranet.)

However, when I ping the hostname from a terminal, the ping seems to run fine. Does the fact that pinging works suggest that the problem is not with the DNS? (I don’t really know much about DNS or servers and networking, so I’m kind of floundering around a bit here.)

Update to add: I also ran a simple “Hello world” Sinatra app, and this also runs super slowly when accessed via hostname (but not when accessed via IP address).

  • 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-21T09:39:00+00:00Added an answer on May 21, 2026 at 9:39 am

    Fast ping from your terminal suggests that DNS between you and DNS server was fine and that network between you and server is fine.

    This still does not help with the DNS on your server. Do you have any network operations that your server performs? If so, you need to make sure the network is reachable.

    I suggest you get a simple “hello world” Rails application deployed there and see if it is Rails issue related (server wide) or your application related (very easy to do).

    The other suggestion is to profile your Rails app and see which operation is taking the time to complete.

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

Sidebar

Related Questions

I have a Rails app where users can follow one another. I've just discovered
I have a bunch of python methods that follow this pattern: def delete_session(guid): conn
I'm trying to follow this Rails/Backbone example but they are using erb and not
I have a rails app that has some simple functionality, allowing the user to
I'm working on a Rails 3 app that allows users to follow movies by
I tried to follow this tutorial to deploy my jruby app on tomcat, but
I would like to have a recommendation functionality for my Rails web app. In
I follow this rule but some of my colleagues disagree with it and argue
Trying to follow this example. (Section String sorting...) Is there anything obvious that would
I tried to follow this but the default modelbinder let my array null on

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.