Jul 25, 2008

Subdomain Folders - How can I specify a new folder for my subDomain?

Free Web Hosting, No Ads > Xisto Network Sites > ComputingHost Forum > Technical Support

free web hosting

Subdomain Folders - How can I specify a new folder for my subDomain?

Takkun
Edit: This issue has been solved. See last post.

When I set up a subDomain, it automatically assigns a folder to it.
QUOTE
sub.webiste.org --> webiste.org/sub

This is fine for only basic configurations. Instead, I need to specify the path, like this:
QUOTE
sub.webiste.org --> webiste.org/www/sub/zzz

I can do this easily with apache (my localhost test-rig; adding a virtualhost) and I thought I could do this in CPanel by specifying the path for a subdomain. However, this CPanel setup pre-defines a folder and I dont know how to change it! I tried a subDomain redirect but it just removes the -short- subDomain url with the real -longer- one.

Any ideas, questions, thoughts?

 

 

 


Reply

BuffaloHELP
You're only refering to creating ONLY the sub-domain (and not add-on domain).

You can create website.org/sub and place index.php in that folder
CODE

<?php
header("Location: http://www.website.org/sub/zzz");

exit;
?>

And create a normal index file under folder sub/zzz and starting building your site.
This is the simplest solution.

Another way of doing things is to use Site Management Tools / Manage Redirects to divert traffic going to set location. This is the best way of doing your redirect.

Reply

Takkun
Thanks for the suggestions. Yes you are correct: I am taking about a sub-domain and not an add-on domain. Hmm, I never thought of that php-method; but I dont want any re-direction to other urls (I explain this in the last paragraph of this post).

After a bit of research last night, I discovered what I'm looking for: Symbolic Links link1, link2 (I'll try it in SSH, if I can "someday" connect to the server!).

My Situation:
Lets say I have three files:
  1. site.domain.org/index.php
  2. site.domain.org/forum/phpbb2/index.php
  3. site.domain.org/forum/phpbb2/login.php
...and 2 subDomains:
  1. forum.domain.org
  2. site.domain.org

Naturally, my forum's subDomain needs to act as if the phpbb2 directory is it's root directory. When I click on a link that says "forum.domain.org/login.php", then that’s the exact URL I want to see in my Address Bar (after the page loads). Furthermore, this needs to work for all files in the phpbb2 folder (all pages, images, etc...). This would be a very SIMPLE task if I could just specify the root directory for any given subDomain. Well, maybe I'll just have to ask support to do it for me. dry.gif

 

 

 


Reply

Takkun
Solved! I emailed tech support (technical@computinghost.com) and asked if they could change my subDomains root folder. Apparently it's quite a simple procedure for them. Within 12 hours later, it was done and works perfectly! The new root for the subDomain also shows up in CPanel/SubDomains page. Kudos to Stanley in tech support!

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : subdomain, folders, folder, subdomain

  1. Msn My Sharing Folders
    (0)
  2. Xisto Sold A Subdomain Of My Domain?
    (2)
    We own colegiodepediatria.com, official site for the Colegio de Pediatria de San Luis Potosí, a
    mexican medical association. I received at 1205 the following feedback in the site: Hey, just
    discovered that my VPS was compromised and did a google search to see if their were any other
    victims and I found out you are. http://donsa.colegiodepediatria.com/hk-sho...xpect-cool-sing
    The above page showed some asian text. I contacted Xisto online help, which weren't able to help
    and told me to contact support. I wrote them and got the following answer: "We have checke....
  3. Tutorial : Hide Folder Without Any Softwares
    Descriptive enough! (10)
    It's easy, just a few steps and your folder will be hidden First step : Create folder, name it
    using alt+0160 Second : A folder will be created with name 1 space, then right click the folder,
    properties, customize, change icon, see for a blank icon and press apply Enjoy Video tutorial
    uploaded by me http://www.youtube.com/watch?v=EW8dD3KeUJk Have fun.....
  4. How Do I Acces My Www Folder And More?
    (9)
    Guys i want to change my WWW but im not sure how to do this i would be happy if anyone helps me also
    i have a mySQL created by navicat and i want to upload that so like ppl from my site can make
    account on my mySQL PLZ help me i would be really happy....
  5. My Domain Is A Subdomain, But A Domain Regardless
    It's from dyndns.com and it doesn't start with www (2)
    I have a sub-domain blah.blah.blah through DynDNS.com, but not www.blah.blah. Well I could set the
    *.blah.blah.blah wild card, but then I'd have www.my.domain.name (with 3 periods...), is it
    possible I can host the domain without using the www. in front? Or do I use the domain.com (which
    isn't mine) and in my configuration here on trap17, add the subdomain as a virtual host? I'm
    confused. I click on Create a Hosting Account and I get a page to enter my domain details and a
    username & password to use. Well when I applied for hosting priviledges, does the ....
  6. Domain Name On Subdomain?
    (6)
    Ok.. so i ask alot of questions, but right now i have have-heart.net right &
    have-heart.net/chantelle i was wondering if there was a way to install Chantellepaige.org into
    cpanel, but only have it be for have-heart.net/chantelle if i cant, i might start a new trap17
    website lalala.. does anyone know how that works? do i get twice the ammount of credits subtracted
    daily, or what?? also is there a way to transfer allmy cutenews directories.. hehe(: answer me
    people....
  7. Change Out Free Subdomain
    (2)
    Can we change out free subdomain provied by the Qupsis to our own domain name after registration.
    Is this allowed. Or i should delete the account and apply for a fresh one on qupsis.....
  8. Need Some Help In File Browser
    listing all sub folders and files in them. (8)
    Hey I want to create a very simple file browser, so that, it reads all the sub-folders which are
    places in a directory, and the files inside the sub-folders (It reads only files inside sub-folders
    and list them in simply. ) Also, it creates a directory (any name) inside each sub folder. My
    Following code reads on the files inside the main directory, it does not read the files inside the
    sub-folders.. I appreciate any help. CODE <? $path = "./"; $dir_handle =
    @opendir($path) or die("Unable to open $path"); whil....
  9. Hack My Subdomain?
    (4)
    Hi, as you know I love giving away credits, and I was trying to think of the best competition for
    my upcoming one and I thought why not a hacking one? So, before I start working on it I wanted to
    make sure that it was allowed. I know trap17 doesn't support hacking "themed" websites, but
    thats not really what this is. Its just going to be a regular site and the competition will be to
    break my site by means of sql injection, js injection, and perhaps some other basic techniques. The
    first person to bring down the site will win. It is all for sport, no truly malic....
  10. Data On My Subdomain/webspace Vanished
    I need quick response!!! (1)
    Okey, I noticed that there is no data on http://rvovk.computinghost.com/ I have had htaccess
    redirect 301 files on computinghost server to point it to http://godbacrnomelj.rvovk.com/ Some
    time in the past happened that this redirection is not functional anymore and also I can't get
    logged onto my server. My email robertv@najdi.si was deleted, which I used for computinghost.com
    registration, due to changing from free email service to paid email service, so I can't get nor
    my new password nor information about server changes that happened on computinghost.c....
  11. Cakephp On Ubuntu
    using your own public_html folder (0)
    Hi, there are many tutorials about this, but i would like to type the steps i followed in order to
    get cakephp working on my user public_html folder. as many of you probably know, if you have
    apache's userdir module loaded, you can put your web pages on /home/user/public_html , and
    access them with the url: http://localhost/~user/ . I really prefer this, so all my web pages are
    on my personal home, but how to configure cakephp to work with these paths, i got a hard time with
    this, but finally got it!. here's how: in case you don't have apache2's u....
  12. I've Given A Friend A Subdomain
    I need a cPanel (3)
    Hi there a friend of mine was absolutely desperate for a webpage so, me being the kind but stupid
    person that I am, made him a sub-domain, and set up the ftp account. However if he wants to install
    something in the future that uses Mysql I have to make him a database and a user etc, etc My
    question is, is it possible to give him something like cpanel? could i install it on the sub-domain?
    So that he can have controls like mysql, file manager, site submission? If it is possible, It needs
    to be VERY cheap! free is ideal! I think I've found a file manager but....
  13. Safe Mode Of Php Configuration
    in subdomain of trap17.com (4)
    hallo master.. how to change php configuration from safe_mode off become ON in this trap17.com
    subdomain? please someone tell me, /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" />....
  14. Best Way To Lock A Folder Without Using An Application
    (13)
    Steps: 1- make a new folder ( name it as you like ) 2- inside this folder make a (.TXT ) file &
    copy the following inside it: CODE Quote: cls @ECHO OFF title Folder Private if EXIST
    "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK if NOT EXIST Private goto
    MDLOCKER :CONFIRM echo Are you sure you want to lock the folder(Y/N) set/p
    "cho=>" if %cho%==Y goto LOCK if %cho%==y goto LOCK if %cho%==n goto END if %cho%==N
    goto END echo Invalid choice. goto CONFIRM :LOCK ren Private "Control Panel.{21EC2020-3AEA....
  15. Image Calling Problem Solved
    I was having issues trying to call an image from a folder. (1)
    Alright so this is for example You'd have a site and the structure is like this.
    http://www.url.com/ a folder of images /images/ and some pages in this parent directory. However,
    I have another folder so it's http://www.url.com/other/ and this index page needs to call
    things from http://www.url.com/images/ and it can't. It won't load. I've had the
    call be to CODE <img src="images/" or <img src="../images/" and
    <img src="http://www.url.com/images/" It doesn't work. I can't....
  16. How To Hide Your Important Files And Folders
    In Ms. Windows, Without Using Programmes. (7)
    Most of people share their computers with others -family, mates, buddy or whoever- and that sharing
    threatens their secrets and private file to be revealed, letting some people to know things they
    shouldn't know.. My Securing Way: Operation - Camouflage Use an Icon
    Editor to generate a 1x1 Transparent Icon and Save it .. > 1 Open CMD.. Start >> Run or Press
    WindowsLogo+R.. Lets Say you wanna hide a Folder named " secure " and it's located in
    E:\folder\ so Write E: and Press Enter then Write Cd folder and Enter then At....
  17. My Subdomain Not Working
    imbibe.in (3)
    I have a addon domain in my account (ramansingla.info): imbibe.in All subdomains on imbibe.in work
    fine but one. ike.imbibe.in isn't working. It's more than 24 hrs that I created it. Also
    when I tried to change Nameservers for ramansingla.info at GoDaddy for Primary Nameserver I entered
    NS.COMPUTINGHOST.COM & GoDaddy said Invalid. Kindly help as it is urgent. Thanks & resolved .......
  18. /tmp Folder In File Manager
    (4)
    I know awhile back there was a question brought up about the /TMP folder taking up space, and if
    anyone remembers that topic do you remember if TMP was an acronym for temporary, and can you safely
    delete the contents in that folder? Right now I am cleaning out my hosting account and the files in
    that folder are the only ones taking up space at the moment.....
  19. If I Add A Domain Do I Still Have The Subdomain?
    there's still another question (2)
    I am just wondering, for example if I buy the domain www.test-test.com and redirect it to my trap17
    site will I still have the subdomain I signed up with? So just breaking it down:
    test-test.trap17.com *Before then add domain www.test-test.com can I still access my website using
    test-test.trap17.com? and second question, can I use two domains and redirect them both to my
    trap17 site, so for example I have two domains www.test-test.com and www.testing-testing.com can I
    redirect then both to the same trap17 website? not saying that i will be doing this (domains are
    just ....
  20. Windows Ntfs Folder And File Compression. Good Or Bad?
    (6)
    I believe everyone in this forum knows what a file system means and that every windows user knows
    what FAT and NTFS means so I am not gonna start going into those. Well, the NTFS (Windows NT file
    system) offers a few advantages over the good ol' FAT (File allocation table) file system one of
    which is the files and folders compression. This I have done quite a number of times to save disc
    space (and it really does save some disc space). i am using my computer as an example here. Consider
    my 35GB partition which is carrying my Windows Vista Operating sys and has less ....
  21. Upgrading From Subdomain To Domain
    (2)
    Okay, I'm trying to figure this out, and I can't seem to find this because I've been
    looking around the forums for a while now.... Anyway, I was wondering if it's good to transfer
    a site hosted at trap17 to computinghost. I would like to transfer it at some point (it's not
    really a necessary thing at this exact point, because I'm not near using the space or bandwidth
    yet... I don't think anyway lol), and I wasn't sure if that would 'hurt' my site in
    anyway. I'm thinking about transferring it, because I'd love to spend the....
  22. How To Disable "show Hidden Files And Folders" In Folder Option
    (11)
    How to disable "Show hidden files and folders" in Folder Option As you know, you can hide files
    or folders in Microsoft Windows ( to hide a file or folder , right click on file or folder >select
    properties and then select Hide file) But if you open Folder Option and check "Show hidden files
    and folders " you can see hidden files. to disable "Show hidden files and folders" feature follow
    below steps : 1- Click start > Run > type regedit to run Windows Registry Editor. 2- Go to following
    address: QUOTE HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/Current Versio....
  23. Make A Folder Named Con
    you can never do that (6)
    an interesting thing that you never exprienced it@ try to create a file or folder named con in
    windows! you will never be succed to that! and also you are not able to make these names
    too!!!!:D con nul lpt1 lpt2 lpt3 com1 com2 and com3 !!!: /biggrin.gif"
    style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />:D you have prize if you
    make a folder named them!:D but you can use this option to lock your cd(s) !!:
    /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />:D you ca....
  24. How To Lock A Folder And Keep It Private
    title explains it (14)
    okay people i had a member ask earlyer how to lock folder and or a file and i had the answer, and i
    though to my self after i had written it maybe everyone may need to do thsi so ill post it into a
    tutorial, okay so i wrote this for someoneelse earlyer and am posting it here for all to see: you
    dont need software to lock a folder or add a password to a folder right okay this is my little
    tutorial on how to lock a folder, here we go first things first you need a random folder or the
    folder you wish to lcok then put what ever you want to lock into the folder, then right c....
  25. Try To Make Con Folder In Microsoft Os
    Reason why u cant make some folder names in win os (7)
    Guys try to make con folder in win os can u??? yes ??? no??? Answer is No, bcoz their few names
    /ohmy.gif" style="vertical-align:middle" emoid=":o" border="0" alt="ohmy.gif" /> CON, PRN, AUX,
    CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4,
    LPT5, LPT6, LPT7, LPT8, LPT9 can be more too. are all Windows reserved device names from the early
    days of DOS. i tried this in CMD "mkdir \\.\c:\CON" This will create CON folder
    in e: drive. u will Reply from OS The directory name is invalid. Try if u get succe....
  26. Creating Subdomain Hosting On Other Hosts?
    (3)
    Im interested to know if its possible to create subdomain service without setting up own hosting ?
    For example if I buy paying hosting with enough space.. is it possible in that case ? What are the
    negative sides of this thing and are there any positive things of it also ? /ohmy.gif"
    style="vertical-align:middle" emoid=":o" border="0" alt="ohmy.gif" /> does the hosting company
    usually have problem with this ??....
  27. Cannot Delete Folder After Lost Ftp Connection
    permission not given to delete file (7)
    hello, well i had created a subdomain and was transferring files into the folder i was disconnect
    from the server many times while uploading the files via ftp once when i reconnect, i saw a file
    with an unusual name something starting with preftp... i tried deleting the file, but it said that
    permission was not granted to do that i tired deleting the complete folder and also tried deleting
    the subdomain from the cpanel but it was of no use can anyone help me with this? thx for your time
    Modified topic title. ....
  28. What's The Best Subdomain/url Redirect Service?
    Recommend me some. (34)
    OK, so far I have tried now.nu and da.ru but both sign-ups failed, hence rendering the subdomain I
    wanted invalid forever and ever and ever and ever. Why I don't want to try .co.nr is because
    they require a button link on your main page, even though they claim it is ad-free. That is one of
    the reasons why I won't use their service - I hate people who make false claims. The other
    reason I won't use their service is because the site I'm making is for a school submission
    and it just is going to look very stupid/irritating to have a site that you worked a m....
  29. Read-only Folders In Xp
    Can't change Read-Only attribute in XP (11)
    Hi, I am working with a firma. We use WinCvs which is a software similar to perforce. I downloaded
    the developement to C: (eg. c:/development) The folder c:/development and the folders under it have
    Read-Only permisions. I need to remove that restriction. I press right-button, i unchecked the
    read-only check-box and i apply to this folder and folders under it. Whe it finisehd i click ok. Whe
    i press the right button again i discovered that the folder has still the read-only attribute. So it
    seems nothing changed. something similar happen to you? How can i uncheck the ....
  30. Change Permission With Php Code
    code to change files' and folders' permissions? (3)
    As everyone know, there two ways (that I can think of) to change files' and directories'
    permissions. One is to change it in your cPanel's Disk Manager and the other is with an FTP
    client that supports chmod. Well, I'm doing something for my site that requires files to have
    full permissions (Execute, Write, and Read on all three groups). At first, I thought that if I made
    the directory 777, then every file created in that directory will be 777 as well. I'm wrong. An
    alternative to doing this is to change each file permission myself, but that would be....

    1. Looking for subdomain, folders, folder, subdomain

Searching Video's for subdomain, folders, folder, subdomain
Similar
Msn My
Sharing
Folders
Xisto Sold A
Subdomain Of
My Domain?
Tutorial :
Hide Folder
Without Any
Softwares -
Descriptive
enough!
How Do I
Acces My Www
Folder And
More?
My Domain Is
A Subdomain,
But A Domain
Regardless -
It's
from
dyndns.com
and it
doesn't
start with
www
Domain Name
On
Subdomain?
Change Out
Free
Subdomain
Need Some
Help In File
Browser -
listing all
sub folders
and files in
them.
Hack My
Subdomain?
Data On My
Subdomain/we
bspace
Vanished - I
need quick
response!
;!!
Cakephp On
Ubuntu -
using your
own
public_html
folder
I've
Given A
Friend A
Subdomain -
I need a
cPanel
Safe Mode Of
Php
Configuratio
n - in
subdomain of
trap17.com
Best Way To
Lock A
Folder
Without
Using An
Application
Image
Calling
Problem
Solved - I
was having
issues
trying to
call an
image from a
folder.
How To Hide
Your
Important
Files And
Folders - In
Ms. Windows,
Without
Using
Programmes.
My Subdomain
Not Working
- imbibe.in
/tmp Folder
In File
Manager
If I Add A
Domain Do I
Still Have
The
Subdomain? -
there's
still
another
question
Windows Ntfs
Folder And
File
Compression.
Good Or Bad?
Upgrading
From
Subdomain To
Domain
How To
Disable
"show
Hidden Files
And
Folders"
; In Folder
Option
Make A
Folder Named
Con - you
can never do
that
How To Lock
A Folder And
Keep It
Private -
title
explains it
Try To Make
Con Folder
In Microsoft
Os - Reason
why u cant
make some
folder names
in win os
Creating
Subdomain
Hosting On
Other Hosts?
Cannot
Delete
Folder After
Lost Ftp
Connection -
permission
not given to
delete file
What's
The Best
Subdomain/ur
l Redirect
Service? -
Recommend me
some.
Read-only
Folders In
Xp -
Can't
change
Read-Only
attribute in
XP
Change
Permission
With Php
Code - code
to change
files'
and
folders'
permissions?
advertisement



Subdomain Folders - How can I specify a new folder for my subDomain?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE