Hi, Im just wondering how can i set up a subdomain set up on my server to connect to a remote computer to a certain port to allow people to connect to this port to access a certain system?
the easiest way to do this is to create an index.php file under the domains default directory (or the sub domains default www directory and place the following into it -
Code:
<?php
header('HTTP/1.1 301 Moved Permanently');
header('Location: '.$url);
exit;
?>