This worked for me. I have the domain names registered in godaddy. I had to go into godaddy "DNS Zone File" and "point" the domain names to my external IP address. Don't use "settings" "forwarding"
NameVirtualHost *:80 # ********************Begin First Web Page *********************************** <VirtualHost *:80> DocumentRoot "C:/Server/Apache2.2/www/Site1/htdocs" Servername Site1.com ServerAlias www.site1.com ErrorLog "logs/site1.localhost-error.log" CustomLog "logs/site1.localhost-access.log" common <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory> # <Directory "C:/Server/Apache2.2/www/site1/htdocs"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> # ******************End First Web Page *********************************** # # # # #****************Begin Second Web Page **************************** <VirtualHost *:80> DocumentRoot "C:/Server/Apache2.2/www/Site2/htdocs" ServerName site2.us ServerAlias www.site2.us ErrorLog "logs/site2.localhost-error.log" CustomLog "logs/site2.localhost-access.log" common # <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory> # <Directory "C:/Server/Apache2.2/www/site2/htdocs"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> # ********************End Second Web Page ********************************** # On Saturday, April 19, 2014 6:51 AM, Eric Covener <cove...@gmail.com> wrote: On Sat, Apr 19, 2014 at 9:32 AM, Michael Peters <michael.pet...@lazarusalliance.com> wrote: > IS it ok to have directory statements like this and virtualhost together? > > <Directory "/www/html/site_1"> > Options Indexes FollowSymLinks > AllowOverride None > Order allow,deny > Allow from all > </Directory> Yes. They're independent. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org