Hi,
I have a application for our internal office use. Platform is Ubuntu
9.04 sever edition. with Ruby version 1.8.7 (i486-linux)
RubyGems version 1.3.7
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Application root /home/infinity1/OBS
Environment development
Database adapter mysql
Database schema version 0
Now suppose my IP(local) number is 192.168.0.3. how can I create a
virtual name for the application ? so that I can use www.example.com
rather http://192.168.03:3000/login_c.
Please help me regarding this. Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi,
I have a application for our internal office use. Platform is Ubuntu
9.04 sever edition. with Ruby version 1.8.7 (i486-linux)
RubyGems version 1.3.7
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Application root /home/infinity1/OBS
Environment development
Database adapter mysql
Database schema version 0
Now suppose my IP(local) number is 192.168.0.3. how can I create a
virtual name for the application ? so that I can use www.example.com
rather http://192.168.03:3000/login_c.
Please help me regarding this. Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Hassan Schroeder
2010-Jul-06 12:09 UTC
Re: how to create virtual domain name for RoR application?
On Tue, Jul 6, 2010 at 12:56 AM, sumanta <sumantacaptain-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Now suppose my IP(local) number is 192.168.0.3. how can I create a > virtual name for the application ? so that I can use www.example.com > rather http://192.168.03:3000/login_c.This has nothing to do with Rails; your local DNS needs a record for the server, with whatever name(s) you choose. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Norm Scherer
2010-Jul-06 16:23 UTC
Re: how to create virtual domain name for RoR application?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hassan Schroeder wrote:
<blockquote
cite="mid:AANLkTimMOnzIbfF_hAYLtO-8csnO2unhjll1lqptMWo2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org"
type="cite">
<pre wrap="">On Tue, Jul 6, 2010 at 12:56 AM, sumanta <a
class="moz-txt-link-rfc2396E"
href="mailto:sumantacaptain-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"><sumantacaptain-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Now suppose my IP(local) number is 192.168.0.3.
how can I create a
virtual name for the application ? so that I can use <a
class="moz-txt-link-abbreviated"
href="http://www.example.com">www.example.com</a>
rather <a class="moz-txt-link-freetext"
href="http://192.168.03:3000/login_c">http://192.168.03:3000/login_c</a>.
</pre>
</blockquote>
<pre wrap=""><!---->
This has nothing to do with Rails; your local DNS needs a record for
the server, with whatever name(s) you choose.
</pre>
</blockquote>
<font size="-1"><font face="Helvetica, Arial,
sans-serif">Or for a very
small setup where you may not have a dns server (like in my den) I just
put entries in /etc/hosts on all of the systems. It helps to
configure your dhcp server (if you use one) to use fixed addresses for
the server machine.</font></font><br>
</body>
</html>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.<br />
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org<br />
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org<br
/>
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.<br />
Marnen Laibow-Koser
2010-Jul-06 20:24 UTC
Re: how to create virtual domain name for RoR application?
Norm Scherer wrote:> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > <html> > <head> > <meta content="text/html;charset=ISO-8859-1" > http-equiv="Content-Type"> > </head>[Please stop sending HTML e-mail to the list.] [...]> Or for a very > small setup where you may not have a dns server (like in my den) I just > put entries in /etc/hosts on all of the systems.No! Do it right: set up DNS entries on your router/hub/switch/whatever you connect to.> It helps to > configure your dhcp server (if you use one) to use fixed addresses for > the server machine.Indeed. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.