Hello
In case someone needs to point his/her Domain to a folder on ccgi. PlusNet does not enable it, but
it is possible to do with an .htaccess file.
(Thank you to following posters:
1 ,
2,
3,
4 ).
1)
Either your Domain is a first cheap one from PlusNet. In my case I got a second one from
http://www.123-reg.co.uk/ , which is cheaper than a second one from PlusNet.
2)
Then I logged in at 123-reg to "your control panel", choose "Modify domain" , and then "Change Nameservers". I entered the 4 nameservers of PlusNet:
ns1.force9.net
ns2.force9.net
ns2.plusnet.co.uk
ns1.plusnet.co.uk
Then clicked "Change Nameservers".
It can take up to 72hours, but it was changed immediately (can be checked for uk-Domains on
www.nominet.org.uk, enter domain box on first page, right top).
3)
With PlusNet Customer Support I raised a ticket to "to set up "Domain hosting only" and "Domain-email" for my new Domain, so that I can access it on my PlusNet-"domain control tool". ".
In this I followed their
guideline.
4)
I raised a second ticket when after 2 days I still could not access my "domain control tool". This is at the menu left on this page, click on Domain names (
https://portal.plus.net/m...p;?membermenu=domainnames ). I asked, "Can you please make PlusNet-"domain control tool" accessible." They seemed to have had some problems in my case.
5)
In the domain tool, I clicked under "Existing Domains" on "Configure" beside my new domain.
Under the heading "Domain hosting settings" I set it to "Other", then clicked "Configure DNS Records".
There I set "Left Field" to "www", "Type" to "CNAME", left "Pri" empty, and "Right Field" to "ccgi.plus.net
." with a trailing dot (!) .
Then clicked "Add".
Back to the domain tool main page the new DNS record shows up under the heading "Additional DNS records (Advanced)". Fore to save the setting I clicked "Submit".
In this I followed this
guideline.
6)
Then I raised a ticket with PlusNet Customer Support to
""Change the CGI service to basic" (this will create the necessary records on the CGI and DNS servers to correctly point the domain to your files on the CGI server.)". Following the tutorial.
7)
Shortly the domained pointed to my ccgi space, to the root. It is not possible with PlusNet to point it to a folder. However my page is in a folder, call it "my folder", on ccgi.
8 )
I added to the .htaccess file in the root of my ccgi following lines (.htaccess
tutorial):
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.mydomain.co.uk$ [nc]
RewriteCond %{REQUEST_URI} !^/myfolder/
RewriteRule (.*) /myfolder/$1 [L]
Result:
The new domain points to myfolder in ccgi (and searches there for the index file, or the forum index file, etc). In the browser address bar it will
not show up "myfolder", but the domain name and straight the files in the folder
It is therefor still possible to go to the ccgi folder by writing in the browser
http://ccgi.<plusnetusername>.plus.com.
I believe it is possible this way to have multiple Domains point to different folders on ccgi, by adding these to the .htaccess file?
Hope people will check this and add a few comments.
(Edited to remark, that this line is actually not required:
RewriteCond %{REQUEST_URI} !^/myfolder/
This is required only:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.mydomain.co.uk$ [nc]
RewriteRule (.*) /myfolder/$1 [L]
)
(Edited a second time to add, that it is also possible
to redirect the Domain name without www to the subdirectory/folder.)