subdomains and folder aliases

mehmehmeh

New member
Joined
Jul 17, 2008
Messages
2
right now I am using a shopping cart that is hosted by another company. using cnames in the DNS settings we have multiple subdomains that all point to their cart system hosted on their server ie.
shoes.mydomain.com
hats.mydomain.com
shirts.mydomain.com
all are valid ways of reaching our shopping cart. which is something like
www.cartprovider.com/yourstorename

I am currently working on installing zen cart on our direct admin hosted server. for example lets say it is installed at www.mydomain.com/zen-cart

i know I can create the subdomain zen-cart.mydomain.com which will be the equivalent of having the full url typed out

but can I have a different name (than the dirrectly name) as the domain prefix ie
shop.mydomain.com -> www.mydomain.com/zen-cart

and also can I have multiple prefixes pointing to the same directory

shoes.mydomain.com \
hats.mydomain.com ---> all point to www.mydomain.com/zen-cart
shirts.mydomain.com /

This should all be invisible to the user, no redirects or anything like that
shirts.mydomain.com/shirt23.html should pull the file www.mydomain.com/zen-cart/shirt23.html but remain as typed in the browser url window.
 
You don't say whether you're using DirectAdmin yourself, or hosting with a provider using DirectAdmin.

Either way the server administrator can create custom changes to your domain-specific index.html file which will allow any domain to point to any publicly available directory.

Jeff
 
Hostpc is my hosting provider (shared, not dedicated server), they use directadmin on their servers
 
Back
Top