PDA

View Full Version : name based hosting?


uvbnserved
15th June 2009, 05:46
alright so i have a domain pointed to my server. i type in the domain and it just goes to my servers /var/www folder and does the index page for that. how do i get it to go to the clients web folder and read the index page from there? do i have to set up something with mydns on my server or what?

Stephan
15th June 2009, 07:49
what kind of server you try to config? lighttd/nginx/apache? basically you choose the path with vhost

uvbnserved
15th June 2009, 07:58
apache 2 on a ubuntu server. how do i chose the path?

uvbnserved
15th June 2009, 19:06
@anurdh65
can you describe what that would do?
i just need people to be able to type in a domain and have the server reirect that request to the proper clients web server.

falko
16th June 2009, 15:04
alright so i have a domain pointed to my server. i type in the domain and it just goes to my servers /var/www folder and does the index page for that. how do i get it to go to the clients web folder and read the index page from there? do i have to set up something with mydns on my server or what?

Do the clients use another domain, or a subdomain of your domain, or just a client-specific path that is appended to the domain?