GatorGuy Posted September 5, 2004 Share Posted September 5, 2004 I have upgraded our servers to apache and have a question. If I want to run more then one domain on one server how do I configure apache to take the domain to the right folder? If it helps we have our own dns server for the domains. Quote Link to comment Share on other sites More sharing options...
borfast Posted September 5, 2004 Share Posted September 5, 2004 (edited) I haven't played much with this but if I'm not mistaken, you must use the <VirtualHost> configuration directive to set that. Something like ><VirtualHost domain.com:80> DocumentRoot /home/user/domain.com ServerName domain.com </VirtualHost> I believe the Apache manual has this pretty well covered, so if you have any doubts, you can ask here or look in the manual. Moving into a more appropriate forum. Edited September 5, 2004 by TCH-Raul Quote Link to comment Share on other sites More sharing options...
borfast Posted September 5, 2004 Share Posted September 5, 2004 Here's the link to the VirtualHost manual page on the Apache manual. Quote Link to comment Share on other sites More sharing options...
GatorGuy Posted September 5, 2004 Author Share Posted September 5, 2004 That was easy... Thank you Raul! Rock Sign Quote Link to comment Share on other sites More sharing options...
borfast Posted September 5, 2004 Share Posted September 5, 2004 No problem, glad it worked Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.