Results 1 to 3 of 3
Thread: Webmin Apache Help?
-
12-14-2007, 10:43 PM #1Newbie
- Join Date
- Jul 2007
- Location
- Northeast, USA
- Posts
- 11
Webmin Apache Help?
Hi,
I've got Webmin 1.380 installed and working on a CentOS 4.5 VPS - everything seems to be good and it seems to be the solution I've been looking for.
But I'm having some trouble getting sites hosted correctly. After some tinkering and reading the Apache documentation on name-based virtual hosts, I realized that it was just easier to edit the httpd.conf file manually rather than deal with Webmin's interface for adding a bunch of domains quickly.
I'm not after anything fancy here at all - I'm adding 'domain1.com' (for example) to Apache using something like:
Code:NameVirtualHost * <VirtualHost my.vps.ip.address:*> ServerName www.domain1.com DocumentRoot /home/user1/domain1.com </VirtualHost>
Probably one of those little things I'm just not seeing, but I really can't seem to figure this out.
Any ideas?Last edited by jpaolini; 12-14-2007 at 10:44 PM. Reason: Typo.
Happily Hosted With: 1and1 (Unix Shared & Windows VPS), ServInt VPS.
-
12-19-2007, 01:59 PM #2Newbie
- Join Date
- Jul 2007
- Location
- Northeast, USA
- Posts
- 11
Respectful bump.
Happily Hosted With: 1and1 (Unix Shared & Windows VPS), ServInt VPS.
-
12-20-2007, 10:30 PM #3Junior Guru Wannabe
- Join Date
- Mar 2001
- Location
- Denver, CO
- Posts
- 43
Not sure if it will help but you may want to try:
<VirtualHost my.vps.ip.address:*>
ServerName domain1.com
ServerAlias www.domain1.com
DocumentRoot /home/user1/domain1.com
</VirtualHost>