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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CF server

Status
Not open for further replies.

techwar

MIS
Jun 26, 2003
25
US
I replaced the primary web server and the new server has CF 8.
I want to make the old web server a test server without having to change all the links on the server. How can I make the links on the server see itself instead of seeing the now new live server?

If life knocks you down, get back up and live.
 
Dont know if im understanding you correctly but are your links variableized.

meaining are you posting your link like

Code:
<a href="[URL unfurl="true"]http://www.yoursite.com?id=1">link</a>[/URL]
OR
Code:
<a href#cgi.script_name#?id=1">link</a>
 
Well I am just getting back to this just to let you know what I did.
C:\windows\system32\drivers\etc\hosts Edit the hosts file. Change the 127.0.0.1 "Server name" without the quotes.
Works just the way I want it to.


If life knocks you down, get back up and live.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top