IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> point subdomain to a dir
drian
post Mar 11 2007, 09:28 AM
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
Go to the top of the page
 
+Quote Post
Lehrer
post Mar 12 2007, 06:23 AM
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.
Go to the top of the page
 
+Quote Post
MartinB
post Mar 12 2007, 01:25 PM
Post #3


Super Member


Group: Members
Posts: 1804
Joined: 10-March 04
From: Cordoba, Argentina
Member No.: 554



QUOTE(drian @ Mar 11 2007, 06:28 AM) *
wiki.domain1.net and wiki.domain2.net


same subdomain, different domains, surely addon domains.

good question.








--------------------
Go to the top of the page
 
+Quote Post
MarkM
post Mar 12 2007, 06:23 PM
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. blink.gif

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.


--------------------
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| Mark Mutti [Super Moderator]
| I'm not a HOSTONY Staff Member, but if you need a post moderated or spam
| deleted please let me know.

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

Go to the top of the page
 
+Quote Post
drian
post Mar 14 2007, 01:32 PM
Post #5


Junior Member


Group: Members
Posts: 4
Joined: 21-August 06
Member No.: 2487



thx for the replies, will try that this evening.
Go to the top of the page
 
+Quote Post
MarkM
post Mar 14 2007, 02:19 PM
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. smile.gif


--------------------
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| Mark Mutti [Super Moderator]
| I'm not a HOSTONY Staff Member, but if you need a post moderated or spam
| deleted please let me know.

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

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 18th November 2017 - 11:46 AM