hello,
i have done the following:
set up apache 2 server correctly.
added virtual hosts and tested them (they work!!)
added vsftp so i could upload my pages (working great)
then i simply ran through and tested everything one last time and went to bed for the night. the problem is, when i woke up this morning, both mysite1 and mysite2 URLs default to mysite1 page.
how could this change on its own over night. and what could have changed. i checked my httpd.conf file with the back up i made after i had all working and they match perfectly.
here is a look at my httpd.conf. hope someone can help me out with this confusing problem.
### Section 3: Virtual Hosts
NameVirtualHost *:80
<VirtualHost *:80>
ServerName
www.mysite1.com
ServerAlias mysite1.com *.mysite1.com
DocumentRoot /var/www/mysite1
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/var/www/mysite1">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
DirectoryIndex index.html
</VirtualHost>
<VirtualHost *:80>
ServerName
www.mysite2.com
ServerAlias mysite2.com *.mysite2.com
DocumentRoot /var/www/mysite2
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/var/www/mysite2">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
DirectoryIndex index.html
</VirtualHost>