Place this code in functions.php

/**
 * Modify the domain name for page in all the pages
 **/
function append_query_string( $url, $post, $leavename=false ) {
 return str_replace("vps.students.uit.yorku.ca","vpstudents.yorku.ca",$url);
}
add_filter( 'post_link', 'append_query_string', 10, 3 );