Centova Technologies Forum

Centova Cast v3 => General discussion => Topic started by: jdownj on March 27, 2013, 07:57:10 pm

Title: Port Redirect
Post by: jdownj on March 27, 2013, 07:57:10 pm
After upgrading from v2 to v3, I would like to redirect "server.domain.com" to the new port at "server.domain.com:2199."  What is the easiest way to accomplish this?
Title: Re: Port Redirect
Post by: djduck on March 27, 2013, 09:20:52 pm
Setup a simple HTML redirect script
rename index.php then create index.html paste this in there
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Redirecting you to the new control panel</title>
<meta http-equiv="REFRESH" content="0;url=http://stream.shellservers.net:2199/"></HEAD>
<body>
</body>
</html>

 change stream.shellservers.net to your domain.. you could put a little message into the <body> tag saying that there has been an upgrade .. That will redirect almost instantly when they go the old url
Title: Re: Port Redirect
Post by: jdownj on March 30, 2013, 12:49:41 pm
Perfect, thanks!