Welcome to WebmasterWorld Guest from 23.22.140.143

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Domains Sharing IP address

Using apache sharing directories...

     
3:50 am on Feb 25, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 22, 2002
posts:65
votes: 0


I have 2 domain names resolving to an ip address that points all domains to /user/john/www/ . I don't have access to the htconf file. I know its possible but I'm not sure. I would like one domain to continue resolving to /user/john/www/ while the other resolves to /user/john/wwwdomaintwo/ or something similar using apache and .htaccess. Thanks.

just noticed this url: [webmasterworld.com ] no real information though.

5:41 am on Feb 25, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 21, 1999
posts:2141
votes: 0


This [webmasterworld.com] intro should get you started.
3:29 am on Feb 26, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 22, 2002
posts:65
votes: 0


no, thats not what Im looking for, it seems that you need access to httpd.conf to point domains to specific non-www directories.
5:47 am on Feb 26, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 21, 1999
posts:2141
votes: 0


You are correct, you will need a virtual hosting setup and that must be done in httpd.conf. Many commercial hosts will set this up for you for a small one time charge.