Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> How To Get Real Subdomains
delivi
post Jan 12 2007, 11:28 PM
Post #1


Trap Grand Marshal Member
***********

Group: [HOSTED]
Posts: 1,317
Joined: 11-January 06
From: Chennai, India
Member No.: 16,932
myCENT:32.75



I want to setup sections of my site as
QUOTE
http://****.laschatz.info
using subdomains. Presently if I create a subdomain for the forum ,
QUOTE
then I can only set an redirection to the folder
QUOTE


I want the link to remain as forum.laschatz.info and not to change. How can I get this? Please help me.
Go to the top of the page
 
+Quote Post
jlhaslip
post Jan 13 2007, 01:40 AM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,304
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:READY[101.50]



When you create an add-on domain to your account, it automagically creates the directory and that directory holds the files and folders for the add-on domain, so the link to subdomain.myaccount.trap17.com will resolve to myaccount.trap17.com/subdomain. Automagically.
Go to the top of the page
 
+Quote Post
Saint_Michael
post Jan 13 2007, 02:16 AM
Post #3


$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************

Group: [HOSTED]
Posts: 6,798
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
T17 GFX Crew
myCENT:2.80



A light alteration to haslip post ig I might, when you do the add on domain, vo to set up redirect and then type it out like you want it should hold the mydomain.mydomain.trap17.com look try that and see what happens.
Go to the top of the page
 
+Quote Post
farsiscript
post Jan 15 2007, 10:25 AM
Post #4


Super Member
*********

Group: Members
Posts: 357
Joined: 8-April 06
Member No.: 21,487



dear delivi use subdomain in cpanel for add subdomain for root domain , if you want add subdomain for 2nd domain , at first you must use addon domain for join domain to hosting then you must use subdomain sec at cpanel for add forum subdomain for new domain ,
in cpanel subdomain sec you can change domain name for adding a subdomain
Go to the top of the page
 
+Quote Post
detportal
post Jan 19 2007, 02:14 AM
Post #5


Member [Level 2]
*****

Group: Members
Posts: 80
Joined: 26-November 06
Member No.: 34,068



delivi:

when you use the subdomain tool to create a subdomain for a folder that doesn't yet exist, that folder is created along with a cgi-bin folder within it. When you create a normal extra directory, this does not happen. Hence I believe the cgi-bin has something to do with the creation of a "real" subdomain. I'm just logging into my cpanel as I'm typing this...

The cgi-bin folder doesn't have any files/folders inside it. Either that, or they are invisible to the file manager (which I doubt).

So my guess is that you should try creating a folder called "cgi-bin" within the "forum" folder without any additional subdirectories/files inside the "cgi-bin" folder, and see what happens. The other members told you to set up a redirection through the cpanel (check out Albus Dumbledore's cpanel tutorial for more info on that). In my experience, I believe it does not automatically create a cgi-bin folder, rather it literally redirects (i.e the viewer types "forum.mydirectory.com" and is redirected to "mydirectory.com/forum"), as you said in your post. If a cgi-bin does not automatically create a proper subdomain out of that folder, I believe you will need to do both.

Conclusion: try experimenting with either of the two methods, if they don't work, combine them. If it still doesn't work, there's the sure-fire, slightly more timetaking method:

simply copy the files and folders you have in the "forum" folder into a new folder, with any name. then delete the "forum" folder. then use cpanel's subdomain tool to set up a new subdomain, letting it create the directory for you. then simply move the files you copied BACK. this will DEFINITELY create a "real" subdomain, where "forum.laschatz.info" will stay as "forum.laschatz.info". Simple!

hope it helps!

This post has been edited by detportal: Jan 19 2007, 02:19 AM
Go to the top of the page
 
+Quote Post
QuickSilva
post Jan 19 2007, 04:03 PM
Post #6


Premium Member
********

Group: Members
Posts: 181
Joined: 15-January 07
From: Rotherham, UK
Member No.: 37,245



Right this is how to do it:

Right first of all what you need to do is go into cPanel and create the sub-domain as normal. Once created, in the list of sub-domains and next to the sub-domain you just created there should be some brackets. Copy what is in between these. Next go to the FTP page, where you create FTP accounts, and click "[ Add FTP Account ]". On the next page type these details in:
Login: Any username. Not needed.
Password: Any password. Again not needed.
Quota: Leave as unlimited
Directory Copy and paste the sub-domain here. Say your sub-domain was "forums.mysite.com", put "/forums" in here.
Then click "create"!

Hope this helps.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



- Lo-Fi Version Time is now: 23rd November 2008 - 06:16 PM