subdomain

Subdomains created in DirectAdmin are subdirectories under the public_html directory.

For example:

If your username is username and your domain is example.com, and you create a subdomain sub.example.com, then the full path to your subdomain is:

/home/username/domains/example.com/public_html/sub/

Your ftp path is:

domains/example.com/public_html/sub/

or if you only have one domain, simply:

public_html/sub/

I hope this helps.

Jeff
 
is it possible to have it point to public_html/~sub ?
This because I am expecting lots of subdomains and would't want it to get confused with any existing folders.
 
~sub is defined as the user directory for the user "sub", and DA doesn't create users for subdomains.

So the answer is no.

When you set up a username in DirectAdmin it creates a subdirectory with the same subdomain name.

Jeff
 
Dear Mentors and Teachers

I am beginer .Plz guide me.

I have a webpage http://bibifiza.com/1234.htm

now i have 1234 subdomain and i want to Setup 1234.bibifiza.com

I have already made /home//domains/bibifiza/public_html/sub/

I am confused that may i have to upload a new 1234.html page including data in /sub directory ??

Please help

Thanks.
 
if you want the subdomain to show different content you have to upload your content to the /1234/ directory.

if you want the subdomain to show the usual index, I *THINK* you have to alter the DNS, adding an A-record:

1234 A YourIP

I'm not sure about this. But you'll probably get an answer on it.
 
Subdomains versus domains

Hello,

If you want your subdomain outside of domain public_html
->Go to:
»Domain Setup
» Add another domain
» Fill the data
Domain: [ subdomain.domain.tld ]
...
->Advantages
» Less confusion
» You can redirect it without create a .htaccess manualy
» You can create [email protected]


If you want your subdomain intside of domain public_html
-> Subdomain management
Fill the data
ADD
-> You need to create a .htaccess file if you want to redirect
-> You can't create [email protected]
 
Back
Top