how to point subdomains to a specific folder

aryan

Verified User
Joined
May 5, 2010
Messages
11
Hello please help me its really urgent.

i created the 4 subdomains abc.124.com , def.124.com they are pointing to public_html/abc and public_html/def folder.

i want to point these subdomains to public_html/img folder , how can i do this?

please please please tell me each step . i am newbie.

i need these subdomains to parallalize the loading of images and js/css

thank you

Note: i already read lot of tutorials but they didn't help me . so please explain here with each step.
 
Is it your server? If not then you'll probably need your hosting company's help in making changes to your domain's specific httpd.conf file to point the domains to a different DocumentRoot.

Documentation is here (apache.org); search for DocumentRoot Directive.

This thread has been moved; it's a User-Level issue.

Jeff
 
Is it your server? If not then you'll probably need your hosting company's help in making changes to your domain's specific httpd.conf file to point the domains to a different DocumentRoot.

Documentation is here (apache.org); search for DocumentRoot Directive.

This thread has been moved; it's a User-Level issue.

Jeff

Sorry!

Well i don't understand the link you refered :(

Well i fixed it manually but don't know its correct and safe for my server or not.

Pointing using subdomain ( i can't find the solution) SO , i just added the domain (sub.domain.com) from user level. and then edit the httpd config file from admin level. just added the |?DOCROOT= /path/to/folder/of/maindomain|

Its working fine now!

Any suggestion?
thank you
 
The link is simply a link to the apache documentation on what you're doing.

Presuming that your domain is under you admin account, then what you did is what I said in my first lines (before I realized you had your own server).

Jeff
 
Back
Top