Tutorials - PAYH Webhosting Platform (inc Preview) > Pointing multiple domains to your PAYH webspace

Generated by Devonports and first published here

I have been keeping an eye on the Community PAYH forum and having not seen anyone post anything about this I thought that the following may be of use to people.

DO NOT MOVE YOUR DOMAIN(S) TO THE PLESK SERVER.

If you point a domain to the PAYH server the Plesk system sets up a defined area of your web space for that domain (with a minimum of 10mb usage per domain, thus reducing the amount of webspace for your site). You then have to work out how to point the domain name to your site at username.plushost.co.uk .

Here is how to point multiple domains to your username.plushost.co.uk website without moving them to the PAYH server.

-------------------------------

SET UP A DOMAIN ALIAS FOR THE DOMAIN....

In the Plesk control panel select "Domain > Domain Alias > Add Domain Alias >".

Enter the 'Domain alias name'. e.g. birdwellfirstresponders.org.uk (this is my domain. it does exist). DO NOT put 'www.' or anything else before the domain name. Click 'OK' Plesk will set up all the domain records that you need.

-------------------------------

SETTING UP DNS FOR THE DOMAIN....

1 ) On the Plusnet portal select 'Domain names' from the left hand column.

2 ) Select 'CONFIGURE' for the domain you wish to point to your site on the PAYH server.

3 ) In the 'Domain Hosting Settings' section make sure that you have selected 'Other'.

4 ) In the 'Additional DNS records' section select 'CONFIGURE DNS SETTINGS'.

5 ) In the 'Create a new DNS record for' section enter details as shown below.

LEFT_FIELD________TYPE_____RIGHT_FIELD

domainname.com._____A_________212.56.83.230

Dont forget the trailing '.' in the left field. The right field should contain the IP address of the Plesk server (check what yours is via the DNS section of the Plesk control panel).

6 ) Click 'ADD'

You will be returned to the previous page.

Leave all the other DNS records alone for now. e.g. If you have 'www' pointing to the 'cgi' server for your existing site, leave it pointing there.

7 ) Click 'SUBMIT' at the bottom of the page.

Wait until DNS has propagated (Up to 24 hours).

-------------------------------

Once DNS has propagated you will be able to access your site via http://domainname.com BUT NOT via http://www.domainname.com, This is still pointing to your existing site on the 'homepages' or 'cgi' server and will still be available to the public.

By using http://domainname.com you can check that everything on the site works correctly with the domain before it goes live to the public.

-------------------------------

DNS AGAIN....

Once your site is ready for public access you will need to set up DNS to allow this.

Follow steps 1 to 4 as above.

5 ) In the 'Create a new DNS record for' section enter details as shown below.

LEFT FIELD___ TYPE_____ RIGHT FIELD

www._________ cname____domainname.com.

Don't forget the trailing '.' in both fields.

6 ) Click 'ADD'

You will be returned to the previous page.

7 ) Again in the 'Additional DNS records' section select 'CONFIGURE DNS SETTINGS'.

8 ) Click the 'REMOVE' button next to the OLD 'www' record.

You will again be returned to the previous page.

If you remove the wrong 'www' record, don't panic. Just repeat this section to re-add it.

9 ) Click 'SUBMIT' at the bottom of the page.

Wait until DNS has propagated (up to 24 hours); you will then be able to access your new site via http://www.domainname.com and also http://domainname.com.

-------------------------------

Hope this is of use.
Original Article by: spraxyt - Edited by: spraxyt