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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:34:46+00:00 2026-05-26T03:34:46+00:00

I have a dedicated machine I use for testing. At the moment it’s running

  • 0

I have a dedicated machine I use for testing. At the moment it’s running a Rails (2.3) app over Apache and Passenger. I would also like to simultaneously serve a Flask application using the same machine and a different url if possible. Here’s what I currently have for my httpd.conf file:

<VirtualHost *:80>
  DocumentRoot /path/to/rails-app/public
  PassengerDefaultUser railsuser
  RailsEnv testing
  # .. some misc apache config
</VirtualHost>

How should I modify it to serve two different urls (on a local network) with one serving the Rails app and the other serving Flask? Thanks.

  • 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-26T03:34:47+00:00Added an answer on May 26, 2026 at 3:34 am

    In your OP, you’re setting the handling for the default url.

    For your second virtual web server, just use a specific host name in the config that is a second host name for the same machine. This is called “name-based” virtual hosting. See wikipedia.

    Remember that multiple hostnames can resolve to the same IP address.

    You can use the full dns system if you want, just specify your local network address (192.168.xxx) — the url will not work for machines not on your local network.

    More info will be available at the webmasters SO site.

    A post with instructions

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

Sidebar

Related Questions

I have a sql server on a dedicated machine, running SQL 2008. I have
I have transactional replication running between two servers over a dedicated VPN connection. The
We are running some tests using selenium. We have dedicated Windows XP VM's for
I have a dedicated Linux web server where my website is running like www.example.com.
I have two dedicated servers and no hardware firewall. I'd like to forward all
I have a dedicated server and I'm in need for building new version of
I'm about to deploy a mediumsized site powered by Django. I have a dedicated
I am building an Asp.net MVC site where I have a fast dedicated server
I have an ASP.NET web site dedicated to reporting on PBX extension stats. It
we have a old and dying dedicated server. we want a new one at

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.