HighDots Forums  

windows equivalent to /etc/hosts

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss windows equivalent to /etc/hosts in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
while-one
 
Posts: n/a

Default windows equivalent to /etc/hosts - 03-26-2008 , 11:56 AM






When I make a new website, during development I create
a new virtual domain definition (using a temporary, made-up name)
in apache's configuration, and then bounce my server.

Then, on the client linux box I use for development,
I can add a line to my local /etc/hosts
file that looks like the following:

12.345.678.901 my-made-up-domain-name.com

Then I can look at that temporary virtual domain during development.
If my customer was a MacIntosh user, (s)he could use the same
/etc/hosts trick to view and critieque the development progress,
from his/her desktop Mac.

PUNCHLINE QUESTION:
How would you do that on a windows client?

Reply With Quote
  #2  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: windows equivalent to /etc/hosts - 03-26-2008 , 02:05 PM






Beauregard T. Shagnasty wrote:
Quote:
while-one wrote:

Then, on the client linux box I use for development,
I can add a line to my local /etc/hosts
file that looks like the following:

12.345.678.901 my-made-up-domain-name.com

PUNCHLINE QUESTION:
How would you do that on a windows client?

C:\WINDOWS\system32\drivers\etc\hosts

If you only have one Windows client or just one development domain this
is not too bad else you have to update the hosts file each time you add
a development site and you have to synchronize all the host files.

I just run Bind, authoritative for the LAN and forward and caches for
the outside world...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


Reply With Quote
  #3  
Old   
while-one
 
Posts: n/a

Default Re: windows equivalent to /etc/hosts - 03-26-2008 , 03:40 PM



Thanks, that sounds like the smart way to do it.
.....now I'll have to figure out how :-)

Reply With Quote
  #4  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: windows equivalent to /etc/hosts - 03-26-2008 , 07:46 PM



while-one wrote:
Quote:
Thanks, that sounds like the smart way to do it.
....now I'll have to figure out how :-)
http://www.google.com/search?hl=en&q...o ogle+Search
Nicolai Langfeldt DNS HOWTO - Google Search
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.