I managed to run one website on my apache2 virtualserver using port 80. now I want to have another site running on the same server, but I can't manage it. either I corrupt my old page or my folder of the new page is displayed. For the new page i use port 81.
Here are my steps :
copied all items to
/data/website2 and made a link to
I put my configuration to /etc/apache2/sites-available/website2
<VirtualHost *:81> ServerAdmin email@example.com DocumentRoot /var/www/website2 <Directory /var/www/website2> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
now I enable this page using :
and then reload apache2 :
sudo service apache2 reload
when I now enter the website from local using my ip adress :
192.168.xxx.xx/website2 my www folder is displayed. Did I link something incorrect maybe?
Do I have to configurate my
in my hosts file I have this :
Of course I enabled my port 81 in
Thank you in Advance. If any Information is missing, let me know.