By kc on
I have read quite a bit of posts on that but none gives a clear answer to my question.
What I am trying to accomplish is to set up my site such that i can have my url-aliased nodes as subdomains.
Example:
if i have 3 nodes like:
mysite.com/node1
mysite.com/node2
mysite.com/node3
i would like to be able to access them or set them up so i should have:
node1.mysite.com
node2.mysite.com
node3.mysite.com
What does it take to accomplish that, assuming that i have all server priviledges.
if question needs further clarification please let me know.
thanks
kc
Comments
You are going to want to use
You are going to want to use 'sub-domains'. You would probably need to do this in conjunction w/ mod_rewite (clean / pretty urls). In particular, you need to add them all to youre 'Server Alias' in your httpd.com / conf.d/site.conf depending on your setup. You will then need to do a rewrite to get it to go to the proper place.
I cant provide any specific scripts, but this should give you a enough to start looking up for a bit, or ask more targeted questions around. My stuff only applies to apache(possibly 2x, never got into 1.3), If you are running windows / IIS, this probably wont help.
This is more of a system / web-server question than a drupal one, so you may want to hit some more specific targeted sites.
--
eric();
>:-@ | Photography