Ruby on Rails Saturday, July 7, 2018

On Sat, Jul 7, 2018 at 10:22 AM, Ralph Shnelvar <ralphs@dos32.com> wrote:

> I'm not sure what "different virtual hosts" means.

> What I have are two domains I have purchased. Call them www.ThisWorks.com
> and www.ThisIsNewAndDoesNotWorkYet.com.

A single Apache httpd instance listening on a single IP address can
handle multiple "virtual hosts", e.g. different domains as above.

https://httpd.apache.org/docs/2.4/vhosts/

The question is how are you doing the current single domain? Are
you using mod_proxy to forward to an app running on e.g. Puma,
or are you using Passenger?

If the former, it's easy to have each virtual host have its own proxy
settings defined.

https://httpd.apache.org/docs/2.4/mod/mod_proxy.html

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yA4Frh5n4V7HZ2_toLa8eMQEWmSRS900%2BZtLeq_VTmpVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment