Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Domain name to IP mapping - Temporary 1

Status
Not open for further replies.

split63

Technical User
Jul 9, 2007
25
US
I have a existing web site that was created using absolute paths to files. For example rather than ./myfile.htm

I'm moving this to a Win 2003 server and we are not quite ready to take down the site. So I would like to be able to run it at least locally without having to update every path in every file. Is there a way to map the domain name to an IP address, just so that it works at the server. Its sort of an override to the external DNS server.

There is no DNS running on the server itself.
Thanks,
 
I'm not sure if this would work, but you could modify the host file of any computer trying to get to it.

It would be like:

192.168.1.1 (or whatever your IP address is)

But a better way to do it would be in the IIS to redirect the website to your local host.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top