Webhosting Redirecting: Difference between revisions

From AAISP Support Site
Line 9: Line 9:


Reason behind this:
Reason behind this:
You will already have a CNAME DNS entry for 'www.testing.me.uk' set to 'www-server.co.uk'. However, by default we do not create a record for just 'testing.me.uk'
You will already have a CNAME DNS entry for 'www.testing.me.uk' set to 'www-server.co.uk'. However, by default we do not create a record for just 'testing.me.uk' so one will need to be created.


==DNS Entry:==
The DNS entry will need to be an 'A Record', set to 81.187.30.81, ie:
The DNS entry will need to be an 'A Record', set to 81.187.30.81, ie:


[[File:Webhosting-dns.png]]
[[File:Webhosting-dns.png]]

==index.http file==

Revision as of 15:43, 23 July 2013

If you would like your web site visitors to view your website without the 'www' part, then this is how to do it:

Overview

  1. Create a DNS 'A' Record
  2. Create an index.http file to redirect visitors to your main page.

Explanation

Lets assume that your domain is testing.me.uk.

Reason behind this: You will already have a CNAME DNS entry for 'www.testing.me.uk' set to 'www-server.co.uk'. However, by default we do not create a record for just 'testing.me.uk' so one will need to be created.

DNS Entry:

The DNS entry will need to be an 'A Record', set to 81.187.30.81, ie:

Webhosting-dns.png

index.http file