Directory setup

liunx

Guest
Quick question about layout of folders.<br />
<br />
DOMAIN FOLDER<br />
index.html<br />
subfold<br />
<br />
<br />
ok, so the address for <br />
DOMAINFOLDER = <!-- m --><a class="postlink" href="http://domain.com">http://domain.com</a><!-- m --><br />
subfold = <!-- m --><a class="postlink" href="http://domain.com/subfold">http://domain.com/subfold</a><!-- m --><br />
<br />
my question is, how do I make a folder work like this...<br />
<br />
myfolder = <!-- m --><a class="postlink" href="http://myfold.domain.com">http://myfold.domain.com</a><!-- m --><br />
<br />
???<br />
Hopefully you understand<!--content-->Originally posted by dabush <br />
myfolder = <!-- m --><a class="postlink" href="http://myfold.domain.com">http://myfold.domain.com</a><!-- m --> <br />
<br />
The "how" depends on your host. Some hosts allow a subdomain to be set up via a control panel, some require you to request the setup directly from them, some will charge a moderate fee (like $5 per s/domain), some might not allow subdomains at all.<br />
<br />
Set up your subdir first, then ask the host - that way you'll be ready if he can do it immediately.<br />
<br />
Note also that many hosts will only allow a first-level folder to be a subdomain. For example:<br />
<br />
DOMAIN FOLDER<br />
index.html<br />
subfold<br />
product.html<br />
sub-sub-folder<br />
<br />
They'll allow "subfold" to be a subdomain but not "sub-sub-folder".<br />
<br />
You need to get the rules and options from your Host.<br />
<br />
Hope that helps.<!--content-->
 
Back
Top