![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Junior Member Group: Members Posts: 4 Joined: 21-August 06 Member No.: 2487 ![]() |
Hi
How can I point a subdomain to a specific directory? Assume you want to set up the subdomains wiki.domain1.net and wiki.domain2.net, both of them will point to the /wiki folder on your webspace, which is not desired. So is there a way to point wiki.domain1.net to the folder /domain1/wiki/ and wiki.domain2.net to /domain2/wiki/ ? Thank you Adrian Henke |
|
|
![]()
Post
#2
|
|
Hostony staff Group: Members Posts: 1093 Joined: 7-October 04 Member No.: 1105 ![]() |
Drian,
you just create the subdomains in your cpanel. Each subdomain will be a folder inside the domain to which you refer the sub-domain. |
|
|
![]()
Post
#3
|
|
Super Member Group: Members Posts: 1804 Joined: 10-March 04 From: Cordoba, Argentina Member No.: 554 ![]() |
wiki.domain1.net and wiki.domain2.net same subdomain, different domains, surely addon domains. good question. -------------------- |
|
|
![]()
Post
#4
|
|
Super Moderator Group: Members Posts: 420 Joined: 19-December 05 From: Los Angeles, CA Member No.: 1944 ![]() |
Are you using cPanel? If so, you can make the domain an addon domain, create that sub-domain for it and then in the sub-domain area, setup the redirection.
![]() EDIT-IN: So, do this - 1) Log in to cPanel > Addon Domains 2) Add the second domain in there. (Make sure it's already pointed to hostony's nameservers) 3) Click the "Home" button and then select "Subdomain" 4) Make the sub-domain for the domain you've just added on, and for your main domain too 5) Use the forms at the bottom of the page to setup the redirection of the new subdomain and anything else. Hope this helps. Please let me know. -------------------- -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| ![]() | I'm not a HOSTONY Staff Member, but if you need a post moderated or spam | deleted please let me know. -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ![]() |
|
|
![]()
Post
#5
|
|
Junior Member Group: Members Posts: 4 Joined: 21-August 06 Member No.: 2487 ![]() |
thx for the replies, will try that this evening.
|
|
|
![]()
Post
#6
|
|
Super Moderator Group: Members Posts: 420 Joined: 19-December 05 From: Los Angeles, CA Member No.: 1944 ![]() |
Great. Please let me know if that works or not.
![]() -------------------- -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| ![]() | I'm not a HOSTONY Staff Member, but if you need a post moderated or spam | deleted please let me know. -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ![]() |
|
|
![]() ![]() |
Lo-Fi Version | Time is now: 25th April 2018 - 02:53 AM |