View Single Post
Old 04-21-2008, 05:42 PM   #11 (permalink)
RobertFrans
I'm the Sexy one!
 
Join Date: Aug 2007
Location: Linköping
Posts: 118
Points: 290
hmm lets throw in some input.

a REAL subdomain you set in your DNS. (most hosts take care of the dns for you and or you ask them todo it or they have a admin panel where you can do it)

yoursite.com and E-Commerce Hosting (most of time point to the same site) but www. is just a subdomain ;-) setup in your dns.

In your apache configuration file .. you set domain.com and domain.com - Get online with a domain name and web hosting to point to the right folder.

setting up a new sub domain .. you would set in your DNS site1.domain.com and pointing to teh same IP as the rest (unless you want/have differnt ip's)

Then in your apache configuration file .. you point to a differnt folder.

You can also fake this .. by setting in your dns *.domain.com and every sub domain would just link to the same site... then with php you could fish out the subdomain and show something differnt based on the subdomain.

[@]panels ... I never use them, I don't know much about linux .. but I guess have been computer savy enough to learn the things I need to know to get my servers the way I want it and not being limited to panels .. that do everything I don't want .. hehe

EDIT:

Don't bother the links .. crappy title addon! ;-)
RobertFrans is online now   Reply With Quote Send a private message to RobertFrans