Hello! Im just trying to undrstand what im doin wrong when i try to set up a second server with LAMP.
I already have a working server with LAMP but i didnt set that one up. Now im trying to add aditional machine and im tryin to figure out what else do i have to do so the machine will work as virtual server for my webpage(s).
Like i said, on a new server i already instaled Lamp, forworded ports 80, 22, 442 ....to correct LAN IP, and added an entry under apache2 sites-available like this:
"<VirtualHost *:80>
ServerName test.com
ServerAlias www.test.com
ServerAdmin info@test.com
DocumentRoot /media/BigBoy/www/test
ErrorLog ${APACHE_LOG_DIR}/test_error.log
CustomLog ${APACHE_LOG_DIR}/test_access.log combined
</VirtualHost>
"
Than i connected a new domain to my main IP but it automaticly connects to the old server that is already running in my home network. So the question is what do i have to do, for my new server to run the webpages i want to? Do i have to add a specific command on old server or something else i forgot? Please help.