Depending on your individual needs and situation, you can choose one of three basic options for redirecting your webhosting site to a remote host.
- .htaccess redirect
- Web Redirect
- DNS only
.htaccess redirect: Using a .htaccess file in the root directory of your website, you can configure a 301 redirect to a remote host. This is suitable for temporary to long-term redirects where you expect to make changes to the redirect frequently and/or need to maintain control over the redirection yourself. No OIT staff involvement is necessary for this, nor does the remote host have to be configured. You control this by modifying the file on your webhosting account.
Example .htaccess redirect:
# This allows you to redirect your entire website to any other domain Redirect 301 / http://example-remotehost.com/
Web Redirect: A webserver within the OIT webhosting environment can be set to redirect your site to a remote host. This is suitable for longer term or permanent redirects where you do not expect to make changes to the redirection yourself. Some OIT staff involvement is necessary for this, but the remote host does not have to be reconfigured for this.
DNS only: For certain special situations, it may be appropriate to bypass the OIT webhosting environment entirely and have a DNS entry for “yoursite.gatech.edu” point directly to a remote host. This is suitable for permanent redirects. This requires OIT staff involvement to configure the DNS entry, and requires the remote host to be configured to accept traffic for “yoursite.gatech.edu”.