# Anyone using Instant-ROR on Win98?

**URL:** <https://www.ruby-forum.com/t/anyone-using-instant-ror-on-win98/87405>\
**Category:** Rails\
**Created:** [March 2, 2007, 11:01am UTC](https://www.ruby-forum.com/t/anyone-using-instant-ror-on-win98/87405 "2007-03-02T11:01:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pete\_Marsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@Pete\_Marsh](https://www.ruby-forum.com/u/Pete_Marsh)\
**Post date:** [March 2, 2007, 11:01am UTC](https://www.ruby-forum.com/t/anyone-using-instant-ror-on-win98/87405/1 "2007-03-02T11:01:01Z")

</div>

I’ve unzipped and sarted (as there is no install as such), the instant-  
ROR package, and it all starts up, and the test apps fucntion  
correctly when requested from 127.0.0.1.

However, in win98 the hosts file is located under C:\windows,  
and the instant-ror package defaults for looking up the hosts file on  
WinXP which has hosts in a slightly different path.

Is there any way to re-config the Instant-ROR GUI to search for hosts  
in a different path under Win98.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Pete\_Marsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@Pete\_Marsh](https://www.ruby-forum.com/u/Pete_Marsh)\
**Post date:** [March 2, 2007, 11:18am UTC](https://www.ruby-forum.com/t/anyone-using-instant-ror-on-win98/87405/2 "2007-03-02T11:18:04Z")

</div>

Pete Marsh wrote:

> Thanks in advance.

I’m not using it under Win 98 (I’m on XP) but I imagine that it should  
be relatively easy to change the HOSTS file yourself instead of getting  
Instant Rails to do it for you. Ask again if you are unsure about what  
changes need to be made to the HOSTS file.

Cheers  
Mohit.

---

<div class="post-metadata">

**Author:** ![Pete\_Marsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@Pete\_Marsh](https://www.ruby-forum.com/u/Pete_Marsh)\
**Post date:** [March 2, 2007, 11:30am UTC](https://www.ruby-forum.com/t/anyone-using-instant-ror-on-win98/87405/3 "2007-03-02T11:30:05Z")

</div>

On Mar 2, 2:16 am, Mohit S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > in a different path under Win98.
> 
> > Thanks in advance.
> 
> I’m not using it under Win 98 (I’m on XP) but I imagine that it should  
> be relatively easy to change the HOSTS file yourself instead of getting  
> Instant Rails to do it for you. Ask again if you are unsure about what  
> changes need to be made to the HOSTS file.
> 
> Cheers  
> Mohit.

Hi Mohit, yes I changed the hosts file myself, but unfortunately, the  
instant-ROR package somehow fails to read the file. Aside from this  
everything functions perfectly. All the apps work under 127.0.0.1,  
thre’s just no way to set the dummy DNS record.

---

<div class="post-metadata">

**Author:** ![Pete\_Marsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@Pete\_Marsh](https://www.ruby-forum.com/u/Pete_Marsh)\
**Post date:** [March 2, 2007, 12:22pm UTC](https://www.ruby-forum.com/t/anyone-using-instant-ror-on-win98/87405/4 "2007-03-02T12:22:11Z")

</div>

Mohit S. wrote:

> > Hi Mohit, yes I changed the hosts file myself, but unfortunately, the  
> > to see if the record exists and then redirect traffic accordingly.  
> > [http://localhost/](http://localhost/) cos that’s an entry that is there in the local hosts file.
> 
> Cheers  
> Mohit.

Also check if you need to restart Win 98 for the changes to take effect.

Cheers  
Mohit.

---

<div class="post-metadata">

**Author:** ![Pete\_Marsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@Pete\_Marsh](https://www.ruby-forum.com/u/Pete_Marsh)\
**Post date:** [March 2, 2007, 12:18pm UTC](https://www.ruby-forum.com/t/anyone-using-instant-ror-on-win98/87405/5 "2007-03-02T12:18:10Z")

</div>

> instant-ROR package somehow fails to read the file. Aside from this  
> everything functions perfectly. All the apps work under 127.0.0.1,  
> thre’s just no way to set the dummy DNS record.

Pete, that sounds very strange. Instant Rails changes the _actual_  
HOSTS file on a system, it does not have its own hosts file. When a web  
client (like your browser) tries to access a domain, the Windows TCP/IP  
stack will search the HOSTS file first (and subsequently a DNS server)  
to see if the record exists and then redirect traffic accordingly.

Refer to this URL to see if it helps:  
[http://www.microsoft.com/technet/archive/win98/reskit/part7/wrkappf.mspx?mfr=true](http://www.microsoft.com/technet/archive/win98/reskit/part7/wrkappf.mspx?mfr=true)

These are some of the things it mentions:  
Important: To use the HOSTS file for name resolution, the Enable DNS  
option must be selected. To do this, use the DNS Configuration tab in  
TCP/IP properties in the Network option in Control Panel.

By the way, are you able to connect to localhost? I meant  
[http://localhost/](http://localhost/) cos that’s an entry that is there in the local hosts  
file.

Cheers  
Mohit.

---

<div class="post-metadata">

**Author:** ![Pete\_Marsh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@Pete\_Marsh](https://www.ruby-forum.com/u/Pete_Marsh)\
**Post date:** [March 2, 2007, 12:46pm UTC](https://www.ruby-forum.com/t/anyone-using-instant-ror-on-win98/87405/6 "2007-03-02T12:46:14Z")

</div>

On Mar 2, 3:16 am, Mohit S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > everything functions perfectly. All the apps work under 127.0.0.1,  
> > These are some of the things it mentions:  
> > Important: To use the HOSTS file for name resolution, the Enable DNS  
> > option must be selected. To do this, use the DNS Configuration tab in  
> > TCP/IP properties in the Network option in Control Panel.
> 
> By the way, are you able to connect to localhost? I meanthttp://localhost/cos that’s an entry that is there in the local hosts file.

Yes it’s puzzling. Certainly the windows hosts file has been edited  
correctly, I may need to manually reconfigure the TCP/IP settings as  
well. I’ll have to try that in the morning. Thanks again.
