Hi All,

I need to know if it is possible to share a servers "root" directory with other domains
with either the same or a different IP address (all running Apache 2)and how?


Thanks Chris

Yes it is possible. Just change VirtualHost and DocumentRoot directives inside each virtual host file, you can find them inside /etc/apache2/sites-available and sites/enabled.

After that reload the server.

You may want to move your thread to Hardware & Software > Linux and Unix > Linux Servers and Apache forum, to get more help. Bye :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.