|
Re: Dual sites on home server running apache?
I have mine set up as follows:
Code:
NameVirtualHost *
<VirtualHost *>
ServerName www.mehh.net
DocumentRoot /web
</VirtualHost *>
<VirtualHost *>
ServerName amy.mehh.net
DocumentRoot /home/amy/public_html
</VirtualHost>
Which works just fine for me.
__________________
I'm a professional web developer. I'm good with PHP, Perl, Java/JSP, some RoR, XML, Javascript (AJAX as well), (x)HTML, CSS, etc.. Validated code is good; fully cross-browser code is better (you comply to your users and the software they use, not the other way around. Sorry!)
|