Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Point a domain to a subdirectory/folder on ccgi !
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: Point a domain to a subdirectory/folder on ccg...
Point a domain to a subdirectory/folder on ccgi !
24-05-2010 1:29 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi
I have been following these very helpful instructions for hosting a domain on ccgi:
http://community.plus.net/forum/index.php/topic,46224.0.html
However, for anyone else who wants to try it, since the introduction of the new CGI platform (March 2010, I think), you will also need the information here:
http://community.plus.net/forum/index.php/topic,84267.msg696064.html#msg696064
(and don't I wish I had found that earlier). Essentially the code in the first post to map www.mydomain.co.uk onto ccgi.myusername.plus.com/myfolder should now be:
Anyway, so now I have managed (eventually) to map http://www.mydomain.co.uk I am mostly a happy bunny, but I am just wondering, is there anything I can do about mapping http://mydomain.co.uk to the same place. I can't see how it's possible as I can't imagine what the equivalent CNAME record would be. However, if anyone can contradict me I would be even happier.
Thanks (especially to ffupi and Gabe who posted the previous posts),
Chris
I have been following these very helpful instructions for hosting a domain on ccgi:
http://community.plus.net/forum/index.php/topic,46224.0.html
However, for anyone else who wants to try it, since the introduction of the new CGI platform (March 2010, I think), you will also need the information here:
http://community.plus.net/forum/index.php/topic,84267.msg696064.html#msg696064
(and don't I wish I had found that earlier). Essentially the code in the first post to map www.mydomain.co.uk onto ccgi.myusername.plus.com/myfolder should now be:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.mydomain\.co\.uk$ [NC]
RewriteCond %{REQUEST_URI} !^/~myusername/myfolder/
RewriteRule (.*) /myfolder/$1
Anyway, so now I have managed (eventually) to map http://www.mydomain.co.uk I am mostly a happy bunny, but I am just wondering, is there anything I can do about mapping http://mydomain.co.uk to the same place. I can't see how it's possible as I can't imagine what the equivalent CNAME record would be. However, if anyone can contradict me I would be even happier.
Thanks (especially to ffupi and Gabe who posted the previous posts),
Chris
Message 1 of 4
(1,353 Views)
3 REPLIES 3
Re: Point a domain to a subdirectory/folder on ccgi !
26-05-2010 9:05 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi Chris,
You point your domain at ccgi using an A record:
yourdomain.co.uk. a 84.92.1.4
remembering the dot after uk.
Gabe
You point your domain at ccgi using an A record:
yourdomain.co.uk. a 84.92.1.4
remembering the dot after uk.
Gabe
Message 2 of 4
(604 Views)
Re: Point a domain to a subdirectory/folder on ccgi !
26-05-2010 11:45 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Brilliant! Thanks.
So I might just as well use two A records rather than an A record for domain.co.uk and a CNAME for www.domain.co.uk? Or doesn't it make much difference?
Chris
So I might just as well use two A records rather than an A record for domain.co.uk and a CNAME for www.domain.co.uk? Or doesn't it make much difference?
Chris
Message 3 of 4
(604 Views)
Re: Point a domain to a subdirectory/folder on ccgi !
27-05-2010 12:17 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Actually I've just found the answer myself - CNAME records generate two DNS look ups whilst A records only generate one, so A is to be preferred.
So item 5 in the original post would be better as:
Chris
So item 5 in the original post would be better as:
Left field | Type | Pri | Right field |
domain.co.uk. | A | 84.92.1.4 | |
www.domain.co.uk. | A | 84.92.1.4 |
Chris
Message 4 of 4
(604 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: Point a domain to a subdirectory/folder on ccg...