View Single Post
Old 01-25-2004, 05:12 PM  
icedemon
Confirmed User
 
Join Date: Jun 2003
Location: Lutz, FL
Posts: 1,022
Quote:
Originally posted by alex79
how can i use same folder to 2 or many domains?

for example i want use a single folder and domain1.com/folder/ and domain2.com/folder/ to display same folder content
Just setup in the httpd.conf file so that both domains go to the same folder.

<VirtualHost 1.2.3.4:80>
ServerName domain1.com
DocumentRoot /home/folder/public_html
ServerAlias *.domain1.com domain2.com *.domain2.com
</VirtualHost>

Or make two of the above but with each domain instead of the Sever Alias. Just have both domains use the same ip address. The same thing that "some_idiot" said.
__________________
Clips4Sale.com

Last edited by icedemon; 01-25-2004 at 05:15 PM..
icedemon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote