Click here to get back home

windows equivalent to /etc/hosts

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
windows equivalent to /etc/hosts while-one 03-26-2008
Get Chitika Premium
Posted by while-one on March 26, 2008, 12:56 pm
Please log in for more thread options
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?

Posted by Beauregard T. Shagnasty on March 26, 2008, 1:29 pm
Please log in for more thread options
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

--
-bts
-Friends don't let friends drive Vista

Posted by Jonathan N. Little on March 26, 2008, 3:05 pm
Please log in for more thread options
Beauregard T. Shagnasty wrote:
> 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

Posted by while-one on March 26, 2008, 4:40 pm
Please log in for more thread options
Thanks, that sounds like the smart way to do it.
....now I'll have to figure out how :-)

Posted by Jonathan N. Little on March 26, 2008, 8:46 pm
Please log in for more thread options
while-one wrote:
> 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=Nicolai+Langfeldt+DNS+HOWTO&btnG=Google+Search
Nicolai Langfeldt DNS HOWTO - Google Search
--
Take care,

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

Similar ThreadsPosted
Windows equivalent of BBEdit's "Gentle Hierarchical" formatting option? September 15, 2005, 3:14 pm
equivalent for EMBED tag? August 29, 2005, 1:17 am
Is there an equivalent of META REFRESH in PDF? October 19, 2007, 3:50 am
=?windows-1256?B?xdHbx+Mg08zkx8Eg3e0g5O3m7ebR3yDa4ewgxQ==?= =?windows-1256?B?0crPx8Egx+HN3cfWx8ohISAo1ebRySk=?= December 13, 2007, 8:02 am
Validation problem with Windows XP SP2 August 14, 2004, 11:19 pm
Linking to Windows help system? September 7, 2004, 2:52 am
windows media player May 18, 2005, 3:21 am
MIME type for Windows 16-bit executable January 13, 2007, 12:09 pm
Sound with Opera 8.60 for Windows Mobile February 22, 2007, 1:16 am
Font sizes on Windows and Linux March 14, 2007, 1:36 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap